/* Digital Code Camp — Landing page styles */

:root {
  --blue: #2E5BFF;
  --blue-deep: #1A3FCC;
  --purple: #7B5CFF;
  --purple-deep: #5A3FCC;
  --orange: #FF8A3D;
  --orange-deep: #E56A1F;
  --mint: #34E89E;
  --mint-deep: #1FB37A;
  --yellow: #FFD23F;
  --pink: #FF6B9D;
  --ink: #0B0B1A;
  --ink-2: #1F1F33;
  --muted: #5A5A78;
  --paper: #FAFAFF;
  --sky: #E8EEFF;
  --lilac: #F0EBFF;
  --peach: #FFEDDC;
  --mint-soft: #D9F8EB;
  --line: #E4E4F2;
  --shadow-ink: 0 6px 0 0 var(--ink);
  --shadow-ink-sm: 0 4px 0 0 var(--ink);
  --shadow-soft: 0 12px 32px -12px rgba(11, 11, 26, 0.18);
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body { overflow-x: hidden; }

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

.display { font-family: 'Space Grotesk', system-ui, sans-serif; letter-spacing: -0.02em; line-height: 1.02; font-weight: 700; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; letter-spacing: 0; }

.container {
  width: min(1240px, 100% - 48px);
  margin-inline: auto;
}

/* === NAV === */
.nav {
  position: sticky;
  top: 16px;
  z-index: 50;
  margin-top: 16px;
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px 10px 18px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--shadow-ink-sm);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 16px;
  position: relative;
  overflow: hidden;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg, var(--blue), var(--purple), var(--orange), var(--mint), var(--blue));
  opacity: 0.0;
  transition: opacity 200ms;
}
.brand:hover .brand-mark::after { opacity: 0.5; }
.brand-mark span { position: relative; z-index: 1; }
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: 8px;
  flex: 1;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--ink-2);
  transition: background 150ms, color 150ms;
}
.nav-links a:hover { background: var(--sky); color: var(--blue-deep); }
.nav-cta {
  display: flex;
  gap: 8px;
}
@media (max-width: 880px) {
  .nav-links { display: none; }
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  font-weight: 600;
  font-size: 15px;
  font-family: inherit;
  background: white;
  color: var(--ink);
  box-shadow: var(--shadow-ink-sm);
  transition: transform 140ms ease, box-shadow 140ms ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translate(-1px, -2px); box-shadow: 0 6px 0 0 var(--ink); }
