/* ═══════════════════════════════════════════════════════════════════════
   SurfNow website — ocean-themed landing page
   Single-file CSS, no build step. Mobile-first.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Design tokens ──────────────────────────────────────────────────── */
:root {
  --ocean:        #1A8FBF;
  --ocean-deep:   #006994;
  --ocean-dark:   #00557A;
  --navy:         #003D5B;
  --navy-deep:    #0D2D3F;
  --teal:         #14B8A6;
  --foam:         #E3F2F8;
  --foam-deep:    #C7E3EF;
  --sand:         #F2F7FA;   /* "between sections" tint */
  --white:        #FFFFFF;
  --bg:           #F8FAFB;
  --text:         #0F172A;
  --text-muted:   #5C6B7A;
  --border:       #DCE7EE;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow:    0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 30px 80px rgba(0, 105, 148, 0.28);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

/* ── Reset / base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: 0.95rem; font-weight: 700; }
p, ul, li { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.18s; }
a:hover { color: var(--ocean); }

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

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ocean);
  margin-bottom: 16px;
}
.eyebrow-muted { color: var(--text-muted); }
.eyebrow-light { color: rgba(255, 255, 255, 0.85); }

.grad-text {
  background: linear-gradient(90deg, var(--ocean) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ── Navbar ────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s;
}
.nav.nav--scrolled {
  box-shadow: 0 4px 32px rgba(0, 61, 91, 0.10);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1;
}
.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: block;
  box-shadow: 0 2px 8px rgba(0, 61, 91, 0.18);
}
.brand-logo-footer {
  width: 56px;
  height: 56px;
  border-radius: 13px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.30);
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links > a {
  position: relative;
  padding: 6px 11px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav-links > a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--ocean);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform 0.18s ease;
}
.nav-links > a:hover {
  color: var(--navy);
  background: var(--foam);
}
.nav-links > a:hover::after {
  transform: scaleX(1);
}

/* CTA group — right side of nav */
.nav-ctas {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
  padding-left: 18px;
  border-left: 1px solid var(--border);
}

/* CTA buttons */
.nav-btn {
  display: inline-flex;
  align-items: center;
  padding: 7px 15px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1;
  transition: all 0.18s;
}
.nav-btn-ghost {
  color: var(--navy);
  border: 1.5px solid var(--border);
  background: transparent;
}
.nav-btn-ghost:hover {
  color: var(--ocean);
  border-color: var(--ocean);
  background: var(--foam);
}
.nav-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--ocean) 0%, var(--teal) 100%);
  border: 1.5px solid transparent;
  box-shadow: 0 2px 10px rgba(26, 143, 191, 0.28);
}
.nav-btn-primary:hover {
  color: #fff;
  filter: brightness(1.08);
  box-shadow: 0 4px 18px rgba(26, 143, 191, 0.40);
  transform: translateY(-1px);
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 36px;
  height: 36px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 8px;
  transition: background 0.15s;
}
.nav-toggle:hover { background: var(--foam); }
.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--text);
  border-radius: 2px;
}

