/* ===================================================
   SBProduções — Design System
   Light & Moderno | Playfair Display + Inter
   =================================================== */

/* 1. Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* 2. CSS Variables */
:root {
  --color-bg: #FFFFFF;
  --color-surface: #F8F5F0;
  --color-surface-2: #F0EDE8;
  --color-gold: #C4992E;
  --color-gold-dark: #A07920;
  --color-gold-light: #D4AC48;
  --color-gold-pale: #FDF6E7;
  --color-navy: #0F1E2D;
  --color-navy-mid: #192939;
  --color-navy-light: #243B50;
  --color-text: #1A1A1A;
  --color-text-secondary: #555555;
  --color-text-muted: #888888;
  --color-border: #E8E4DE;
  --color-border-light: #F0EDE8;
  --color-white: #FFFFFF;
  --color-error: #DC2626;
  --color-success: #059669;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.10), 0 4px 8px rgba(0,0,0,0.06);
  --shadow-gold: 0 4px 20px rgba(196,153,46,0.25);
  --shadow-navy: 0 8px 32px rgba(15,30,45,0.20);

  --transition: 0.25s ease;
  --transition-slow: 0.4s ease;

  --container-max: 1200px;
  --container-padding: 24px;
  --section-padding: 96px;
  --section-padding-sm: 64px;

  --navbar-height: 72px;
}

/* 3. Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input, textarea { font-family: inherit; }

/* 4. Typography */
h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.15rem; }

p { line-height: 1.7; }

.text-gold { color: var(--color-gold); }
.text-navy { color: var(--color-navy); }
.text-muted { color: var(--color-text-muted); }
.text-secondary { color: var(--color-text-secondary); }
.text-white { color: var(--color-white); }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.font-heading { font-family: var(--font-heading); }
.italic { font-style: italic; }

/* 5. Layout */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--section-padding) 0;
}
.section-sm {
  padding: var(--section-padding-sm) 0;
}
.section-bg {
  background: var(--color-surface);
}
.section-bg-2 {
  background: var(--color-surface-2);
}
.section-navy {
  background: var(--color-navy);
  color: var(--color-white);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* 6. Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.badge-gold {
  background: var(--color-gold-pale);
  color: var(--color-gold-dark);
  border: 1px solid rgba(196,153,46,0.25);
}
.badge-navy {
  background: var(--color-navy);
  color: var(--color-white);
}
.badge-outline {
  background: transparent;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
}

/* 7. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-navy);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: var(--color-gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(196,153,46,0.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
}
.btn-outline:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--color-white);
}

.btn-ghost {
  background: transparent;
  color: var(--color-gold);
  padding: 12px 20px;
}
.btn-ghost:hover { text-decoration: underline; }

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-icon { padding: 12px; border-radius: var(--radius-md); }

/* 8. Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--navbar-height);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.navbar.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
}
.navbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-navy);
  flex-shrink: 0;
}
.navbar-logo img {
  width: 32px;
  height: 32px;
}
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: center;
}
.navbar-nav a {
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: var(--transition);
}
.navbar-nav a:hover, .navbar-nav a.active {
  color: var(--color-text);
  background: var(--color-surface);
}
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.navbar-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.navbar-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-hamburger.open span:nth-child(2) { opacity: 0; }
.navbar-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.navbar-mobile {
  display: none;
  position: fixed;
  top: var(--navbar-height);
  left: 0;
  right: 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 16px 24px 24px;
  z-index: 99;
  box-shadow: var(--shadow-lg);
}
.navbar-mobile.open { display: block; }
.navbar-mobile a {
  display: block;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border-light);
}
.navbar-mobile a:last-of-type { border-bottom: none; }
.navbar-mobile .btn { width: 100%; margin-top: 16px; justify-content: center; }

/* 9. Hero */
.hero {
  padding-top: calc(var(--navbar-height) + 80px);
  padding-bottom: 80px;
  background: var(--color-surface);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196,153,46,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(15,30,45,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  max-width: 560px;
  position: relative;
  z-index: 1;
}
.hero-badge {
  margin-bottom: 24px;
}
.hero-content h1 {
  margin-bottom: 20px;
  color: var(--color-navy);
}
.hero-content p {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}
.hero-phone-wrapper {
  position: relative;
}
.hero-phone-bg {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(196,153,46,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-phone {
  width: 260px;
  border-radius: 36px;
  box-shadow: 0 24px 64px rgba(15,30,45,0.25), 0 4px 12px rgba(15,30,45,0.10);
  border: 6px solid var(--color-navy);
  position: relative;
  z-index: 1;
  transform: rotate(-3deg);
}
.hero-phone-secondary {
  position: absolute;
  width: 200px;
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(15,30,45,0.20);
  border: 5px solid var(--color-navy-mid);
  right: -80px;
  top: 40px;
  z-index: 0;
  transform: rotate(4deg);
  opacity: 0.85;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}
.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* 10. Stats Strip */
.stats-strip {
  background: var(--color-navy);
  padding: 48px 0;
}
.stats-strip-inner {
  display: flex;
  justify-content: space-around;
  gap: 24px;
  text-align: center;
}
.stat-item { flex: 1; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  margin-top: 6px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* 11. Feature Cards */
.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(196,153,46,0.3);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--color-gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-gold);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--color-navy);
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* 12. Book Cards */
.book-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.book-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.book-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.book-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
  max-height: 220px;
}
.book-card:hover .book-card-img img { transform: scale(1.05); }
.book-card-body {
  padding: 20px;
}
.book-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 12px;
  line-height: 1.3;
}
.book-card .btn { width: 100%; justify-content: center; }

/* 13. Mission Section */
.mission-text {
  max-width: 520px;
}
.mission-text h2 { margin-bottom: 20px; }
.mission-text p {
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}
.values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.value-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-navy);
}
.value-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gold);
  flex-shrink: 0;
}
.mission-visual {
  position: relative;
}
.mission-visual-inner {
  background: var(--color-navy);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}
