/* ═══════════════════════════════════════
   SheetPilot — Shared Stylesheet
   ═══════════════════════════════════════ */

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

:root {
  --bg: #FAFAF8;
  --bg-deep: #F0EFE9;
  --surface: #FFFFFF;
  --ink: #1A1A18;
  --ink-soft: #4A4A45;
  --ink-muted: #8A8A82;
  --brand: #1B6B4A;
  --brand-light: #E8F5EE;
  --brand-dark: #0D4A30;
  --accent: #D4622B;
  --accent-light: #FFF3EC;
  --blue: #2558A8;
  --blue-light: #EBF1FA;
  --yellow: #B87D0B;
  --yellow-light: #FFF8E6;
  --border: #E2E0D8;
  --border-light: #EDECE6;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --max-w: 1140px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ═══ ANIMATIONS ═══ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.3); opacity: 0.7; }
}
@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ═══ UTILITY ═══ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }

.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--brand);
  display: inline-block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 580px;
  line-height: 1.7;
}

.text-center { text-align: center; }
.text-center .section-label { justify-content: center; }
.text-center .section-label::before { display: none; }
.text-center .section-subtitle { margin: 0 auto; }

/* ═══ BUTTONS ═══ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--brand);
  color: white;
  padding: 15px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none; cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 16px rgba(27,107,74,0.25);
  font-family: var(--font-body);
}
.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(27,107,74,0.3);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 15px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--border);
  transition: all 0.25s;
  font-family: var(--font-body);
}
.btn-secondary:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--brand);
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--brand);
  transition: all 0.25s;
  font-family: var(--font-body);
}
.btn-ghost:hover {
  background: var(--brand-light);
}
.btn-wa {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366;
  color: white;
  padding: 15px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none; cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
  font-family: var(--font-body);
}
.btn-wa:hover {
  background: #1EB85A;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
}
.btn-sm { padding: 10px 22px; font-size: 14px; }

/* ═══ NAV ═══ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250,250,248,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
}
.nav-logo-icon {
  width: 36px; height: 36px;
  background: var(--brand);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 16px;
  font-family: var(--font-display);
}
.nav-logo-img {
  width: 36px; height: 36px;
  object-fit: contain;
  border-radius: 8px;
  transition: opacity 0.2s;
}
.nav-logo-img:hover { opacity: 0.85; }
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.3px;
}
.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta {
  background: var(--brand) !important;
  color: white !important;
  padding: 10px 22px !important;
  border-radius: 100px !important;
  font-weight: 600 !important;
  transition: all 0.25s !important;
  font-size: 14px !important;
}
.nav-cta:hover {
  background: var(--brand-dark) !important;
  transform: translateY(-1px);
}
.nav-mobile-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 32px; height: 32px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-mobile-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: 0.3s;
}
.nav-mobile-menu {
  /* Always flex — visibility toggled via classes for smooth CSS transitions */
  display: flex;
  position: fixed;
  top: 68px; left: 0; right: 0;
  /* Liquid glass morphism */
  background: rgba(250,250,248,0.82);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border-bottom: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 8px 40px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
  padding: 20px 24px 28px;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
  /* Hidden state */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px) scaleY(0.96);
  transform-origin: top center;
  transition:
    opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1),
    visibility 0s linear 0.35s;
}
.nav-mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scaleY(1);
  transition:
    opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1),
    visibility 0s linear 0s;
}
[data-theme="dark"] .nav-mobile-menu {
  background: rgba(15,18,16,0.88);
  border-bottom-color: rgba(255,255,255,0.06);
  box-shadow: 0 8px 40px rgba(0,0,0,0.45), 0 2px 8px rgba(0,0,0,0.3);
}
.nav-mobile-menu a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-light);
  border-radius: 10px;
  margin: 0 -4px;
  /* Liquid hover ripple */
  position: relative;
  overflow: hidden;
  transition: color 0.22s ease, background 0.28s cubic-bezier(0.34,1.56,0.64,1);
}
.nav-mobile-menu a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--brand-light);
  border-radius: 10px;
  transform: scaleX(0.4) scaleY(0.6);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), opacity 0.25s ease;
  transform-origin: left center;
}
.nav-mobile-menu a:hover { color: var(--brand); background: transparent; }
.nav-mobile-menu a:hover::before { transform: scaleX(1) scaleY(1); opacity: 1; }
.nav-mobile-menu a.active { color: var(--brand); font-weight: 600; }
.nav-mobile-menu a.active::before { transform: scaleX(1) scaleY(1); opacity: 1; }
.nav-mobile-menu .nav-cta {
  margin-top: 12px;
  text-align: center;
  justify-content: center;
  padding: 14px !important;
}