/* Mobile dropdown */
.nav-mobile {
  display: none;
  padding: 8px 16px 20px;
  border-top: 1px solid var(--border);
  flex-direction: column;
  gap: 2px;
  background: var(--white);
}
.nav-mobile > a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.nav-mobile > a:hover {
  background: var(--foam);
  color: var(--navy);
}
.nav-mobile-ctas {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.nav-mobile-ctas .nav-btn {
  justify-content: center;
  padding: 11px 16px;
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile[data-open="true"] { display: flex; }
}

/* ── Hero — deep ocean gradient with animated waves ────────────────── */
.hero {
  position: relative;
  padding: 100px 0 160px;
  overflow: hidden;
  background:
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 45%, var(--ocean-dark) 100%);
  color: var(--white);
}
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.hero-orb-1 {
  width: 460px; height: 460px;
  background: radial-gradient(circle, var(--ocean) 0%, transparent 70%);
  top: -100px; right: -120px;
}
.hero-orb-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, var(--teal) 0%, transparent 70%);
  bottom: 40px; left: -80px;
  opacity: 0.30;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-copy h1 {
  color: var(--white);
  margin-bottom: 22px;
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 36px;
  max-width: 570px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 0;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, color 0.18s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--ocean) 0%, var(--teal) 100%);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(20, 184, 166, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  color: var(--white);
  box-shadow: 0 14px 36px rgba(20, 184, 166, 0.5);
}
.btn-ghost-light {
  background: rgba(255, 255, 255, 0.10);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.30);
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.20);
  color: var(--white);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  width: fit-content;
}
.trust-item { display: flex; flex-direction: column; }
.trust-item strong {
  color: var(--white);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
/* Variant for items whose headline is a word/phrase instead of a
   number ("iOS · Android" vs "5"). Drops the font enough that the
   strong stays the visual peer of a 1.55-rem digit without breaking
   the trust strip's width on a narrow viewport. */
.trust-item-text strong {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.trust-item span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
}
.trust-divider {
  width: 1px; height: 32px;
  background: rgba(255, 255, 255, 0.20);
}

/* Hero visual — vector phone mockup (SVG) */
.hero-visual {
  display: flex; justify-content: center; align-items: center;
  position: relative;
}
.hero-visual::before {
  content: "";
  position: absolute; inset: -72px -80px;
  background:
    radial-gradient(ellipse at 50% 46%, rgba(26, 143, 191, 0.36), transparent 54%),
    radial-gradient(ellipse at 48% 68%, rgba(0, 61, 91, 0.38), transparent 58%);
  filter: blur(8px);
  z-index: 0;
}
/* The mockup SVG already has a dark gradient phone frame baked in
   (the file itself defines the body shadow, the frame gradient, the
   inner screen clip-path and a glare highlight) so no extra
   border-radius / shadow is needed here — those would just stack on
   top of what's already in the vector and look muddy. */
.hero-mockup {
  position: relative;
  z-index: 1;
  width: 370px;
  max-width: 100%;
  height: auto;
  transition: transform 0.4s ease;
  /* Soft teal glow under the device, separate from the radial-gradient
     ambient above — picks up the brand accent without competing with
     the SVG's own drop shadow. */
  filter:
    drop-shadow(0 34px 58px rgba(0, 61, 91, 0.44))
    drop-shadow(0 18px 38px rgba(2, 15, 24, 0.34));
}
@media (hover: hover) {
  .hero-mockup:hover { transform: translateY(-8px); }
}
@media (max-width: 900px) {
  .hero { padding: 64px 0 140px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .cta-row, .hero-trust { justify-content: center; margin-left: auto; margin-right: auto; }
  .hero-mockup { width: 280px; }
}

/* ── Animated waves at the bottom of the hero ──────────────────────── */
.waves-stack {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 160px;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}
.wave {
  position: absolute;
  bottom: 0; left: 0;
  width: 200%;
  height: 100%;
  display: block;
}
@keyframes wave-flow {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.wave-back  { animation: wave-flow 32s linear infinite; }
.wave-mid   { animation: wave-flow 22s linear infinite; }
.wave-front { animation: wave-flow 16s linear infinite; }

/* Wave divider between sections */
.divider {
  position: relative;
  width: 100%;
  height: 60px;
  line-height: 0;
  margin: 0;
}
.divider svg {
  display: block;
  width: 100%;
  height: 100%;
}
.divider-light-to-mid { background: var(--white); }
.divider-mid-to-light { background: var(--sand); }

/* ── Sections ──────────────────────────────────────────────────────── */
.section { padding: 88px 0; }
.section-light { background: var(--white); }
.section-mid   { background: var(--sand); }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-header h2 { color: var(--navy); }
.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 14px;
}

/* ── How-it-works steps ────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  padding: 34px 30px 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}
.step::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ocean), var(--teal));
  opacity: 0;
  transition: opacity 0.2s;
}
.step:hover {
  transform: translateY(-4px);
  border-color: var(--ocean);
  box-shadow: var(--shadow);
}
.step:hover::before { opacity: 1; }
.step-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.step-top span {
  color: var(--ocean-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.step-num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ocean), var(--teal));
  color: var(--white);
  font-weight: 800;
  font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(20, 184, 166, 0.30);
  flex: 0 0 auto;
}
.step h3 { color: var(--navy); margin-bottom: 8px; }
.step p  { color: var(--text-muted); }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }

/* ── Modalidades grid (5 cards) ────────────────────────────────────── */
.modalidades-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.modalidade {
  padding: 26px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.modalidade:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.mod-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  color: var(--ocean);
}
.mod-icon svg { width: 30px; height: 30px; }
.modalidade-surf       .mod-icon { background: #DBEEF7; color: var(--ocean-deep); }
.modalidade-bodyboard  .mod-icon { background: #FDE8DE; color: #C2410C; }
.modalidade-sup        .mod-icon { background: #D1F2EE; color: #0F766E; }
.modalidade-skate      .mod-icon { background: #ECDFF9; color: #6B21A8; }
.modalidade-adaptado   .mod-icon { background: #FFE8C2; color: #9A3412; }
.modalidade h3 { color: var(--navy); font-size: 1rem; margin-bottom: 6px; }
.modalidade p  { color: var(--text-muted); font-size: 0.85rem; line-height: 1.5; }

@media (max-width: 1000px) { .modalidades-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .modalidades-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Features — 2-hero pair + 6-compact grid ────────────────────────
   Replaces the previous 4×3 grid of 12 equal-weight cards. Hero pair
   carries the differentiators (Descoberta inteligente + Mais que
   aulas) with big icons + bullet lists; the compact grid below picks
   up the remaining table-stakes features so they're not lost but
   also don't compete for attention. */
.hero-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 56px;
}
.hero-feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.hero-feature:hover {
  transform: translateY(-4px);
  border-color: var(--ocean);
  box-shadow: var(--shadow);
}
.hero-feature-visual {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  color: var(--ocean-deep);
  background: linear-gradient(135deg, var(--foam) 0%, var(--foam-deep) 100%);
}
.hero-feature-visual svg { width: 48px; height: 48px; }
/* Second hero gets a complementary teal tint so the two read as a
   pair rather than as two copies of the same card. */
.hero-feature-visual-alt {
  color: #0F766E;
  background: linear-gradient(135deg, #D1F2EE 0%, #B0E5DE 100%);
}
.hero-feature h3 {
  color: var(--navy);
  font-size: 1.5rem;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.hero-feature-sub {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 20px;
}
.hero-feature-bullets {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.hero-feature-bullets li {
  position: relative;
  padding-left: 26px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}
.hero-feature-bullets li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ocean), var(--teal));
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8 L7 11 L12 5' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>"),
    linear-gradient(135deg, #1A8FBF, #14B8A6);
  background-size: contain;
}
.hero-feature-bullets strong { color: var(--text); font-weight: 700; }

/* Compact grid for the 6 supporting features. Smaller chrome,
   single-line layout per item, no hover lift — these are
   "ack/confirm" features rather than feature-tour material. */
.features-compact {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 36px;
}
.features-compact-title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.features-compact-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 32px;
}
.compact-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.compact-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--foam);
  color: var(--ocean-deep);
  display: flex; align-items: center; justify-content: center;
}
.compact-icon svg { width: 18px; height: 18px; }
.compact-feature strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.compact-feature span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (max-width: 920px) {
  .hero-features { grid-template-columns: 1fr; gap: 20px; }
  .features-compact-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 24px; }
}
@media (max-width: 560px) {
  .features-compact { padding: 28px 22px; }
  .features-compact-grid { grid-template-columns: 1fr; }
  .hero-feature { padding: 28px 24px; }
  .hero-feature h3 { font-size: 1.3rem; }
}

/* ── Split sections (For students / For schools / conditions) ──────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.section-split-reverse-inner > *:nth-child(1) { order: 2; }
.section-split-reverse-inner > *:nth-child(2) { order: 1; }
.split-copy .eyebrow-muted { margin-bottom: 10px; }
.split-copy h2 { color: var(--navy); margin-bottom: 18px; }
.split-copy p  { color: var(--text-muted); margin-bottom: 24px; }
.feature-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.feature-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text-muted);
}
.feature-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 3px;
  width: 22px; height: 22px;
  background: linear-gradient(135deg, var(--ocean), var(--teal));
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
}
.feature-list strong { color: var(--text); }

.split-visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.split-visual::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.20), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(255,255,255,0.10), transparent 50%);
}
.split-visual-blue {
  background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-deep) 100%);
}
.split-visual-deep {
  background: linear-gradient(135deg, var(--navy) 0%, var(--ocean-deep) 100%);
}

.school-dashboard {
  position: relative;
  min-height: 430px;
  border-radius: var(--radius-xl);
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(0, 61, 91, 0.98), rgba(0, 105, 148, 0.94)),
    radial-gradient(circle at 80% 20%, rgba(20, 184, 166, 0.35), transparent 42%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.school-dashboard::before {
  content: "";
  position: absolute;
  inset: auto -20% -16% -20%;
  height: 170px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.12)),
    repeating-linear-gradient(
      -8deg,
      rgba(255,255,255,0.14) 0 2px,
      transparent 2px 28px
    );
}
.dashboard-shell {
  position: relative;
  z-index: 1;
  height: 100%;
  background: rgba(248, 250, 251, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}
.dashboard-topbar,
.dashboard-panel-title,
.dashboard-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.dashboard-topbar {
  color: var(--navy);
  margin-bottom: 20px;
}
.dashboard-topbar span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 700;
}
.dashboard-topbar strong {
  font-size: 0.82rem;
  color: var(--ocean-deep);
  background: var(--foam);
  border-radius: 999px;
  padding: 6px 12px;
}
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.dashboard-stats div {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 12px;
}
.dashboard-stats span {
  display: block;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.dashboard-stats strong {
  color: var(--navy);
  font-size: clamp(1.2rem, 2.8vw, 1.7rem);
  line-height: 1;
}
.dashboard-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
}
.dashboard-panel-title {
  margin-bottom: 14px;
}
.dashboard-panel-title strong {
  color: var(--navy);
  font-size: 0.98rem;
}
.dashboard-panel-title span {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
}
.lesson-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}
.lesson-row:first-of-type { border-top: 0; }
.lesson-time {
  background: var(--sand);
  color: var(--ocean-deep);
  border-radius: 10px;
  padding: 7px 8px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
}
.lesson-row strong {
  display: block;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.2;
}
.lesson-row div span {
  color: var(--text-muted);
  font-size: 0.78rem;
}
.dashboard-actions {
  margin-top: 16px;
}
.dashboard-actions span {
  flex: 1;
  text-align: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--ocean), var(--teal));
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 0.84rem;
  font-weight: 800;
}

/* Photo variant — the wrapper already clips with overflow:hidden + the
   rounded corners; the img just needs to fill it with cover crop.
   Disable the brand-gradient ::before / ::after radials inherited from
   .split-visual so the photo isn't washed by a translucent overlay. */
.split-visual-photo { background: var(--navy); }
.split-visual-photo::before,
.split-visual-photo::after { content: none; }
.split-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.visual-waves {
  position: absolute; inset: 0;
}
.visual-waves svg {
  position: absolute; bottom: 0; left: 0; right: 0;
  width: 100%; height: 100%;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split-visual { order: -1; aspect-ratio: 16 / 9; }
  .school-dashboard { min-height: auto; order: -1; }
  .section-split-reverse-inner > *:nth-child(1),
  .section-split-reverse-inner > *:nth-child(2) { order: initial; }
}
@media (max-width: 560px) {
  .school-dashboard { padding: 16px; }
  .dashboard-shell { padding: 16px; border-radius: 18px; }
  .dashboard-stats { grid-template-columns: 1fr; }
  .dashboard-actions { flex-direction: column; }
  .dashboard-actions span { width: 100%; }
}

/* ── Ocean conditions card (right column of conditions split) ──────── */
.conditions-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.cond-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 22px;
}
.cond-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.20);
}
.cond-place {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.98rem;
  flex: 1;
}
.cond-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}
.cond-badge-good {
  background: #DCFCE7;
  color: #166534;
}
.cond-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}
.cond-metric {
  text-align: center;
  padding: 18px 6px;
  background: var(--sand);
  border-radius: var(--radius);
}
.cond-icon {
  width: 28px; height: 28px;
  color: var(--ocean);
  margin: 0 auto 8px;
}
.cond-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.cond-value small {
  font-size: 0.65em;
  color: var(--text-muted);
  font-weight: 600;
  margin-left: 2px;
}
.cond-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}
.cond-hint {
  text-align: center;
  font-size: 0.92rem;
  color: var(--navy);
  font-weight: 600;
  padding-top: 8px;
}