.mission-visual-inner::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 24px;
  font-family: var(--font-heading);
  font-size: 180px;
  color: rgba(196,153,46,0.12);
  line-height: 1;
  pointer-events: none;
}
.mission-quote {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.mission-quote-source {
  font-size: 0.85rem;
  color: var(--color-gold);
  font-weight: 600;
  position: relative;
  z-index: 1;
}

/* 14. App Screenshots */
.app-showcase {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: center;
  padding: 20px 0;
}
.app-screenshot {
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--color-navy);
  width: 160px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.app-screenshot:hover { transform: translateY(-6px) rotate(-1deg); }
.app-screenshot:nth-child(2) { transform: translateY(24px); }
.app-screenshot:nth-child(2):hover { transform: translateY(20px) rotate(1deg); }
.app-screenshot:nth-child(3) { transform: translateY(8px); }
.app-screenshot:nth-child(3):hover { transform: translateY(4px) rotate(-1deg); }

/* 15. Download CTA */
.download-section {
  background: var(--color-navy);
  position: relative;
  overflow: hidden;
}
.download-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(196,153,46,0.10) 0%, transparent 70%);
}
.download-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
}
.download-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.download-inner h2 {
  color: var(--color-white);
  margin-bottom: 12px;
}
.download-inner p {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  margin-bottom: 36px;
}
.store-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  color: var(--color-white);
  transition: var(--transition);
  min-width: 180px;
}
.store-btn:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-2px);
}
.store-btn-icon { flex-shrink: 0; }
.store-btn-icon svg { width: 28px; height: 28px; }
.store-btn-text { text-align: left; }
.store-btn-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  display: block;
  line-height: 1;
}
.store-btn-name {
  font-size: 1rem;
  font-weight: 600;
  display: block;
  line-height: 1.2;
  margin-top: 2px;
}

/* 16. Steps */
.steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-content h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--color-navy);
}
.step-content p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

