/* ============================================================
   DYINGLIGHT — Homepage Stylesheet
   Light theme — near-white/cream body, dark text, cyan accent
   ============================================================ */

:root {
  --bg: #F5FAFC;
  --bg-soft: #ECF6F9;
  --surface: #FFFFFF;
  --text: #14202A;
  --text-soft: #33485B;
  --muted: #5A6E7E;
  --cyan: #06B6D4;
  --cyan-dark: #0E7490;
  --cyan-deep: #155E75;
  --aqua: #CFFAFE;
  --aqua-mid: #67E8F9;
  --line: #D9E8EE;
  --line-soft: #E4EFF4;
  --shadow: 0 18px 40px -22px rgba(6, 182, 212, 0.35);
  --radius: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--cyan-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--cyan-deep);
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background-color: var(--cyan);
  color: #FFFFFF;
  border-color: var(--cyan);
}

.btn-primary:hover {
  background-color: var(--cyan-dark);
  border-color: var(--cyan-dark);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-ghost {
  background-color: transparent;
  color: var(--cyan-deep);
  border-color: var(--cyan);
}

.btn-ghost:hover {
  background-color: var(--aqua);
  border-color: var(--cyan-dark);
  color: var(--cyan-deep);
  transform: translateY(-2px);
}

/* ---------- Navigation (centered wordmark, side links) ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px -18px rgba(6, 182, 212, 0.5);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-left,
.nav-right {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav-left {
  justify-content: flex-end;
}

.nav-right {
  justify-content: flex-start;
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-soft);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--cyan);
  transition: width 0.25s ease;
}

.nav-link:hover {
  color: var(--cyan-deep);
}

.nav-link:hover::after {
  width: 100%;
}

.wordmark {
  flex: 0 0 auto;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text);
  white-space: nowrap;
}

.wordmark span {
  color: var(--cyan-dark);
}

.nav-cta {
  flex: 0 0 auto;
  background-color: var(--cyan);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 9px;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background-color: var(--cyan-dark);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  background: none;
  border: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text);
  margin: 5px auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero with visual backdrop ---------- */
.hero {
  position: relative;
  padding: 110px 0 130px;
  text-align: center;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle, rgba(103, 232, 249, 0.55) 1.5px, transparent 1.6px),
    linear-gradient(160deg, transparent 46%, rgba(207, 250, 254, 0.55) 46.2%, rgba(207, 250, 254, 0.55) 47%, transparent 47.2%),
    linear-gradient(200deg, transparent 48%, rgba(207, 250, 254, 0.55) 48.2%, rgba(207, 250, 254, 0.55) 49%, transparent 49.2%);
  background-size: 34px 34px, 90px 90px, 120px 120px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan-deep);
  background-color: var(--aqua);
  border: 1px solid var(--aqua-mid);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.hero-title {
  font-size: 52px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 26px;
}

.hero-title em {
  font-style: normal;
  color: var(--cyan-dark);
}

.hero-sub {
  font-size: 19px;
  line-height: 1.75;
  color: var(--text-soft);
  max-width: 660px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Statement section ---------- */
.statement-section {
  background-color: var(--bg-soft);
  padding: 96px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.statement-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.statement-kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan-deep);
  margin-bottom: 18px;
}

.statement-text {
  font-size: 34px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}

.statement-text mark {
  background-color: transparent;
  color: var(--cyan-dark);
}

.statement-body {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-soft);
  max-width: 720px;
  margin: 0 auto 40px;
}

.statement-facts {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.fact {
  text-align: center;
}

.fact-number {
  display: block;
  font-size: 40px;
  font-weight: 800;
  color: var(--cyan-dark);
  line-height: 1;
}

.fact-label {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
  letter-spacing: 0.5px;
}

/* ---------- Section heading ---------- */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-head .eyebrow {
  margin-bottom: 16px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 17px;
  color: var(--text-soft);
  line-height: 1.75;
}

/* ---------- Process section (numbered) ---------- */
.process-section {
  background-color: var(--bg);
  padding: 100px 0;
}

.process-list {
  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}

.process-list::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 4%;
  right: 4%;
  height: 2px;
  background-color: var(--aqua-mid);
}

.process-step {
  position: relative;
  z-index: 1;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: 0 12px 30px -24px rgba(6, 182, 212, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--cyan);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.process-step h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.process-step p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- Zigzag block section ---------- */
.zigzag-section {
  background-color: var(--bg-soft);
  padding: 100px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.zigzag-block {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}

.zigzag-block::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 2px dashed var(--aqua-mid);
}

.zigzag-row {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-bottom: 56px;
}

.zigzag-row:last-child {
  margin-bottom: 0;
}

.zigzag-row.reverse {
  flex-direction: row-reverse;
}

.zigzag-text {
  flex: 1 1 55%;
}

.zigzag-text h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
}

.zigzag-text .zigzag-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cyan-deep);
  background-color: var(--aqua);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.zigzag-text p {
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 16px;
}

.zigzag-text ul {
  list-style: none;
}

.zigzag-text ul li {
  font-size: 15px;
  color: var(--text-soft);
  padding-left: 22px;
  position: relative;
  margin-bottom: 8px;
}

.zigzag-text ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--cyan);
}