.btn:active { transform: translate(0, 2px); box-shadow: 0 2px 0 0 var(--ink); }
.btn-primary { background: var(--ink); color: white; }
.btn-blue { background: var(--blue); color: white; }
.btn-orange { background: var(--orange); color: var(--ink); }
.btn-ghost { box-shadow: none; background: transparent; border-color: transparent; }
.btn-ghost:hover { box-shadow: none; transform: none; background: var(--sky); }
.btn .arrow { transition: transform 200ms; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-sm { padding: 8px 14px; font-size: 13px; }

/* === BADGE === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  background: white;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-ink-sm);
}
.badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(52, 232, 158, 0.25);
  animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(52, 232, 158, 0.25); }
  50% { box-shadow: 0 0 0 7px rgba(52, 232, 158, 0.1); }
}

/* === SECTIONS === */
section { padding: 96px 0; position: relative; }
@media (max-width: 720px) { section { padding: 64px 0; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1.5px;
  background: var(--ink);
}

h1.display { font-size: clamp(40px, 6vw, 76px); }
h2.display { font-size: clamp(32px, 4.6vw, 56px); }
h3.display { font-size: clamp(22px, 2.4vw, 30px); }

.lede {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-2);
  max-width: 60ch;
  text-wrap: pretty;
}

/* === HERO === */
.hero {
  padding-top: 56px;
  padding-bottom: 64px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}
.hero h1 .word {
  display: inline-block;
  position: relative;
}
.hero h1 .accent-blue { color: var(--blue); }
.hero h1 .accent-purple { color: var(--purple); }
.hero h1 .accent-orange { color: var(--orange); }
.hero h1 .underline {
  position: relative;
  white-space: nowrap;
}
.hero h1 .underline::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%;
  bottom: -2px;
  height: 14px;
  background: var(--yellow);
  z-index: -1;
  border-radius: 4px;
  transform: rotate(-1deg);
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.avatars {
  display: flex;
}
.avatars > div {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid white;
  margin-right: -10px;
  background: var(--sky);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.stars { color: var(--orange); letter-spacing: 2px; font-size: 14px; }
.trust-text { font-size: 13px; color: var(--muted); line-height: 1.3; }
.trust-text strong { color: var(--ink); display: block; font-weight: 700; }

/* hero stage */
.hero-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 540px;
  margin-inline: auto;
  width: 100%;
}
.hero-stage-bg {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 30% 30%, rgba(123, 92, 255, 0.18), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(46, 91, 255, 0.18), transparent 55%),
    linear-gradient(135deg, #FFFFFF 0%, #F0F2FF 100%);
  border: 1.5px solid var(--ink);
  box-shadow: var(--shadow-ink);
  overflow: hidden;
}
.hero-stage-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(11, 11, 26, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 11, 26, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
}
.float { animation: float 5s ease-in-out infinite; }
.float-2 { animation: float 6.5s ease-in-out infinite -1.5s; }
.float-3 { animation: float 7.2s ease-in-out infinite -3s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes spin-slow {
  to { transform: rotate(360deg); }
}
.spin { animation: spin-slow 18s linear infinite; transform-origin: center; }
.spin-reverse { animation: spin-slow 22s linear infinite reverse; transform-origin: center; }

@keyframes blink {
  0%, 92%, 100% { transform: scaleY(1); }
  94% { transform: scaleY(0.1); }
}
.eye { transform-origin: center; animation: blink 4s infinite; }

@keyframes antenna-pulse {
  0%, 100% { transform: scale(1); fill: var(--mint); }
  50% { transform: scale(1.4); fill: var(--orange); }
}

@keyframes wave-arm {
  0%, 100% { transform: rotate(-15deg); }
  50% { transform: rotate(15deg); }
}

/* sticker badges around hero robot */
.sticker {
  position: absolute;
  background: white;
  border: 1.5px solid var(--ink);
  border-radius: 16px;
  padding: 10px 14px;
  box-shadow: var(--shadow-ink-sm);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.sticker .icon-square {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: grid; place-items: center;
  color: white;
}

/* === MARQUEE === */
.marquee {
  border-block: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: 14px 0;
  margin-top: 24px;
}
.marquee-track {
  display: flex;
  gap: 40px;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.marquee-track > span { display: inline-flex; align-items: center; gap: 40px; }
.marquee-track .star { color: var(--orange); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* === CAMP SECTION === */
.section-camp {
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 138, 61, 0.10), transparent 40%),
    radial-gradient(circle at 90% 100%, rgba(46, 91, 255, 0.10), transparent 40%),
    linear-gradient(180deg, var(--paper), var(--paper));
}

.section-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 32px;
  margin-bottom: 56px;
}
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; }
}
.section-head h2 { margin: 16px 0 0; }
.section-head .lede { margin: 16px 0 0; }

.camp-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}
@media (max-width: 880px) {
  .camp-grid { grid-template-columns: 1fr; }
}

.camp-card {
  position: relative;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-ink);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 360px;
}
.camp-card-main {
  background: linear-gradient(140deg, var(--orange) 0%, #FFB37A 80%);
  color: var(--ink);
  grid-row: span 2;
  min-height: 540px;
}
.camp-card-online { background: linear-gradient(140deg, var(--blue) 0%, var(--purple) 100%); color: white; }
.camp-card-school { background: linear-gradient(140deg, var(--mint) 0%, #7DEABF 100%); color: var(--ink); }

.camp-card h3 { margin: 0; }
.camp-card .price {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin-top: auto;
}
.camp-card .price .num { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 40px; line-height: 1; letter-spacing: -0.03em; }
.camp-card .price .unit { font-size: 13px; opacity: 0.75; }
.camp-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 10px;
}
.camp-card ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 500;
}
.camp-card ul li::before {
  content: "✓";
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  display: grid; place-items: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.camp-card-online ul li::before { background: rgba(255,255,255,0.25); color: white; }
.camp-card .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(11, 11, 26, 0.85);
  color: white;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.camp-card-online .pill { background: rgba(255, 255, 255, 0.18); }
.camp-card .card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  gap: 12px;
  flex-wrap: wrap;
}
.seat-bar {
  width: 100%;
  height: 8px;
  background: rgba(11, 11, 26, 0.15);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 16px;
}
.seat-bar > div {
  height: 100%;
  background: var(--ink);
  border-radius: 999px;
}
.camp-card-online .seat-bar { background: rgba(255,255,255,0.18); }
.camp-card-online .seat-bar > div { background: white; }
.camp-card .seat-text {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
  margin-top: 8px;
  opacity: 0.85;
}

/* camp activities row */
.camp-activities {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 800px) {
  .camp-activities { grid-template-columns: repeat(2, 1fr); }
}
.activity {
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 20px;
  background: white;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 200ms, box-shadow 200ms;
}
.activity:hover { transform: translate(-2px, -3px); box-shadow: var(--shadow-ink-sm); }
.activity .ic {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  color: white;
}
.activity h4 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: 17px; }
.activity p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* === PROGRAMS === */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .programs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .programs-grid { grid-template-columns: 1fr; } }

