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

html { scroll-behavior: smooth; }

:root {
  --green: #2d6a4f;
  --green-light: #40916c;
  --text: #111111;
  --muted: #555555;
  --border: #e4e4e4;
  --bg-alt: #f8f8f6;
  --radius: 10px;
  --max: 1080px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Nav ─────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
}
.nav-logo svg { display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--muted);
}
.nav-links a:hover { color: var(--text); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-ghost {
  font-size: 14px;
  color: var(--muted);
  padding: 7px 14px;
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
}
.btn-ghost:hover { background: var(--bg-alt); color: var(--text); }
.btn-primary {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--green);
  padding: 8px 18px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--green-light); }

/* ── Hero ────────────────────────────────────── */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px 28px 80px;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  background: #eaf3ee;
  border: 1px solid #c3dece;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.08;
  max-width: 720px;
  margin: 0 auto 20px;
}
.hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-lg {
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius);
}
.btn-outline {
  font-size: 15px;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--text);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  display: inline-block;
}
.btn-outline:hover { border-color: #aaa; background: var(--bg-alt); }

/* ── Section ─────────────────────────────────── */
.section {
  padding: 80px 28px;
}
.section-alt { background: var(--bg-alt); }
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.2;
  max-width: 520px;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 52px;
}

/* ── Feature grid ────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 700px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 26px;
}
.section-alt .feature-card { background: #fff; }
.feature-icon {
  width: 40px;
  height: 40px;
  background: #eaf3ee;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--green);
}
.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.feature-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── Steps ───────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; gap: 24px; } }
.step { counter-increment: step; }
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.step p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── CTA band ────────────────────────────────── */
.cta-band {
  background: var(--text);
  color: #fff;
  text-align: center;
  padding: 72px 28px;
}
.cta-band h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}
.cta-band p { font-size: 16px; color: #aaa; margin-bottom: 32px; }
.btn-white {
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  display: inline-block;
  transition: opacity 0.15s;
}
.btn-white:hover { opacity: 0.88; }

/* ── Footer ──────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px;
  text-align: center;
  font-size: 13px;
  color: #999;
}
footer a { color: #777; }
footer a:hover { color: var(--text); }

/* ── Animations ──────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.feature-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: #d0d0d0;
}

/* ── Product preview ─────────────────────────── */
.preview-section {
  background: var(--bg-alt);
  padding: 80px 28px;
  text-align: center;
}
.preview-section .section-label { margin-bottom: 12px; }
.preview-section h2 {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.7px;
  margin-bottom: 10px;
}
.preview-section > p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 44px;
}
.preview-frame {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.13), 0 4px 16px rgba(0,0,0,0.07);
  border: 1px solid var(--border);
  text-align: left;
}
.preview-chrome {
  background: #f0f0f0;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #ddd;
}
.preview-dots { display: flex; gap: 6px; }
.preview-dots span {
  width: 11px; height: 11px;
  border-radius: 50%;
}
.preview-dots span:nth-child(1) { background: #ff5f57; }
.preview-dots span:nth-child(2) { background: #febc2e; }
.preview-dots span:nth-child(3) { background: #28c840; }
.preview-url {
  flex: 1;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 12px;
  color: #777;
  text-align: center;
}
/* Dark navbar matching real app */
.preview-navbar {
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 48px;
}
.preview-nav-links { display: flex; gap: 2px; }
.preview-nav-link {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
}
.preview-nav-link.active {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.preview-nav-profile {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
/* App body */
.preview-app-body {
  background: #f1f5f9;
  padding: 16px 18px;
}
.preview-page-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}
.preview-page-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.3px;
}
/* Stat cards */
.preview-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.preview-stat-card {
  background: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.preview-stat-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.preview-stat-num {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 2px;
}
.preview-stat-label {
  font-size: 10px;
  color: #94a3b8;
  font-weight: 500;
  white-space: nowrap;
}
/* Table card */
.preview-table-card {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}
.preview-table { width: 100%; border-collapse: collapse; }
.preview-table th {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  text-align: left;
  padding: 10px 14px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  letter-spacing: 0.2px;
}
.preview-table td {
  padding: 10px 14px;
  font-size: 12px;
  color: #1e293b;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}
.preview-table tr:last-child td { border-bottom: none; }
/* Score badges — exact colors from real app */
.score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.score-5 { background: #3b82f6; }
.score-4 { background: #22c55e; }
.score-3 { background: #eab308; color: #1e293b; }
.score-2 { background: #f97316; }
.score-1 { background: #ef4444; }
.dorm-tag {
  display: inline-block;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 1px 7px;
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
}
.preview-muted { color: #94a3b8; font-size: 11px; }
.preview-nav-brand {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.2px;
}
/* Sub-label between frames */
.preview-sublabel {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 36px auto 14px;
  max-width: 900px;
  text-align: left;
}
/* Inspection grid form */
.preview-inspector-bar {
  display: flex;
  gap: 16px;
  margin-bottom: 14px;
}
.preview-inspector-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.preview-ig {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.preview-ig-header {
  display: grid;
  grid-template-columns: 56px 100px 200px 1fr;
  background: #667eea;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}
.preview-ig-header > div {
  padding: 10px 12px;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.preview-ig-header > div:last-child { border-right: none; }
.preview-ig-row {
  display: grid;
  grid-template-columns: 56px 100px 200px 1fr;
  border-bottom: 1px solid #e5e7eb;
}
.preview-ig-row:last-child { border-bottom: none; }
.preview-ig-cell {
  padding: 10px 12px;
  font-size: 12px;
  color: #374151;
  border-right: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
}
.preview-ig-cell:last-child { border-right: none; }
.preview-ig .preview-score-btn { width: 28px; height: 28px; font-size: 12px; border-radius: 6px; }
.preview-ig .preview-score-row { gap: 4px; }
/* Old single-field form (kept for compatibility) */
.preview-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.preview-field { margin-bottom: 12px; }
.preview-field-label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #64748b;
  margin-bottom: 4px;
}
.preview-field-input {
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 12px;
  color: #1e293b;
  background: #fff;
}
.preview-select::after { content: ' ▾'; color: #94a3b8; }
.preview-field-textarea {
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 12px;
  color: #1e293b;
  background: #fff;
  min-height: 54px;
}
.preview-score-row { display: flex; gap: 7px; margin-top: 4px; }
.preview-score-btn {
  width: 38px; height: 38px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  font-size: 14px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  color: #94a3b8;
  background: #fff;
}
.psbtn-selected { background: #22c55e; color: #fff; border-color: #22c55e; }
.psbtn-mid { background: #f59e0b; color: #fff; border-color: #f59e0b; }
.psbtn-low { background: #ef4444; color: #fff; border-color: #ef4444; }
.preview-submit-btn {
  margin-top: 16px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 0;
  text-align: center;
}
/* Stats / chart styles */
.preview-chart-title {
  font-size: 12px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 12px;
}
.preview-dorm-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.preview-dorm-row:last-child { margin-bottom: 0; }
.preview-dorm-name {
  font-size: 11px;
  color: #475569;
  width: 70px;
  flex-shrink: 0;
}
.preview-dorm-track {
  flex: 1;
  height: 8px;
  background: #f1f5f9;
  border-radius: 4px;
  overflow: hidden;
}
.preview-dorm-fill {
  height: 100%;
  background: var(--green);
  border-radius: 4px;
}
.preview-dorm-avg {
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
  width: 24px;
  text-align: right;
  flex-shrink: 0;
}
.preview-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}
.preview-bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.preview-bar {
  width: 100%;
  background: var(--green);
  border-radius: 3px 3px 0 0;
  opacity: 0.85;
}
.preview-bar-lbl {
  font-size: 9px;
  color: #94a3b8;
  margin-top: 4px;
}

/* ── Page load animation ─────────────────────── */
@keyframes pageUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.load-fade { animation: pageUp 0.45s ease both; }
.load-fade-1 { animation: pageUp 0.45s 0.08s ease both; }
.load-fade-2 { animation: pageUp 0.45s 0.18s ease both; }

/* ── Stacked card carousel ───────────────────── */
.card-showcase {
  padding: 0 28px 80px;
}
.card-showcase-deck {
  position: relative;
  width: 680px;
  height: 460px;
  margin: 0 auto;
}
.card-deck-item {
  position: absolute;
  inset: 0;
  transition: transform 0.65s cubic-bezier(0.34, 1.1, 0.64, 1),
              opacity 0.5s ease;
}
.card-deck-item .preview-frame {
  max-width: none;
  height: 100%;
  overflow: hidden;
  margin: 0;
  background: #f1f5f9;
  box-shadow: 0 24px 64px rgba(0,0,0,0.16), 0 4px 16px rgba(0,0,0,0.08);
}
.deck-active    { z-index: 3; transform: translateX(0)     translateY(0)   scale(1)    rotate(0deg);  opacity: 1; }
.deck-peek-right{ z-index: 2; transform: translateX(52px)  translateY(14px) scale(0.92) rotate(3deg);  opacity: 0.82; }
.deck-peek-left { z-index: 1; transform: translateX(-52px) translateY(20px) scale(0.88) rotate(-4deg); opacity: 0.7; }

.showcase-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.showcase-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.showcase-dot.active {
  background: var(--green);
  transform: scale(1.25);
}

@media (max-width: 700px) {
  .card-showcase-deck { width: 100%; height: 340px; }
  .deck-peek-right { transform: translateX(32px) translateY(10px) scale(0.92) rotate(3deg); }
  .deck-peek-left  { transform: translateX(-32px) translateY(14px) scale(0.88) rotate(-4deg); }
}

/* ── Pricing page ────────────────────────────── */
.pricing-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 28px 60px;
  text-align: center;
}
.pricing-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -1.2px;
  margin-bottom: 14px;
}
.pricing-hero p { font-size: 17px; color: var(--muted); max-width: 460px; margin: 0 auto 52px; }
.pricing-card {
  max-width: 440px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 36px 32px;
  text-align: left;
}
.pricing-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green);
  background: #eaf3ee;
  padding: 4px 10px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 16px;
}
.pricing-card h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 8px; }
.pricing-card .price-desc { font-size: 14px; color: var(--muted); margin-bottom: 28px; line-height: 1.6; }
.pricing-features { list-style: none; margin-bottom: 28px; }
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--bg-alt);
}
.pricing-features li:last-child { border-bottom: none; }
.check { color: var(--green); font-size: 15px; flex-shrink: 0; }
.pricing-note {
  max-width: var(--max);
  margin: 32px auto 0;
  padding: 0 28px;
  text-align: center;
  font-size: 13px;
  color: #999;
}
.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin: 16px 0 12px;
}
.pricing-dollar { font-size: 22px; font-weight: 600; color: var(--text); }
.pricing-num { font-size: 56px; font-weight: 700; letter-spacing: -2px; color: var(--text); line-height: 1; }
.pricing-period { font-size: 16px; color: var(--muted); margin-left: 4px; }

/* ── Get Started form ────────────────────────── */
.form-hero {
  max-width: 560px;
  margin: 0 auto;
  padding: 72px 28px 60px;
  text-align: center;
}
.form-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.form-hero p { font-size: 16px; color: var(--muted); }
.interest-form {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 28px 80px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.15s;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green);
}
.form-submit {
  width: 100%;
  margin-top: 8px;
  padding: 13px;
  font-size: 15px;
}
.form-success {
  display: none;
  text-align: center;
  padding: 32px;
  border: 1px solid #c3dece;
  border-radius: 14px;
  background: #eaf3ee;
  color: var(--green);
  font-weight: 600;
  font-size: 15px;
}
.form-error { font-size: 13px; color: #c0392b; margin-top: 8px; display: none; }

/* ── About page ──────────────────────────────── */
.about-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 28px 80px;
}
.about-section { padding: 48px 0 0; }
.about-section h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin-bottom: 16px;
}
.about-section p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 14px;
}
.about-section p:last-child { margin-bottom: 0; }
.about-divider {
  height: 1px;
  background: var(--border);
  margin-top: 48px;
}
.about-points { display: flex; flex-direction: column; gap: 24px; }
.about-point { display: flex; gap: 16px; align-items: flex-start; }
.about-point-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #eaf3ee;
  color: var(--green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-point strong { display: block; font-size: 15px; margin-bottom: 4px; }
.about-point p { font-size: 14px; color: var(--muted); margin: 0; }
.about-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 56px;
}

/* ── Privacy page ────────────────────────────── */
.privacy-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 28px 80px;
}
.privacy-section {
  padding-top: 36px;
}
.privacy-section:first-child { padding-top: 0; }
.privacy-section h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.privacy-section p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 10px;
}
.privacy-section p:last-child { margin-bottom: 0; }
.privacy-section ul {
  margin: 10px 0 10px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.privacy-section li {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}
.privacy-section a { color: var(--green); text-decoration: underline; }

/* ═══════════════════════════════════════════════
   VISUAL OVERHAUL — dark hero + premium interactions
   ═══════════════════════════════════════════════ */

/* ── Nav dark mode (when hero is in view) ──────── */
nav {
  transition: background 0.4s ease, border-color 0.4s ease;
}
nav.nav-dark {
  background: rgba(8, 12, 10, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.07);
}
nav.nav-dark .nav-logo,
nav.nav-dark .nav-logo svg rect { }
nav.nav-dark .nav-logo { color: #fff; }
nav.nav-dark .nav-links a { color: rgba(255, 255, 255, 0.65); }
nav.nav-dark .nav-links a:hover { color: #fff; }
nav.nav-dark .btn-ghost { color: rgba(255, 255, 255, 0.6); }
nav.nav-dark .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

/* ── Hero dark section ─────────────────────────── */
.hero-dark {
  background: #060a07;
  position: relative;
  overflow: hidden;
  padding: 148px 28px 120px;
  max-width: none;
  margin: 0;
  width: 100%;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-dark .hero-badge {
  color: #52c97a;
  background: rgba(82, 201, 122, 0.08);
  border-color: rgba(82, 201, 122, 0.22);
}
.hero-dark h1,
.hero-dark .hero-headline { color: #fff; }
.hero-dark > p,
.hero-dark .hero-inner > p { color: rgba(255, 255, 255, 0.6); }
.hero-inner {
  position: relative;
  z-index: 4;
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

/* ── Aurora background orbs ───────────────────── */
.hero-aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.aurora-orb {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.orb-1 {
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse at center,
    rgba(40, 170, 95, 0.58) 0%,
    rgba(20, 100, 58, 0.26) 42%,
    transparent 68%);
  filter: blur(80px);
  top: -22%;
  left: -12%;
  animation: auroraFloat1 15s ease-in-out infinite;
}
.orb-2 {
  width: 750px;
  height: 580px;
  background: radial-gradient(ellipse at center,
    rgba(18, 120, 68, 0.46) 0%,
    rgba(10, 70, 44, 0.18) 48%,
    transparent 70%);
  filter: blur(100px);
  top: 0%;
  right: -10%;
  animation: auroraFloat2 20s ease-in-out infinite;
}
.orb-3 {
  width: 620px;
  height: 480px;
  background: radial-gradient(ellipse at center,
    rgba(90, 210, 130, 0.3) 0%,
    rgba(40, 140, 85, 0.12) 50%,
    transparent 68%);
  filter: blur(70px);
  bottom: -8%;
  left: 22%;
  animation: auroraFloat3 12s ease-in-out infinite;
}
.orb-4 {
  width: 500px;
  height: 380px;
  background: radial-gradient(ellipse at center,
    rgba(130, 230, 160, 0.18) 0%,
    rgba(60, 180, 100, 0.08) 50%,
    transparent 70%);
  filter: blur(90px);
  top: 25%;
  left: 38%;
  animation: auroraFloat2 18s ease-in-out infinite reverse;
}
@keyframes auroraFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  30%       { transform: translate(6%, 10%) scale(1.04); }
  60%       { transform: translate(-4%, 6%) scale(0.97); }
}
@keyframes auroraFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%       { transform: translate(-8%, -12%) scale(1.07); }
  70%       { transform: translate(4%, -6%) scale(1.02); }
}
@keyframes auroraFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(6%, -9%) scale(1.09); }
}

/* ── Dot grid overlay ─────────────────────────── */
.hero-dot-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 90% 75% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 75% at 50% 50%, black 20%, transparent 100%);
}

/* ── Headline ─────────────────────────────────────*/
.hero-headline {
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 800;
  letter-spacing: -2.5px;
  line-height: 1.04;
  max-width: 800px;
  margin: 0 auto 24px;
  background: linear-gradient(160deg, #ffffff 0%, #c8f0da 55%, #52c97a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  animation: heroh1Fade 0.65s ease 0.05s forwards;
}
@keyframes heroh1Fade {
  to { opacity: 1; }
}

/* ── Dark outline button ─────────────────────── */
.btn-outline-dark {
  font-size: 15px;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  backdrop-filter: blur(6px);
  display: inline-block;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-outline-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}


/* ── Spotlight cards (feature grid) ─────────── */
.feature-card.spotlight-card {
  --mouse-x: 50%;
  --mouse-y: 50%;
  position: relative;
  overflow: hidden;
  will-change: transform;
  transition: transform 0.25s cubic-bezier(0.34, 1.36, 0.64, 1),
              box-shadow 0.25s ease,
              border-color 0.25s ease;
}
.feature-card.spotlight-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    200px circle at var(--mouse-x) var(--mouse-y),
    rgba(44, 150, 90, 0.10),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
  border-radius: inherit;
}
.feature-card.spotlight-card:hover::after { opacity: 1; }
.feature-card.spotlight-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  border-color: rgba(44, 150, 90, 0.25);
}
.feature-card.spotlight-card > * { position: relative; z-index: 1; }

/* ── GSAP base state (prevent FOUC) ─────────── */
.gsap-hidden {
  opacity: 0;
  transform: translateY(36px);
}


/* ── Mobile nav hamburger ────────────────────── */
.nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 7px;
  border-radius: 8px;
  color: var(--text);
  line-height: 0;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}
.nav-burger:hover { background: var(--bg-alt); }
nav.nav-dark .nav-burger { color: rgba(255, 255, 255, 0.8); }
nav.nav-dark .nav-burger:hover { background: rgba(255, 255, 255, 0.08); }

.nav-mobile-panel {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.09);
  z-index: 101;
  padding: 8px 20px 20px;
  animation: mobileNavIn 0.18s ease;
}
.nav-mobile-panel.open { display: block; }
@keyframes mobileNavIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-mobile-links {
  display: flex;
  flex-direction: column;
}
.nav-mobile-link {
  display: block;
  padding: 13px 4px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: color 0.15s;
}
.nav-mobile-link:hover { color: var(--green); }
.nav-mobile-login {
  color: var(--muted) !important;
  font-weight: 400 !important;
}
.nav-mobile-divider { height: 4px; }
.nav-mobile-cta {
  display: block;
  margin-top: 12px;
  padding: 13px !important;
  background: var(--green) !important;
  color: #fff !important;
  text-align: center;
  border-radius: var(--radius) !important;
  font-size: 15px;
  font-weight: 600;
  border-bottom: none !important;
  transition: background 0.15s !important;
}
.nav-mobile-cta:hover { background: var(--green-light) !important; }