.zigzag-panel {
  flex: 1 1 45%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel-card {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 1;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 46px -30px rgba(6, 182, 212, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Abstract composition: light bars */
.comp-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 60%;
}

.comp-bars i {
  display: block;
  height: 14px;
  border-radius: 7px;
  background-color: var(--cyan);
}

.comp-bars i:nth-child(1) { width: 100%; background-color: var(--cyan-dark); }
.comp-bars i:nth-child(2) { width: 78%; background-color: var(--cyan); }
.comp-bars i:nth-child(3) { width: 55%; background-color: var(--aqua-mid); }
.comp-bars i:nth-child(4) { width: 90%; background-color: var(--cyan); }

/* Abstract composition: circle with a dot */
.comp-orbit {
  position: relative;
  width: 64%;
  aspect-ratio: 1 / 1;
  border: 4px solid var(--cyan);
  border-radius: 50%;
}

.comp-orbit::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26%;
  aspect-ratio: 1 / 1;
  background-color: var(--cyan-dark);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.comp-orbit::after {
  content: "";
  position: absolute;
  top: 12%;
  right: 8%;
  width: 12%;
  aspect-ratio: 1 / 1;
  background-color: var(--aqua-mid);
  border-radius: 50%;
}

/* Abstract composition: diagonal stripes */
.comp-stripes {
  width: 60%;
  height: 60%;
  background-image: repeating-linear-gradient(
    -45deg,
    var(--cyan) 0,
    var(--cyan) 10px,
    var(--aqua) 10px,
    var(--aqua) 20px,
    var(--cyan-dark) 20px,
    var(--cyan-dark) 30px
  );
  border-radius: 12px;
}

/* ---------- Quotes section ---------- */
.quotes-section {
  background-color: var(--bg);
  padding: 100px 0;
}

.quote-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.quote-item {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--cyan);
  border-radius: 12px;
  padding: 28px 26px;
}

.quote-item p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-soft);
  margin-bottom: 18px;
}

.quote-item cite {
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
  color: var(--cyan-deep);
  display: block;
}

.quote-item .quote-role {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
}

/* ---------- Split CTA band ---------- */
.cta-section {
  background-color: var(--bg-soft);
  padding: 100px 0;
  border-top: 1px solid var(--line-soft);
}

.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 56px;
  box-shadow: 0 26px 60px -40px rgba(6, 182, 212, 0.7);
}

.cta-copy h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 18px;
}

.cta-copy p {
  font-size: 17px;
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 18px;
}

.cta-contact {
  list-style: none;
  margin-top: 8px;
}

.cta-contact li {
  font-size: 16px;
  color: var(--text-soft);
  margin-bottom: 8px;
  padding-left: 26px;
  position: relative;
}

.cta-contact li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--cyan);
}

.cta-contact a {
  font-weight: 600;
}

/* Contact form */
.contact-form {
  background-color: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-soft);
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--text);
  background-color: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 9px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--aqua);
}

.form-field textarea {
  resize: vertical;
  min-height: 110px;
}

.form-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}

.form-success {
  display: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--cyan-deep);
  background-color: var(--aqua);
  border: 1px solid var(--aqua-mid);
  border-radius: 9px;
  padding: 12px 16px;
  margin-bottom: 16px;
}

.form-success.show {
  display: block;
}

/* ---------- Footer (multi-column) ---------- */
.site-footer {
  background-color: #FFFFFF;
  border-top: 3px solid var(--cyan);
  padding: 64px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
}

.footer-col h3 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 18px;
}

.footer-col p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 15px;
  color: var(--text-soft);
}

.footer-col ul li a:hover {
  color: var(--cyan-dark);
}

.footer-contact li {
  font-size: 15px;
  color: var(--text-soft);
  margin-bottom: 10px;
}

.footer-contact a {
  color: var(--cyan-dark);
  font-weight: 600;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Scroll reveal ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .process-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .process-list::before {
    display: none;
  }

  .quote-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cta-split {
    grid-template-columns: 1fr;
    padding: 40px 28px;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 14px 24px;
  }

  .nav-left,
  .nav-right {
    display: none;
  }

  .wordmark {
    margin-right: auto;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .site-nav.nav-open .nav-inner {
    flex-wrap: wrap;
  }

  .site-nav.nav-open .nav-left,
  .site-nav.nav-open .nav-right {
    display: flex;
    flex: 1 1 100%;
    justify-content: flex-start;
    gap: 18px;
    padding: 12px 0;
    flex-wrap: wrap;
  }

  .site-nav.nav-open .nav-right {
    border-top: 1px solid var(--line-soft);
    padding-top: 16px;
  }

  .site-nav.nav-open .nav-cta {
    display: inline-flex;
    flex: 0 0 auto;
    margin: 6px 0 10px;
  }

  .hero {
    padding: 80px 0 96px;
  }

  .hero-title {
    font-size: 38px;
  }

  .zigzag-row,
  .zigzag-row.reverse {
    flex-direction: column;
    gap: 28px;
  }

  .zigzag-block::before {
    display: none;
  }

  .zigzag-panel {
    order: -1;
  }

  .statement-text {
    font-size: 26px;
  }
}

@media (max-width: 560px) {
  .hero-title {
    font-size: 30px;
  }

  .hero-sub {
    font-size: 17px;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .statement-facts {
    gap: 28px;
  }

  .section-title {
    font-size: 28px;
  }
}