.program-card {
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: white;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 200ms, box-shadow 200ms;
  min-height: 240px;
}
.program-card:hover { transform: translate(-3px, -4px); box-shadow: var(--shadow-ink); }
.program-card .hero-glyph {
  position: absolute;
  right: -20px; top: -20px;
  width: 140px; height: 140px;
  opacity: 0.35;
  pointer-events: none;
}
.program-card .ic-lg {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid; place-items: center;
  color: white;
}
.program-card h4 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: 22px; }
.program-card p { margin: 0; font-size: 14px; color: var(--muted); }
.program-card .meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.program-card .meta .arrow-circle {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: grid; place-items: center;
  transition: background 150ms, color 150ms;
}
.program-card:hover .arrow-circle { background: var(--ink); color: white; }

/* === HOW IT WORKS === */
.section-how { background: var(--ink); color: var(--paper); border-radius: var(--radius-xl); margin-inline: 24px; }
@media (max-width: 720px) { .section-how { margin-inline: 12px; border-radius: var(--radius); } }
.section-how .eyebrow { color: rgba(250,250,255,0.6); }
.section-how .eyebrow::before { background: rgba(250,250,255,0.6); }
.section-how .lede { color: rgba(250,250,255,0.7); }

.paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 800px) { .paths { grid-template-columns: 1fr; } }
.path {
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0));
}
.path-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px dashed rgba(255,255,255,0.2);
}
.path-head .ic {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  color: var(--ink);
}
.path-head h3 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: 26px; }
.path-head .sub { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 2px; }

.steps {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  align-items: start;
}
.step-num {
  width: 36px; height: 36px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  display: grid; place-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
}
.step-body strong { font-family: 'Space Grotesk', sans-serif; font-size: 16px; display: block; margin-bottom: 4px; }
.step-body span { font-size: 13.5px; color: rgba(255,255,255,0.6); }

/* === WHY PARENTS === */
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 1000px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .why-grid { grid-template-columns: 1fr; } }
.why-card {
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 24px 20px;
  background: white;
  position: relative;
  overflow: hidden;
}
.why-card:nth-child(1) { background: var(--sky); }
.why-card:nth-child(2) { background: var(--lilac); }
.why-card:nth-child(3) { background: var(--peach); }
.why-card:nth-child(4) { background: var(--mint-soft); }
.why-card:nth-child(5) { background: #FFF6D5; }
.why-card .ic { font-size: 32px; }
.why-card h4 { font-family: 'Space Grotesk', sans-serif; font-size: 17px; margin: 14px 0 6px; }
.why-card p { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.why-card .num {
  position: absolute;
  top: 14px; right: 18px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: rgba(11,11,26,0.35);
}

/* === FOR SCHOOLS === */
.schools-wrap {
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-xl);
  padding: 56px;
  background:
    radial-gradient(circle at 80% 0%, rgba(123, 92, 255, 0.18), transparent 50%),
    linear-gradient(140deg, #F4F0FF 0%, #FAFAFF 60%);
  box-shadow: var(--shadow-ink);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .schools-wrap { grid-template-columns: 1fr; padding: 32px; }
}
.schools-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.schools-list li {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  align-items: flex-start;
}
.schools-list li .ic {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
  font-size: 18px;
}
.schools-list li strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 15.5px; margin-bottom: 2px; }
.schools-list li span { font-size: 13px; color: var(--muted); }

.schools-stats {
  position: relative;
}
.school-tile {
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: white;
  box-shadow: var(--shadow-ink-sm);
}
.school-tile h4 { font-family: 'Space Grotesk', sans-serif; font-size: 14px; margin: 0; color: var(--muted); font-weight: 600; }
.school-tile .big {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 8px 0 0;
}
.school-tile.big-tile { background: linear-gradient(140deg, var(--blue), var(--purple)); color: white; }
.school-tile.big-tile h4 { color: rgba(255,255,255,0.7); }
.school-tile-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }

/* === TESTIMONIALS === */
.testi-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .testi-rail { grid-template-columns: 1fr; } }
.testi {
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: white;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.testi:nth-child(1) { background: var(--peach); }
.testi:nth-child(2) { background: white; }
.testi:nth-child(3) { background: var(--lilac); }
.testi .quote-mark {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 60px;
  line-height: 0.5;
  color: var(--ink);
  height: 24px;
}
.testi p { font-size: 15.5px; line-height: 1.55; margin: 0; color: var(--ink); text-wrap: pretty; }
.testi-foot { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 8px; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--sky);
  display: grid; place-items: center;
  font-weight: 700;
  color: var(--blue-deep);
  border: 1.5px solid var(--ink);
}
.testi-foot strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 15px; }
.testi-foot span { font-size: 12.5px; color: var(--muted); }