/* ── Payments section ──────────────────────────────────────────────── */
.section-payments {
  background:
    linear-gradient(180deg, var(--sand) 0%, var(--white) 100%);
}
/* Uniform payment-method cards.
   Was a row of inconsistent pills (some white, some dark, one bright
   green, all hand-typed wordmarks + emoji). Replaced with identical
   white cards that each carry a real SVG brand mark in the actual
   brand colours. Grid auto-fits: 7 in a row on desktop, wraps as
   the viewport shrinks. */
.payments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 14px;
  max-width: 1000px;
  margin: 0 auto 32px;
}
.payment-card {
  height: 72px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 22px;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.payment-card:hover {
  transform: translateY(-3px);
  border-color: var(--ocean);
  box-shadow: var(--shadow);
}
.payment-logo,
.payment-logo-img {
  max-width: 100%;
  max-height: 36px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.payments-disclaimer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ── Values section (inclusion + sustainability + community) ───────── */
.section-values { padding: 96px 0; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.value-icon {
  width: 80px; height: 80px;
  border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.value-icon svg { width: 44px; height: 44px; }
/* Inclusion: warm amber tint — different from the cool ocean used
   everywhere else so this card reads as "human / community" rather
   than a feature card. */
.value-icon-inclusion {
  color: #B45309;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
}
/* Eco: leaf-green tint */
.value-icon-eco {
  color: #166534;
  background: linear-gradient(135deg, #DCFCE7 0%, #BBF7D0 100%);
}
.value-icon-community {
  color: var(--ocean-deep);
  background: linear-gradient(135deg, var(--foam) 0%, #BFEAF4 100%);
}
.value-card h3 {
  color: var(--navy);
  font-size: 1.22rem;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.value-card p {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 14px;
}
.value-card p:last-of-type { margin-bottom: 0; }
.value-card strong { color: var(--text); font-weight: 700; }
.value-card em {
  font-style: italic;
  color: var(--text-muted);
}

.value-list {
  list-style: none;
  padding: 0; margin: 16px 0 0;
  display: flex; flex-direction: column;
  gap: 14px;
}
.value-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.55;
}
.value-list li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #166534;
}
.value-list-community li::before {
  background: var(--ocean-deep);
}

.value-fact {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px dashed var(--border);
  margin-top: 24px;
}
.value-fact span {
  font-size: 2rem;
  font-weight: 800;
  color: #B45309;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}
.value-fact small {
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .values-grid { grid-template-columns: 1fr; gap: 20px; }
  .value-card { padding: 36px 28px; }
}

/* ── CTA card with animated wave overlay ───────────────────────────── */
.section-cta { padding: 100px 0; background: var(--white); }
.cta-card {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--ocean-deep) 60%, var(--ocean) 100%);
  border-radius: var(--radius-xl);
  padding: 72px 32px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-card::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(20, 184, 166, 0.25), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08), transparent 50%);
  pointer-events: none;
}
.cta-waves {
  position: absolute; inset: 0;
  opacity: 0.6;
}
.cta-waves svg {
  width: 100%; height: 100%;
}
.cta-content {
  position: relative;
  z-index: 1;
}
.cta-card h2 { color: var(--white); margin-bottom: 16px; }
.cta-card p {
  color: rgba(255,255,255,0.85);
  max-width: 480px;
  margin: 0 auto 36px;
  font-size: 1.08rem;
}
.cta-stores {
  display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
}
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 24px;
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius);
  transition: transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.store-btn:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}
