/* TuitionSite — sales landing */
:root {
  --navy: #0b1f33;
  --navy-mid: #12304a;
  --teal: #0d9488;
  --teal-deep: #0f766e;
  --teal-soft: #ccfbf1;
  --teal-mist: #f0fdfa;
  --sand: #f7faf9;
  --ink: #142033;
  --muted: #5b6b7c;
  --line: #d7e3e0;
  --white: #ffffff;
  --amber: #c2410c;
  --amber-bg: #fff7ed;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(11, 31, 51, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --max: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(13, 148, 136, 0.16), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(18, 48, 74, 0.1), transparent 50%),
    linear-gradient(180deg, #eef7f5 0%, var(--sand) 28%, #f4f8f7 100%);
  line-height: 1.55;
  padding-bottom: 5.5rem;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: white;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(238, 247, 245, 0.86);
  border-bottom: 1px solid rgba(215, 227, 224, 0.8);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 14rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
}

.lang-toggle button {
  border: 0;
  background: transparent;
  padding: 0.35rem 0.65rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}

.lang-toggle button[aria-pressed="true"] {
  background: var(--navy);
  color: white;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.7rem 1.15rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--teal);
  color: white;
  box-shadow: 0 10px 24px rgba(13, 148, 136, 0.28);
}

.btn-primary:hover {
  background: var(--teal-deep);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(11, 31, 51, 0.18);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.5);
}

.btn-nav {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

.btn-wa::before {
  content: "";
  width: 1rem;
  height: 1rem;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12.04 2c-5.46 0-9.91 4.45-9.91 9.91 0 1.75.46 3.45 1.32 4.95L2.05 22l5.25-1.38c1.45.79 3.08 1.21 4.74 1.21 5.46 0 9.91-4.45 9.91-9.91 0-2.65-1.03-5.14-2.9-7.01A9.82 9.82 0 0 0 12.04 2zm0 1.8c2.17 0 4.2.84 5.74 2.38a8.08 8.08 0 0 1 2.37 5.73c0 4.47-3.64 8.11-8.11 8.11-1.42 0-2.8-.37-4.02-1.06l-.29-.17-3.12.82.83-3.04-.19-.31a8.08 8.08 0 0 1-1.23-4.35c0-4.47 3.64-8.11 8.12-8.11zm4.55 10.34c-.25-.12-1.47-.72-1.7-.81-.23-.08-.39-.12-.56.12-.17.25-.64.8-.79.97-.14.17-.29.19-.54.06-.25-.12-1.05-.39-2-1.23-.74-.66-1.24-1.47-1.39-1.72-.14-.25-.02-.38.11-.51.11-.11.25-.29.37-.43.12-.14.17-.25.25-.41.08-.17.04-.31-.02-.43-.06-.12-.56-1.34-.76-1.84-.2-.48-.4-.42-.56-.42h-.48c-.17 0-.43.06-.66.31-.23.25-.87.85-.87 2.07 0 1.22.89 2.4 1.01 2.56.12.17 1.75 2.67 4.23 3.74 2.49 1.07 2.49.71 2.94.67.45-.04 1.47-.6 1.67-1.18.21-.58.21-1.07.14-1.18-.06-.11-.23-.17-.48-.29z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

/* Hero */
.hero {
  padding: 2.4rem 0 1.5rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--navy);
  margin: 0 0 0.35rem;
  line-height: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--teal-deep);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(1.55rem, 4.2vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 6vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 0 0 1rem;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 0 1.4rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

.hero-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 280px;
  background:
    linear-gradient(145deg, rgba(11, 31, 51, 0.92), rgba(13, 148, 136, 0.75)),
    repeating-linear-gradient(
      -28deg,
      transparent,
      transparent 12px,
      rgba(255, 255, 255, 0.03) 12px,
      rgba(255, 255, 255, 0.03) 24px
    );
  box-shadow: var(--shadow);
  color: white;
  padding: 1.5rem;
  display: grid;
  align-content: end;
  gap: 0.75rem;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: auto -20% 35% 35%;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 70%);
  pointer-events: none;
}

.hero-visual .mock-bar {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.35rem;
}

.hero-visual .mock-bar span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.hero-visual h2 {
  position: relative;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.15;
  max-width: 14ch;
}

.hero-visual p {
  position: relative;
  margin: 0;
  opacity: 0.9;
  font-size: 0.95rem;
  max-width: 28ch;
}

.hero-visual .pill-row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.pill {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Sections */
section {
  padding: 3.2rem 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 1.75rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.25rem);
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 0.65rem;
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.problem-grid,
.steps,
.include-grid,
.faq-list {
  display: grid;
  gap: 1rem;
}

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

.problem-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
}

.problem-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.problem-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.problem-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--teal-mist);
  color: var(--teal-deep);
  margin-bottom: 0.85rem;
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.35rem 4.4rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1.2rem;
  top: 1.3rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
  color: var(--navy);
}

.step p {
  margin: 0;
  color: var(--muted);
}