/* === FINAL CTA === */
.section-cta { padding-bottom: 32px; }
.cta-wrap {
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--ink);
  background:
    radial-gradient(circle at 0% 0%, rgba(255,138,61,0.25), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(123,92,255,0.25), transparent 40%),
    linear-gradient(140deg, var(--ink) 0%, #1a1a2e 100%);
  color: white;
  padding: 64px;
  box-shadow: var(--shadow-ink);
  position: relative;
  overflow: hidden;
}
@media (max-width: 720px) { .cta-wrap { padding: 36px 28px; } }
.cta-wrap h2 { margin: 0; max-width: 16ch; }
.cta-wrap .lede { color: rgba(255,255,255,0.7); margin-top: 16px; }
.cta-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
}
@media (max-width: 800px) { .cta-options { grid-template-columns: 1fr; } }
.cta-tile {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 200ms, transform 200ms;
}
.cta-tile:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }
.cta-tile .ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
}
.cta-tile strong { font-family: 'Space Grotesk', sans-serif; font-size: 19px; }
.cta-tile span { font-size: 13.5px; color: rgba(255,255,255,0.65); }
.cta-tile .arrow-circle {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  display: grid; place-items: center;
  margin-top: auto;
  align-self: flex-end;
  transition: background 150ms;
}
.cta-tile:hover .arrow-circle { background: white; color: var(--ink); }

.cta-bg-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* === FOOTER === */
.footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--line);
  margin-top: 64px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 800px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-inner { grid-template-columns: 1fr; } }
.footer h5 { font-family: 'Space Grotesk', sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 16px; color: var(--muted); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { font-size: 14px; color: var(--ink-2); }
.footer ul a:hover { color: var(--blue-deep); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 32px; margin-top: 40px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }

/* === MODAL / LEAD FORM === */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(11, 11, 26, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 24px;
  animation: overlay-in 200ms ease;
}
@keyframes overlay-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal {
  background: white;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px -12px rgba(11, 11, 26, 0.45);
  width: min(560px, 100%);
  max-height: 90dvh;
  overflow-y: auto;
  position: relative;
  animation: modal-in 240ms cubic-bezier(0.34, 1.36, 0.64, 1);
}
@keyframes modal-in {
  from { opacity: 0; transform: scale(0.94) translateY(16px); }
  to   { opacity: 1; transform: scale(1)    translateY(0);    }
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: white;
  display: grid; place-items: center;
  color: var(--muted);
  cursor: pointer;
  transition: background 150ms, color 150ms, border-color 150ms;
  z-index: 1;
}
.modal-close:hover { background: var(--ink); color: white; border-color: var(--ink); }

.modal-form { padding: 36px; }

.modal-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
  padding-right: 32px;
}
.modal-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  color: white;
  flex-shrink: 0;
}
.modal-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.modal-sub {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
@media (max-width: 500px) { .form-grid { grid-template-columns: 1fr; } }

.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  font-family: 'Space Grotesk', sans-serif;
}
.form-req { color: var(--orange); }

.form-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 150ms, box-shadow 150ms, background 150ms;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}
.form-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(46, 91, 255, 0.12);
  background: white;
}
.form-input::placeholder { color: var(--muted); }

select.form-input {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%235A5A78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 38px;
}

.form-source {
  font-size: 13px;
  color: var(--muted);
  padding: 10px 14px;
  background: var(--sky);
  border-radius: 10px;
  margin-bottom: 20px;
}
.form-source strong { color: var(--ink); }

.form-submit {
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
  font-size: 16px;
}
.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: var(--shadow-ink-sm) !important;
}

.form-privacy {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin: 12px 0 0;
}

.modal-success {
  padding: 56px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.success-check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--mint-soft);
  border: 2px solid var(--mint-deep);
  display: grid; place-items: center;
  font-size: 26px;
  color: var(--mint-deep);
  margin-bottom: 20px;
  font-weight: 700;
}

/* === reveal on scroll === */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* circuit deco */
.circuit-line {
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: trace 4s ease-in-out infinite;
}
@keyframes trace {
  0%   { stroke-dashoffset: 240; }
  50%  { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -240; }
}

/* === FAB whatsapp === */
.fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 12px;
  border-radius: 999px;
  background: #25D366;
  color: white;
  border: 1.5px solid var(--ink);
  box-shadow: var(--shadow-ink-sm);
  font-weight: 600;
  font-size: 14px;
  transition: transform 140ms, box-shadow 140ms;
}
.fab:hover { transform: translateY(-2px); box-shadow: var(--shadow-ink); }
.fab .ic {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: white;
  color: #25D366;
  display: grid; place-items: center;
  font-weight: 700;
}