/* ═══ PAGE HERO (inner pages) ═══ */
.page-hero {
  padding: 140px 0 80px;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(27,107,74,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-light);
  border: 1px solid rgba(27,107,74,0.15);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-dark);
  margin-bottom: 20px;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.8px;
  color: var(--ink);
  margin-bottom: 20px;
}
.page-hero-desc {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 32px;
}

/* ═══ CARDS ═══ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}
.card-icon.green { background: var(--brand-light); }
.card-icon.orange { background: var(--accent-light); }
.card-icon.blue { background: var(--blue-light); }
.card-icon.yellow { background: var(--yellow-light); }
.card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}
.card p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ═══ BADGE / TAG ═══ */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}
.badge-green { background: var(--brand-light); color: var(--brand-dark); }
.badge-orange { background: var(--accent-light); color: var(--accent); }
.badge-blue { background: var(--blue-light); color: var(--blue); }
.badge-yellow { background: var(--yellow-light); color: var(--yellow); }

/* ═══ DIVIDER ═══ */
.divider {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 0;
}

/* ═══ GRID HELPERS ═══ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ═══ FOOTER ═══ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand {}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  margin-bottom: 18px;
}
.footer-logo-icon {
  width: 36px; height: 36px;
  background: var(--brand);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 16px;
  font-family: var(--font-display);
}
.footer-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: white;
  letter-spacing: -0.3px;
}
.footer-tagline {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 280px;
}
.footer-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366;
  color: white;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.footer-wa:hover { background: #1EB85A; transform: translateY(-1px); }
.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: white;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  text-decoration: none;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: white; }

/* ═══ TRUST BAR ═══ */
.trust-bar {
  padding: 24px 0;
  background: var(--surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px;
  color: var(--ink-muted);
  font-weight: 500;
  white-space: nowrap;
}
.trust-item svg { color: var(--brand); flex-shrink: 0; }

/* ═══ FAQ ═══ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  gap: 16px;
  transition: color 0.2s;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
}
.faq-question:hover { color: var(--brand); }
.faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--bg-deep);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
  font-size: 16px;
  color: var(--ink-soft);
}
.faq-item.open .faq-icon { background: var(--brand-light); color: var(--brand); transform: rotate(45deg); }
.faq-answer {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-answer-inner { padding-bottom: 20px; }

/* ═══ TESTIMONIALS ═══ */
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.testimonial-stars {
  display: flex; gap: 3px;
  margin-bottom: 14px;
  color: #F59E0B;
  font-size: 15px;
}
.testimonial-text {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brand-light);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--brand-dark);
  font-family: var(--font-display);
  flex-shrink: 0;
}
.testimonial-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.testimonial-role {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 2px;
}

/* ═══ CTA BANNER ═══ */
.cta-banner {
  background: var(--brand-dark);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: white;
  margin-bottom: 14px;
}
.cta-banner p {
  color: rgba(255,255,255,0.75);
  font-size: 17px;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}

/* ═══ STATS ═══ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-item {
  background: var(--surface);
  padding: 32px 24px;
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 13px;
  color: var(--ink-muted);
  font-weight: 500;
}

/* ═══ STEP ═══ */
.step-number {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  font-weight: 700;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-display);
}