.store-btn div { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.store-btn span { font-size: 0.72rem; opacity: 0.65; font-weight: 500; }
.store-btn strong { font-size: 1.08rem; }
.store-btn-disabled {
  cursor: default;
  opacity: 0.92;
}
.store-btn-disabled:hover {
  transform: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

/* ── Footer ────────────────────────────────────────────────────────── */
.footer {
  background: linear-gradient(180deg, var(--navy-deep) 0%, #06222F 100%);
  color: rgba(255, 255, 255, 0.72);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand p {
  font-size: 0.95rem;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-instagram {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, rgba(26, 143, 191, 0.18), rgba(20, 184, 166, 0.10));
  color: var(--white);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}
.footer-instagram:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}
.instagram-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(135deg, #833AB4 0%, #E1306C 52%, #FCAF45 100%);
}
.instagram-icon svg {
  width: 22px;
  height: 22px;
}
.footer-instagram strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.2;
}
.footer-instagram small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-cols h4 {
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.footer-cols a {
  display: block;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
  padding: 4px 0;
}
.footer-cols a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.40);
}
@media (max-width: 780px) {
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-cols  { grid-template-columns: repeat(2, 1fr); }
}

/* ── Legal page (privacy / terms / support) shared layout ─────────── */
.legal {
  max-width: 760px;
  margin: 56px auto 80px;
  padding: 0 24px;
}
.legal h1 { color: var(--navy); margin-bottom: 6px; }
.legal .updated {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 40px;
}
.legal h2 {
  font-size: 1.4rem;
  margin: 36px 0 12px;
  color: var(--navy);
}
.legal h3 {
  font-size: 1.1rem;
  margin: 22px 0 8px;
  color: var(--text);
}
.legal p, .legal li {
  color: var(--text);
  line-height: 1.7;
}
.legal ul { padding-left: 22px; }
.legal a { color: var(--ocean); text-decoration: underline; }

/* Support page */
.support-page {
  background: var(--white);
}
.support-hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 74px;
  background:
    radial-gradient(circle at 82% 14%, rgba(20, 184, 166, 0.18), transparent 34%),
    radial-gradient(circle at 18% 78%, rgba(26, 143, 191, 0.14), transparent 36%),
    linear-gradient(180deg, var(--white) 0%, var(--sand) 100%);
  border-bottom: 1px solid var(--border);
}
.support-hero-inner { max-width: 820px; }
.support-hero h1 {
  color: var(--navy);
  margin: 14px 0 18px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}