/* 17. Testimonials */
.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.testimonial-stars {
  display: flex;
  gap: 3px;
  color: var(--color-gold);
  margin-bottom: 14px;
  font-size: 1.1rem;
}
.testimonial-text {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-navy);
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-navy);
}
.testimonial-location {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* 18. Pricing */
.pricing-card {
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  transition: var(--transition);
}
.pricing-card.featured {
  background: var(--color-navy);
  border-color: var(--color-gold);
  color: var(--color-white);
  position: relative;
}
.pricing-card:hover:not(.featured) {
  box-shadow: var(--shadow-lg);
  border-color: var(--color-border);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-gold);
  color: var(--color-navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.pricing-plan { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.pricing-card.featured .pricing-plan { color: var(--color-gold); }
.pricing-card:not(.featured) .pricing-plan { color: var(--color-text-muted); }
.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-price sup { font-size: 1.2rem; vertical-align: top; margin-top: 8px; display: inline-block; }
.pricing-period { font-size: 0.85rem; margin-bottom: 24px; }
.pricing-card.featured .pricing-period { color: rgba(255,255,255,0.55); }
.pricing-card:not(.featured) .pricing-period { color: var(--color-text-muted); }
.pricing-divider {
  height: 1px;
  margin-bottom: 24px;
}
.pricing-card.featured .pricing-divider { background: rgba(255,255,255,0.15); }
.pricing-card:not(.featured) .pricing-divider { background: var(--color-border); }
.pricing-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}
.pricing-feature svg { width: 18px; height: 18px; flex-shrink: 0; }
.pricing-card.featured .pricing-feature svg { color: var(--color-gold); }
.pricing-card:not(.featured) .pricing-feature svg { color: var(--color-success); }
.pricing-card.featured .pricing-feature.disabled { color: rgba(255,255,255,0.35); }
.pricing-card:not(.featured) .pricing-feature.disabled { color: var(--color-text-muted); }
.pricing-card.featured .pricing-feature.disabled svg { color: rgba(255,255,255,0.25); }
.pricing-card:not(.featured) .pricing-feature.disabled svg { color: var(--color-text-muted); }

/* 19. Accordion (FAQ) */
.faq-search-wrapper {
  max-width: 520px;
  margin: 0 auto 56px;
  position: relative;
}
.faq-search-wrapper svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--color-text-muted);
  pointer-events: none;
}
.faq-search {
  width: 100%;
  padding: 16px 16px 16px 48px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-white);
  outline: none;
  transition: var(--transition);
}
.faq-search:focus { border-color: var(--color-gold); box-shadow: 0 0 0 3px rgba(196,153,46,0.12); }
.faq-search::placeholder { color: var(--color-text-muted); }

.faq-categories { display: flex; flex-direction: column; gap: 12px; }
.faq-category {}
.faq-category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--color-navy);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 600;
  color: var(--color-white);
  font-size: 0.95rem;
  user-select: none;
}
.faq-category-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(196,153,46,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-gold);
}
.faq-category-icon svg { width: 16px; height: 16px; }
.faq-category-title { flex: 1; }
.faq-category-arrow {
  width: 20px;
  height: 20px;
  color: rgba(255,255,255,0.5);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-category.open .faq-category-arrow { transform: rotate(180deg); }

.faq-items { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}
.faq-item:last-child { border-bottom: none; border-radius: 0 0 var(--radius-md) var(--radius-md); }
.faq-item:first-child { border-radius: var(--radius-md) var(--radius-md) 0 0; }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 24px;
  background: var(--color-surface);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: background var(--transition);
  border: none;
}
.faq-question:hover { background: var(--color-surface-2); }
.faq-question-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-gold);
  transition: transform var(--transition);
}
.faq-item.open .faq-question { background: var(--color-gold-pale); }
.faq-item.open .faq-question-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: var(--color-white);
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner {
  padding: 16px 24px 20px;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}
.faq-answer-inner a { color: var(--color-gold); text-decoration: underline; }
.faq-no-results {
  text-align: center;
  padding: 48px 24px;
  color: var(--color-text-muted);
  display: none;
}