/* ═══ TABLE ═══ */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.comparison-table th {
  background: var(--bg-deep);
  padding: 16px 20px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--border);
}
.comparison-table th:not(:first-child) { text-align: center; }
.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
  color: var(--ink-soft);
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table td:not(:first-child) { text-align: center; }
.comparison-table .check { color: var(--brand); font-size: 18px; }
.comparison-table .cross { color: var(--ink-muted); font-size: 18px; }
.comparison-table .highlight-col { background: rgba(27,107,74,0.03); }

/* ═══ FLOATING WHATSAPP BUTTON ═══ */
.float-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  text-decoration: none;
  transition: all 0.25s;
  animation: floatUp 3s ease-in-out infinite;
}
.float-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}
.float-wa svg { width: 28px; height: 28px; fill: white; }
.float-wa-tooltip {
  position: absolute;
  right: 66px;
  background: var(--ink);
  color: white;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  font-family: var(--font-body);
}
.float-wa:hover .float-wa-tooltip { opacity: 1; }

/* ═══ RESPONSIVE ═══ */
/* Tablet */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; } /* always full width on tablet */
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
  /* Tables scroll on tablet */
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* Mobile */
@media (max-width: 600px) {
  /* Spacing */
  .section { padding: 64px 0; }
  .container { padding: 0 16px; }
  /* Grids */
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  /* Components */
  .cta-banner { padding: 36px 20px; }
  .cta-banner h2 { font-size: 24px; }
  .cta-banner-actions { flex-direction: column; align-items: center; }
  .cta-banner-actions a { width: 100%; justify-content: center; text-align: center; }
  /* Footer */
  .footer { padding: 48px 0 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; margin-bottom: 32px; }
  .footer-brand { max-width: 100%; }
  .footer-tagline { max-width: 100%; }
  .footer-bottom { font-size: 12px; padding-top: 20px; }
  .footer-bottom-links { gap: 10px; font-size: 11px; }
  /* Hero */
  .page-hero { padding: 108px 0 52px; }
  .page-hero-title { font-size: 28px; }
  .page-hero-desc { font-size: 16px; }
  /* Buttons */
  .btn-primary, .btn-secondary, .btn-wa {
    padding: 14px 24px;
    font-size: 14px;
    min-height: 48px;
  }
  /* Section titles */
  .section-title { font-size: 26px; }
  .section-subtitle { font-size: 15px; }
  /* Floating WA */
  .float-wa { width: 50px; height: 50px; bottom: 16px; right: 16px; }
  .float-wa svg { width: 24px; height: 24px; }
  .float-wa-tooltip { display: none; }
  /* Nav */
  .nav-inner { height: 60px; }
  /* Testimonials */
  .testimonial-card { padding: 20px; }
  /* CTA banner */
  .cta-banner p { font-size: 15px; }
}

/* Extra small (older phones) */
@media (max-width: 375px) {
  .container { padding: 0 12px; }
  .page-hero-title { font-size: 24px; }
  .section-title { font-size: 22px; }
}

/* ═══ BROWSER COMPATIBILITY ═══ */
/* Safari focus fix */
input, textarea, select, button { -webkit-appearance: none; }
/* Smooth scrolling respects reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
/* High-contrast mode */
@media (forced-colors: active) {
  .btn-primary, .btn-wa { border: 2px solid ButtonText; }
}
/* Print styles */
@media print {
  .nav, .float-wa, .footer, .cta-banner { display: none !important; }
  .legal-wrap { padding: 20px; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; text-decoration: underline; }
}

/* ═══ TOUCH & ACCESSIBILITY ═══ */
/* Minimum tap target 44px for all interactive elements */
.nav-links a, .footer-col a { min-height: 36px; display: inline-flex; align-items: center; }
/* Focus styles for keyboard nav */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}
/* Remove outline for mouse users */
a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: none; }

/* ═══════════════════════════════════════════════════════
   DARK MODE
   ═══════════════════════════════════════════════════════ */