.support-hero p {
  max-width: 680px;
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}
.support-contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 34px;
  padding: 22px 24px;
  max-width: 720px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(26, 143, 191, 0.22);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 50px rgba(0, 105, 148, 0.10);
}
.support-contact-card span {
  display: block;
  margin-bottom: 5px;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.support-contact-card a {
  color: var(--navy);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 800;
  text-decoration: none;
}
.support-contact-card a:hover { color: var(--ocean); }
.support-contact-card p {
  margin: 0;
  max-width: 240px;
  font-size: 0.95rem;
}
.support-content { padding-top: 72px; }
.support-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.support-sidebar {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 8px;
  padding: 12px;
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.support-sidebar a {
  padding: 11px 12px;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 700;
}
.support-sidebar a:hover {
  color: var(--navy);
  background: var(--white);
}
.support-faq {
  display: grid;
  gap: 34px;
}
.support-section { scroll-margin-top: 110px; }
.support-section h2 {
  color: var(--navy);
  font-size: 1.7rem;
  margin-bottom: 16px;
}
.faq-item {
  padding: 24px 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.faq-item + .faq-item { margin-top: 14px; }
.faq-item h3 {
  color: var(--text);
  font-size: 1.08rem;
  margin-bottom: 8px;
}
.faq-item p {
  color: var(--text-muted);
  line-height: 1.72;
}
.faq-item a {
  color: var(--ocean);
  font-weight: 700;
  text-decoration: none;
}
.faq-item a:hover { text-decoration: underline; }
@media (max-width: 860px) {
  .support-hero { padding: 62px 0 54px; }
  .support-contact-card {
    align-items: flex-start;
    flex-direction: column;
  }
  .support-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .support-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .support-sidebar { grid-template-columns: 1fr; }
  .faq-item { padding: 22px 20px; }
}

/* Terms page */
.terms-hero .support-hero-inner {
  max-width: 900px;
}
.terms-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
  max-width: 760px;
}
.terms-summary div {
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(26, 143, 191, 0.20);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.terms-summary span {
  display: block;
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.terms-summary strong,
.terms-summary a {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}
.terms-summary a:hover { color: var(--ocean); }
.legal-section .faq-item {
  display: grid;
  gap: 14px;
}
.legal-section .faq-item p {
  color: var(--text-muted);
}
.terms-list {
  list-style: none;
  display: grid;
  gap: 12px;
  padding: 0;
}
.terms-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-muted);
  line-height: 1.65;
}
.terms-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ocean), var(--teal));
}
.terms-note {
  padding: 14px 16px;
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
@media (max-width: 640px) {
  .terms-summary {
    grid-template-columns: 1fr;
  }
}

/* ── Reduce motion ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