/* 20. Legal Pages */
.legal-hero {
  padding-top: calc(var(--navbar-height) + 64px);
  padding-bottom: 48px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.legal-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 12px; color: var(--color-navy); }
.legal-meta {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}
.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}
.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--color-navy);
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}
.legal-content h2:first-child { border-top: none; margin-top: 0; }
.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--color-text);
}
.legal-content p {
  color: var(--color-text-secondary);
  margin-bottom: 14px;
  font-size: 0.95rem;
}
.legal-content ul, .legal-content ol {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal-content ol { list-style: decimal; }
.legal-content li {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  margin-bottom: 8px;
  line-height: 1.6;
}
.legal-content strong { color: var(--color-text); }
.legal-highlight {
  background: var(--color-gold-pale);
  border-left: 3px solid var(--color-gold);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}
.legal-nav {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 40px;
}
.legal-nav h3 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; color: var(--color-text-muted); font-family: var(--font-body); font-weight: 700; }
.legal-nav ul { list-style: none; padding: 0; margin: 0; }
.legal-nav li { margin-bottom: 6px; }
.legal-nav a { font-size: 0.875rem; color: var(--color-gold); }
.legal-nav a:hover { text-decoration: underline; }

/* 21. Footer */
.footer {
  background: var(--color-navy);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
}
.footer-logo img { width: 30px; height: 30px; }
.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
  max-width: 260px;
  margin-bottom: 24px;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-white);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer-col a:hover { color: var(--color-gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  transition: var(--transition);
}
.footer-legal a:hover { color: var(--color-gold); }

/* 22. Sub-hero (for inner pages) */
.sub-hero {
  padding-top: calc(var(--navbar-height) + 64px);
  padding-bottom: 64px;
  background: var(--color-surface);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.sub-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(196,153,46,0.08) 0%, transparent 70%);
}
.sub-hero .badge { margin-bottom: 20px; }
.sub-hero h1 { color: var(--color-navy); margin-bottom: 16px; }
.sub-hero p {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto 32px;
}

/* 23. Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* 24. Help Contact Card */
.contact-card {
  background: var(--color-navy);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  text-align: center;
  color: var(--color-white);
}
.contact-card h3 { color: var(--color-white); margin-bottom: 12px; font-size: 1.5rem; }
.contact-card p { color: rgba(255,255,255,0.65); margin-bottom: 24px; }
.contact-card a { color: var(--color-gold); }

/* 25. Utilities */
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.items-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.hidden { display: none !important; }

/* 26. Responsive */
@media (max-width: 1024px) {
  :root { --section-padding: 72px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero-phone { width: 220px; }
  .hero-phone-secondary { width: 170px; right: -60px; }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 56px;
    --container-padding: 20px;
  }
  .navbar-nav, .navbar-actions .btn { display: none; }
  .navbar-hamburger { display: flex; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-6 { grid-template-columns: 1fr 1fr; }

  .hero { padding-top: calc(var(--navbar-height) + 48px); padding-bottom: 56px; }
  .hero .grid-2 { gap: 48px; }
  .hero-visual { order: -1; }
  .hero-phone-wrapper { display: flex; justify-content: center; }
  .hero-phone { width: 180px; }
  .hero-phone-secondary { display: none; }
  .hero-stats { gap: 20px; }

  .stats-strip-inner { flex-wrap: wrap; }
  .stat-item { flex: 1 1 45%; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }

  .app-showcase { gap: 12px; }
  .app-screenshot { width: 120px; }

  .store-buttons { flex-direction: column; align-items: center; }
  .store-btn { min-width: 220px; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }

  .section-header { margin-bottom: 40px; }
  .pricing-card.featured { padding: 48px 28px 36px; }
}

@media (max-width: 480px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-6 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-item { flex: 1 1 100%; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .faq-category-header { font-size: 0.875rem; }
  .legal-content { padding: 40px 0 72px; }
}