[data-theme="dark"] {
  --bg: #0F1210;
  --bg-deep: #171C18;
  --surface: #1C2420;
  --ink: #EEEEE8;
  --ink-soft: #A8A89E;
  --ink-muted: #6A6A62;
  --brand: #2ECC82;
  --brand-light: #0D2E1E;
  --brand-dark: #25A96A;
  --accent: #F07850;
  --accent-light: #2E1A10;
  --blue: #5B8FE8;
  --blue-light: #0F1C36;
  --yellow: #E0A030;
  --yellow-light: #2A1E04;
  --border: #2A302C;
  --border-light: #222823;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.3), 0 2px 4px rgba(0,0,0,0.2);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.4), 0 4px 12px rgba(0,0,0,0.2);
}

[data-theme="dark"] .nav {
  background: rgba(15,18,16,0.92);
  border-bottom-color: var(--border);
}
[data-theme="dark"] .nav-mobile-menu {
  background: var(--surface);
  border-bottom-color: var(--border);
}
[data-theme="dark"] .card {
  background: var(--surface);
}
[data-theme="dark"] .hero-visual,
[data-theme="dark"] .step-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .pricing-card,
[data-theme="dark"] .case-card {
  background: var(--surface);
  border-color: var(--border);
}
[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  background: var(--surface);
  border-color: var(--border);
  color: var(--ink);
}
[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder { color: var(--ink-muted); }
[data-theme="dark"] .footer { background: #0A0D0B; border-top-color: var(--border); }
[data-theme="dark"] .legal-wrap { background: var(--bg); color: var(--ink); }
[data-theme="dark"] .legal-wrap h2, [data-theme="dark"] .legal-wrap h3 { color: var(--ink); }
[data-theme="dark"] table th { background: var(--bg-deep); }
[data-theme="dark"] table tr:nth-child(even) { background: var(--bg-deep); }
[data-theme="dark"] .float-wa-tooltip { background: var(--surface); color: var(--ink); }
[data-theme="dark"] .btn-secondary { background: var(--surface); border-color: var(--border); color: var(--ink); }
[data-theme="dark"] .page-hero { background: var(--bg-deep); border-bottom-color: var(--border); }
[data-theme="dark"] .footer { background: #070A08; }
[data-theme="dark"] .footer-col h4 { color: rgba(255,255,255,0.9); }
[data-theme="dark"] .footer-logo-text { color: rgba(255,255,255,0.95); }
[data-theme="dark"] .cta-banner { background: #0D3D20; border: 1px solid rgba(46,204,130,0.15); }
[data-theme="dark"] .trust-bar { background: var(--surface); }
[data-theme="dark"] .nav-mobile-menu a { border-bottom-color: var(--border); }
[data-theme="dark"] .faq-item { border-bottom-color: var(--border); }
[data-theme="dark"] .faq-question { color: var(--ink); }
[data-theme="dark"] .price-card { background: var(--surface); border-color: var(--border); }
[data-theme="dark"] .price-card.popular { box-shadow: 0 0 0 3px rgba(46,204,130,0.2), var(--shadow-md); }
[data-theme="dark"] .stats-row { background: var(--border); border-color: var(--border); }
[data-theme="dark"] .stat-item { background: var(--surface); }
[data-theme="dark"] .section-label { color: var(--brand); }
[data-theme="dark"] .page-hero-label { background: var(--brand-light); border-color: rgba(46,204,130,0.2); color: var(--brand); }
[data-theme="dark"] input:focus, [data-theme="dark"] select:focus, [data-theme="dark"] textarea:focus {
  border-color: var(--brand);
  outline-color: var(--brand);
}

/* ── Dark mode toggle button ── */
.dark-toggle {
  position: relative;
  width: 44px; height: 24px;
  background: var(--border);
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: background 0.35s cubic-bezier(0.34,1.56,0.64,1);
  flex-shrink: 0;
  -webkit-appearance: none;
}
.dark-toggle::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: white;
  border-radius: 50%;
  transition: transform 0.38s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
[data-theme="dark"] .dark-toggle { background: var(--brand); }
[data-theme="dark"] .dark-toggle::after { transform: translateX(20px); }

.dark-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: 8px;
  flex-shrink: 0;
}
/* SVG icon inside toggle wrap */
.dark-toggle-icon {
  width: 18px; height: 18px;
  color: var(--ink-soft);
  transition: color 0.3s, transform 0.4s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.dark-toggle-icon svg { width: 100%; height: 100%; }
[data-theme="dark"] .dark-toggle-icon { color: var(--brand); transform: rotate(20deg); }

/* ═══════════════════════════════════════════════════════
   MOBILE BOTTOM TAB BAR — Liquid Glass Pill
   ═══════════════════════════════════════════════════════ */
.mob-tab-bar {
  display: none;
}

@media (max-width: 900px) {
  body { padding-bottom: 88px; }

  .mob-tab-bar {
    display: flex;
    position: fixed;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    /* Outer glass pill */
    background: rgba(255,255,255,0.68);
    backdrop-filter: blur(32px) saturate(220%) brightness(1.06);
    -webkit-backdrop-filter: blur(32px) saturate(220%) brightness(1.06);
    border: 1px solid rgba(255,255,255,0.55);
    box-shadow:
      0 2px 0 rgba(255,255,255,0.7) inset,
      0 -1px 0 rgba(0,0,0,0.04) inset,
      0 12px 40px rgba(0,0,0,0.13),
      0 3px 10px rgba(0,0,0,0.08);
    border-radius: 100px;
    padding: 5px 6px;
    align-items: center;
    min-width: 290px;
    max-width: calc(100vw - 28px);
    /* Position the liquid indicator relative to bar */
    position: fixed;
  }

  [data-theme="dark"] .mob-tab-bar {
    background: rgba(20,28,24,0.80);
    border-color: rgba(255,255,255,0.07);
    box-shadow:
      0 1px 0 rgba(255,255,255,0.06) inset,
      0 14px 44px rgba(0,0,0,0.55),
      0 3px 10px rgba(0,0,0,0.35);
  }

  /* ── Liquid sliding indicator ── */
  .tab-liquid-indicator {
    position: absolute;
    top: 5px;
    left: 0; /* set by JS */
    height: calc(100% - 10px);
    width: 60px; /* set by JS */
    border-radius: 100px;
    background: var(--brand);
    /* Liquid glass glow */
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.28),
      inset 0 -1px 0 rgba(0,0,0,0.12),
      0 4px 20px rgba(27,107,74,0.45),
      0 1px 4px rgba(27,107,74,0.3);
    pointer-events: none;
    z-index: 0;
    /* Liquid spring motion */
    transition:
      left 0.42s cubic-bezier(0.34, 1.56, 0.64, 1),
      width 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: left, width;
  }
  [data-theme="dark"] .tab-liquid-indicator {
    background: var(--brand);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.15),
      inset 0 -1px 0 rgba(0,0,0,0.2),
      0 4px 24px rgba(46,204,130,0.38);
  }

  .mob-tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 7px 13px;
    border-radius: 100px;
    text-decoration: none;
    color: var(--ink-soft);
    font-size: 10px;
    font-weight: 600;
    font-family: var(--font-body);
    letter-spacing: 0.3px;
    white-space: nowrap;
    /* Above the indicator */
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 52px;
    /* Smooth color only — no bg (indicator handles it) */
    transition: color 0.25s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .mob-tab-item.active {
    color: white;
  }
  .mob-tab-item:not(.active):hover {
    color: var(--brand);
  }
  .mob-tab-icon {
    width: 20px; height: 20px;
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  }
  .mob-tab-item.active .mob-tab-icon {
    transform: scale(1.12) translateY(-1px);
  }
  .mob-tab-icon svg {
    width: 18px; height: 18px;
    overflow: visible;
    /* color inherited from parent — both fill & stroke use currentColor */
  }
  .mob-tab-label {
    line-height: 1;
    transition: opacity 0.2s ease;
  }

  /* Float WA above tab bar */
  .float-wa { bottom: 90px; }
}