@media (max-width: 700px) {
  .nav-links   { display: none; }
  .nav-actions { display: none; }
  .nav-burger  { display: flex; }
}

/* ── Animated badge border pulse ────────────── */
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(82, 201, 122, 0); }
  50%       { box-shadow: 0 0 0 4px rgba(82, 201, 122, 0.14); }
}
.hero-dark .hero-badge {
  animation: badgePulse 3.5s ease-in-out infinite;
}


/* ── Divider between dark hero and light body ─ */
.hero-to-light {
  height: 1px;
  background: transparent;
}

/* ── Hero sub-paragraph ───────────────────────── */
.hero-dark .hero-inner > p {
  font-size: clamp(15px, 1.8vw, 18px);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

/* ── btn-primary size bump in hero ───────────── */
.btn-lg {
  font-size: 15px;
  padding: 13px 28px;
}

/* ── Scroll-hint arrow ───────────────────────── */
.scroll-hint {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  opacity: 0;
  animation: scrollHintFade 1s ease 1.8s forwards;
}
.scroll-hint svg {
  animation: scrollHintBounce 1.8s ease-in-out infinite;
  color: rgba(255, 255, 255, 0.28);
}
@keyframes scrollHintFade {
  to { opacity: 1; }
}
@keyframes scrollHintBounce {
  0%, 100% { transform: translateY(0); }
  55%       { transform: translateY(6px); }
}

/* ── Preview section polish ───────────────────── */
.preview-section {
  background: #fafaf9;
}

/* ── Section-alt subtle bg ───────────────────── */
.section-alt {
  background: #f5f5f2;
}

/* ── Marquee ticker ──────────────────────────── */
.marquee-band {
  overflow: hidden;
  background: rgba(6, 10, 7, 0.97);
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  padding: 14px 0;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marqueeScroll 28s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 40px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}
.marquee-item svg {
  color: #52c97a;
  flex-shrink: 0;
}
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Responsive marquee ───────────────────────── */
@media (max-width: 700px) {
  .marquee-item { padding: 0 24px; }
}

/* ── PWA install button (nav) ────────────────── */
.pwa-install-btn {
  display: none;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 13px;
  border-radius: 8px;
  border: 1px solid rgba(45, 106, 79, 0.28);
  color: var(--green);
  background: rgba(45, 106, 79, 0.07);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.pwa-install-btn:hover {
  background: rgba(45, 106, 79, 0.13);
  border-color: rgba(45, 106, 79, 0.45);
}
nav.nav-dark .pwa-install-btn {
  color: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.07);
}
nav.nav-dark .pwa-install-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}
/* JS sets display:flex when prompt is available */
.pwa-install-btn.visible { display: inline-flex; }

/* ── PWA iOS bottom banner ───────────────────── */
.pwa-ios-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a3d2b;
  color: #fff;
  padding: 14px 20px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  line-height: 1.45;
  z-index: 9999;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 -4px 28px rgba(0, 0, 0, 0.35);
  animation: pwaSlideUp 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.pwa-ios-banner strong { color: #fff; font-weight: 700; }
.pwa-ios-banner-dismiss {
  margin-left: auto;
  flex-shrink: 0;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.pwa-ios-banner-dismiss:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
@keyframes pwaSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