/* Promo */
.promo {
  margin: 0.5rem 0 1.5rem;
  background: linear-gradient(100deg, var(--amber-bg), #ffedd5);
  border: 1px solid #fdba74;
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.promo.speed-banner {
  background: linear-gradient(100deg, var(--teal-mist), #e0f2fe);
  border-color: #5eead4;
}

.promo.speed-banner strong {
  color: var(--teal-deep);
}

.promo.speed-banner p {
  color: var(--navy-mid);
}

.promo strong {
  color: var(--amber);
  font-size: 1.02rem;
}

.promo p {
  margin: 0.2rem 0 0;
  color: #9a3412;
  font-size: 0.92rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 1rem;
}

.pricing-single {
  max-width: 34rem;
  margin-inline: auto;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
}

.price-card.popular {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal), var(--shadow);
  background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 35%);
}

.badge {
  position: absolute;
  top: -0.7rem;
  right: 1rem;
  background: var(--teal);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
}

.price-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy);
}

.price-card .best-for {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.price-breakdown {
  display: grid;
  gap: 0.55rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.price-row strong {
  color: var(--navy);
  font-size: 1.05rem;
  text-align: right;
}

.price-row.today {
  align-items: center;
  padding: 0.75rem 0.85rem;
  margin: 0 -0.15rem 0.15rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #ccfbf1 0%, #e0f2fe 100%);
  border: 1px solid #5eead4;
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
}

.price-row.today strong {
  color: var(--teal-deep);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.price-row.sub {
  font-size: 0.9rem;
  padding-left: 0.35rem;
}

.price-row.sub strong {
  font-size: 0.98rem;
  font-weight: 700;
}

.price-today-note {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

.price-row.total {
  margin-top: 0.25rem;
  padding-top: 0.55rem;
  border-top: 1px dashed var(--line);
  color: var(--navy);
  font-weight: 700;
}

.price-row.total strong {
  color: var(--teal-deep);
  font-size: 1.15rem;
}

.price-amount {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.price-amount .setup {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.price-amount .monthly {
  color: var(--teal-deep);
  font-weight: 700;
}

.price-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  flex: 1;
}

.price-card li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ink);
  font-size: 0.95rem;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--teal);
}

.price-card .btn {
  width: 100%;
  margin-top: 0.35rem;
}

/* Include */
.include-grid {
  grid-template-columns: 1fr;
  max-width: 40rem;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.panel h3 {
  margin: 0 0 0.9rem;
  font-size: 1.15rem;
  color: var(--navy);
}

.panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.panel li {
  padding-left: 1.4rem;
  position: relative;
  color: var(--muted);
}

.panel.include li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal-deep);
  font-weight: 800;
}

/* FAQ */
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 1.2rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--teal);
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item .answer {
  padding: 0 1.2rem 1.15rem;
  color: var(--muted);
  margin: 0;
}

/* Final CTA */
.final-cta {
  background: linear-gradient(135deg, var(--navy) 0%, #16435f 55%, #0f766e 120%);
  color: white;
  border-radius: 22px;
  padding: 2rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  margin: 0 0 0.6rem;
  letter-spacing: -0.02em;
}

.final-cta p {
  margin: 0 auto 1.25rem;
  max-width: 34rem;
  opacity: 0.9;
}

.final-cta .hero-ctas {
  justify-content: center;
  margin-bottom: 0;
}

.final-cta .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.28);
}

.final-cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 1.5rem;
  border-top: 1px solid var(--line);
  margin-top: 1rem;
}

.footer-grid {
  display: grid;
  gap: 1.25rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.35rem;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-meta {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}

/* Sticky WA bar */
.sticky-wa {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(11, 31, 51, 0.94);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sticky-wa .btn {
  flex: 1;
  max-width: 22rem;
}

.sticky-wa .btn-secondary {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.28);
  max-width: 10rem;
  flex: 0 1 auto;
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .hero-grid > *,
  .problem-card,
  .step,
  .price-card,
  .panel,
  .promo {
    animation: rise 0.7s ease both;
  }

  .hero-grid > *:nth-child(2),
  .problem-card:nth-child(2),
  .step:nth-child(2),
  .price-card:nth-child(2) {
    animation-delay: 0.08s;
  }

  .problem-card:nth-child(3),
  .step:nth-child(3),
  .price-card:nth-child(3) {
    animation-delay: 0.16s;
  }

  .hero-visual {
    animation: floatSoft 7s ease-in-out infinite;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* Desktop */
@media (min-width: 720px) {
  .brand-sub {
    max-width: none;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
  }

  .problem-grid,
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }

  .pricing-single {
    grid-template-columns: 1fr;
    max-width: 36rem;
  }

  .include-grid {
    grid-template-columns: 1fr;
    max-width: 40rem;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }

  body {
    padding-bottom: 0;
  }

  .sticky-wa {
    left: auto;
    right: 1.25rem;
    bottom: 1.25rem;
    width: auto;
    background: transparent;
    backdrop-filter: none;
    border: 0;
    padding: 0;
    justify-content: flex-end;
  }

  .sticky-wa .btn-secondary {
    display: none;
  }

  .sticky-wa .btn-primary {
    max-width: none;
    box-shadow: 0 14px 30px rgba(13, 148, 136, 0.35);
  }
}

@media (min-width: 980px) {
  .nav-links {
    display: flex;
    gap: 1.1rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--muted);
  }

  .nav-links a:hover {
    color: var(--navy);
  }
}

.nav-links {
  display: none;
}
