/* ==========================================================================
   CAJEPUT — CALM FINANCIAL GARDEN DESIGN SYSTEM
   Web Landing Page Stylesheet (cajeput.app)
   ========================================================================== */

:root {
  /* Brand Core — Calm Botanical Palette */
  --cajeput-green-950: #06170f;
  --cajeput-green-900: #0d281a;
  --cajeput-green-800: #143d28;
  --cajeput-green-700: #1b4332;
  --cajeput-green-600: #2d6a4f;
  --cajeput-green-500: #40916c;
  --cajeput-green-400: #52b788;
  --cajeput-green-300: #74c69d;
  --cajeput-green-200: #95d5b2;
  --cajeput-green-100: #d8f3dc;
  --cajeput-green-50:  #f2fbf5;

  /* Accents */
  --accent-gold: #e9c46a;
  --accent-amber: #f4a261;
  --accent-rose: #e76f51;
  --accent-expense: #ef4444;
  --accent-income: #22c55e;
  --accent-purple: #a855f7;

  /* Default Theme (Dark Mode Default) */
  --bg-primary: #0a0e0c;
  --bg-surface: #111814;
  --bg-surface-raised: #18231e;
  --bg-surface-card: rgba(22, 33, 27, 0.75);
  --bg-glass: rgba(15, 23, 19, 0.82);
  --bg-input: #141e19;
  
  --text-primary: #f0fdf4;
  --text-secondary: #94a39b;
  --text-tertiary: #607268;
  --text-accent: #74c69d;
  
  --border-subtle: rgba(82, 183, 136, 0.12);
  --border-focus: rgba(82, 183, 136, 0.45);
  --border-card: rgba(255, 255, 255, 0.08);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 32px rgba(82, 183, 136, 0.18);
  
  /* Typography & Sizing */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  --max-width: 1200px;
  --header-height: 76px;
}

[data-theme="light"] {
  --bg-primary: #f6f9f7;
  --bg-surface: #ffffff;
  --bg-surface-raised: #eef5f0;
  --bg-surface-card: rgba(255, 255, 255, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-input: #f0f4f1;
  
  --text-primary: #0f241a;
  --text-secondary: #4a5d52;
  --text-tertiary: #7d9185;
  --text-accent: #2d6a4f;
  
  --border-subtle: rgba(45, 106, 79, 0.14);
  --border-focus: rgba(45, 106, 79, 0.4);
  --border-card: rgba(0, 0, 0, 0.06);
  
  --shadow-sm: 0 2px 8px rgba(0, 30, 15, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 30, 15, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 30, 15, 0.12);
  --shadow-glow: 0 0 32px rgba(45, 106, 79, 0.12);
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-size-adjust: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   LAYOUT CONTAINERS & UTILITIES
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 96px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 64px 0;
  }
}

.text-center { text-align: center; }
.text-left { text-align: left; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(82, 183, 136, 0.1);
  border: 1px solid var(--border-subtle);
  color: var(--cajeput-green-300);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

[data-theme="light"] .section-label {
  color: var(--cajeput-green-600);
  background: rgba(45, 106, 79, 0.08);
}

.section-label .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--cajeput-green-400);
  box-shadow: 0 0 8px var(--cajeput-green-400);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 680px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, #d8f3dc 0%, #74c69d 50%, #40916c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .gradient-text {
  background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 60%, #52b788 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   NAVIGATION (FLOATING PILL NAVBAR)
   ========================================================================== */

.navbar-wrapper {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  pointer-events: none;
}

.navbar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  max-width: 1080px;
  padding: 10px 18px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-brand img, .nav-brand svg {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: rgba(82, 183, 136, 0.12);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-focus);
  transform: scale(1.05);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--cajeput-green-500), var(--cajeput-green-600));
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(45, 106, 79, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(64, 145, 108, 0.45);
  background: linear-gradient(135deg, var(--cajeput-green-400), var(--cajeput-green-500));
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--border-focus);
  background: var(--bg-surface-raised);
  transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .mobile-nav-toggle { display: flex; }
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 100px 24px 40px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  margin-bottom: 32px;
}

.mobile-drawer-link {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-display);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 64px);
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(82, 183, 136, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(82, 183, 136, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 40%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, black 20%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-1 {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(64, 145, 108, 0.15) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(82, 183, 136, 0.12);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cajeput-green-300);
  margin-bottom: 24px;
}

[data-theme="light"] .hero-badge {
  color: var(--cajeput-green-700);
  background: rgba(45, 106, 79, 0.08);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 36px;
}

@media (max-width: 1024px) {
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

@media (max-width: 1024px) {
  .hero-feature-tags {
    justify-content: center;
  }
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  scroll-margin-top: 100px;
}

#download,
.hero-cta-group#download,
.cta-banner#download,
.cta-store-group#download {
  scroll-margin-top: 100px;
}

@media (max-width: 1024px) {
  .hero-cta-group {
    justify-content: center;
  }
}

/* iOS Dev Badge (Hidden from public UI, preserved for development) */
.ios-dev-badge {
  display: none !important;
}

/* iOS Survey CTA Button */
.ios-survey-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  min-height: 52px;
  box-sizing: border-box;
  border-radius: var(--radius-md);
  background: var(--bg-surface-raised);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  transition: all 0.25s ease;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.ios-survey-btn:hover {
  border-color: var(--cajeput-green-400);
  background: rgba(82, 183, 136, 0.08);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  color: var(--cajeput-green-300);
}

[data-theme="light"] .ios-survey-btn:hover {
  color: var(--cajeput-green-700);
}

.ios-survey-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.app-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-raised);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  transition: all 0.25s ease;
}

.app-badge-btn:hover {
  border-color: var(--border-focus);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.app-badge-btn svg {
  width: 24px;
  height: 24px;
}

.app-badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.1;
}

.app-badge-text .caption {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
}

.app-badge-text .store-name {
  font-size: 0.95rem;
  font-weight: 700;
}

/* ==========================================================================
   INTERACTIVE PHONE MOCKUP SIMULATOR
   ========================================================================== */

.showcase-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.phone-mockup-frame {
  position: relative;
  width: 320px;
  height: 640px;
  background: #0d1410;
  border: 10px solid #1f2d25;
  border-radius: 46px;
  box-shadow: 
    0 25px 60px -15px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 40px rgba(82, 183, 136, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

[data-theme="light"] .phone-mockup-frame {
  border-color: #d1ded6;
  box-shadow: 
    0 25px 60px -15px rgba(0, 30, 15, 0.2),
    0 0 0 1px rgba(0, 0, 0, 0.08);
}

/* Notch & Island */
.phone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 20px;
  background: #050806;
  border-radius: 12px;
  z-index: 50;
}

.phone-screen {
  flex: 1;
  background: #F8FAF8;
  color: #14281e;
  padding: 32px 12px 62px 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  font-size: 0.8rem;
  font-family: var(--font-sans);
}

/* Top Phone Status Bar */
.sim-statusbar {
  position: absolute;
  top: 9px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: #14281e;
  z-index: 40;
  pointer-events: none;
}

.sim-status-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Authentic Notched Bottom Navigation Bar */
.sim-bottom-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: #ffffff;
  border-top: 1px solid #E5ECE7;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 4px;
  z-index: 40;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.04);
}

.sim-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #8C9E93;
  font-size: 0.6rem;
  font-weight: 500;
  gap: 2px;
  cursor: pointer;
  width: 48px;
  transition: all 0.2s ease;
}

.sim-nav-item.active {
  color: var(--cajeput-green-800);
  font-weight: 700;
}

.sim-nav-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cajeput-green-700);
  margin-top: 1px;
}

.sim-fab-dock {
  width: 46px;
  display: flex;
  justify-content: center;
}

.sim-fab {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cajeput-green-600);
  border: 3px solid #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(45, 106, 79, 0.35);
  transform: translateY(-12px);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.sim-fab:hover {
  transform: translateY(-14px) scale(1.05);
}

/* Tabs Content Container */
.simulator-tab-content {
  display: none;
  flex-direction: column;
  gap: 10px;
  animation: fadeInScreen 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
}

.simulator-tab-content::-webkit-scrollbar {
  display: none;
}

.simulator-tab-content.active {
  display: flex;
}

@keyframes fadeInScreen {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Screen AppBars */
.sim-appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 2px 6px;
}

.sim-avatar-chip {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sim-avatar-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #E0EFE6;
  color: var(--cajeput-green-800);
  font-weight: 800;
  font-size: 0.72rem;
  display: grid;
  place-items: center;
}

/* Botanical Cashflow Hero Card (Layar 5A) */
.sim-cashflow-card {
  background: #ffffff;
  border: 1px solid #E2EAE4;
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.sim-cashflow-header {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #6B7F72;
  text-transform: uppercase;
}

.sim-cashflow-amount {
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  color: #112219;
  margin: 3px 0 8px;
}

.sim-cashflow-breakdown {
  display: flex;
  justify-content: space-between;
  background: #F4F8F5;
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 0.7rem;
}

.sim-streak-banner {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #EEF7F1;
  border: 1px solid #D6E8DC;
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--cajeput-green-800);
}

/* Authentic White Card Container */
.sim-white-card {
  background: #ffffff;
  border: 1px solid #E5ECE7;
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.sim-card-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #556B5D;
  margin-bottom: 6px;
  display: block;
}

/* Activity Feed Items */
.sim-tx-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid #F0F4F1;
}

.sim-tx-row:last-child {
  border-bottom: none;
}

.sim-category-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.sim-tx-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: #14281e;
  line-height: 1.2;
}

.sim-tx-sub {
  font-size: 0.65rem;
  color: #7A8F82;
}

.sim-tx-amount-expense {
  font-size: 0.76rem;
  font-weight: 700;
  color: #D94A4A;
  margin-left: auto;
  white-space: nowrap;
}

.sim-tx-amount-income {
  font-size: 0.76rem;
  font-weight: 700;
  color: #2D6A4F;
  margin-left: auto;
  white-space: nowrap;
}

/* Chat & Reaction Chips */
.sim-comment-bubble {
  background: #F0F7F2;
  border-left: 3px solid var(--cajeput-green-500);
  padding: 8px 10px;
  border-radius: 4px 10px 10px 4px;
  font-size: 0.72rem;
  line-height: 1.4;
  color: #1C3325;
}

.sim-reaction-chips {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.sim-reaction-chip {
  background: #F4F8F5;
  border: 1px solid #DCE7DF;
  padding: 3px 8px;
  border-radius: 99px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--cajeput-green-800);
}

/* Mini Books Carousel (Layar 5A) */
.sim-books-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.sim-books-row::-webkit-scrollbar {
  display: none;
}

.sim-book-chip {
  flex: 0 0 calc(50% - 4px);
  background: #ffffff;
  border: 1.5px solid #E5ECE7;
  border-radius: 12px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-sizing: border-box;
}

.sim-book-chip.active {
  border-color: var(--cajeput-green-500);
  background: #F4F9F5;
}

.sim-book-chip-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #1A3124;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sim-book-chip-val {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--cajeput-green-800);
}

.sim-book-chip-meta {
  font-size: 0.6rem;
  color: #7A8F82;
}

/* Scanner Viewport (Layar 6 Auto) */
.sim-scan-viewport {
  position: relative;
  height: 125px;
  background: linear-gradient(135deg, #1C2B22 0%, #0E1813 100%);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #2D4838;
}

.sim-scan-laser {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #52B788;
  box-shadow: 0 0 10px 2px rgba(82, 183, 136, 0.85);
  animation: simLaserScan 2.2s ease-in-out infinite alternate;
}

@keyframes simLaserScan {
  0% { top: 8%; opacity: 0.8; }
  100% { top: 90%; opacity: 1; }
}

.sim-scan-frame {
  width: 140px;
  height: 80px;
  border: 1.5px dashed rgba(82, 183, 136, 0.6);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.sim-save-btn {
  background: var(--cajeput-green-600);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.74rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(45, 106, 79, 0.3);
  margin-top: 4px;
}

/* Statistics Screen (Layar 8) */
.sim-duo-bar {
  height: 10px;
  border-radius: 99px;
  overflow: hidden;
  display: flex;
  background: #E5ECE7;
  margin: 6px 0;
}

.sim-duo-segment-1 {
  background: var(--cajeput-green-600);
  height: 100%;
}

.sim-duo-segment-2 {
  background: var(--cajeput-green-300);
  height: 100%;
}

.sim-category-bar-bg {
  height: 6px;
  background: #E8EFEA;
  border-radius: 99px;
  overflow: hidden;
  margin-top: 4px;
}

.sim-category-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: var(--cajeput-green-600);
}

/* Phone Nav Switcher Tabs */
.simulator-tab-buttons {
  display: flex;
  gap: 6px;
  margin-top: 24px;
  background: var(--bg-surface);
  padding: 5px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  max-width: fit-content;
  width: auto;
  margin-left: auto;
  margin-right: auto;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  -webkit-overflow-scrolling: touch;
}

.simulator-tab-buttons::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera, Edge */
  width: 0;
  height: 0;
}

.sim-tab-btn {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  text-align: center;
  transition: all 0.2s ease;
}

.sim-tab-btn.active {
  background: var(--cajeput-green-600);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(45, 106, 79, 0.4);
}

/* ==========================================================================
   MARQUEE FEATURE TICKER
   ========================================================================== */

.marquee-section {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  padding: 20px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 36px;
  animation: marqueeScroll 32s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
}

.marquee-item .pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--cajeput-green-400);
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   SECTION 01: THE PROBLEM & WHY CAJEPUT
   ========================================================================== */

.pain-vs-solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

@media (max-width: 860px) {
  .pain-vs-solution-grid {
    grid-template-columns: 1fr;
  }
}

.pain-card {
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.18);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
}

.solution-card {
  background: rgba(45, 106, 79, 0.08);
  border: 1px solid rgba(82, 183, 136, 0.3);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-glow);
}

.card-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.card-icon-badge svg {
  width: 22px;
  height: 22px;
}

.pain-card .card-icon-badge {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.solution-card .card-icon-badge {
  background: rgba(82, 183, 136, 0.2);
  color: var(--cajeput-green-300);
}

.pain-solution-list {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pain-solution-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  line-height: 1.6;
}

.pain-solution-item .bullet-icon {
  margin-top: 3px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pain-solution-item .bullet-icon svg {
  width: 18px;
  height: 18px;
}

.bullet-icon.pain-bullet {
  color: #f87171;
}

.bullet-icon.solution-bullet {
  color: var(--cajeput-green-400);
}

/* ==========================================================================
   SECTION 02: BENTO GRID FEATURES
   ========================================================================== */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

@media (max-width: 992px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
}

.bento-card {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-md);
}

.bento-card.span-2 {
  grid-column: span 2;
}

@media (max-width: 640px) {
  .bento-card.span-2 {
    grid-column: span 1;
  }
}

.bento-visual {
  margin: 24px 0 16px;
  background: var(--bg-surface-raised);
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid var(--border-subtle);
}

.bento-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.bento-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   SECTION 03: THE METHOD (4 STEPS)
   ========================================================================== */

.method-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  position: relative;
}

@media (max-width: 960px) {
  .method-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .method-timeline {
    grid-template-columns: 1fr;
  }
}

.method-step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: all 0.3s ease;
}

.method-step-card:hover {
  border-color: var(--border-focus);
  transform: translateY(-3px);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--cajeput-green-400);
  background: rgba(82, 183, 136, 0.12);
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.step-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ==========================================================================
   SECTION 05: COMPARISON TABLE
   ========================================================================== */

.comparison-table-wrapper {
  margin-top: 48px;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.comparison-table th, .comparison-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
  background: var(--bg-surface-raised);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.comparison-table th.cajeput-col, .comparison-table td.cajeput-col {
  background: rgba(45, 106, 79, 0.08);
  font-weight: 600;
}

.comparison-table td.cajeput-col {
  color: var(--cajeput-green-300);
}

[data-theme="light"] .comparison-table td.cajeput-col {
  color: var(--cajeput-green-700);
}

/* ==========================================================================
   SECTION 06: PRICING SECTION
   ========================================================================== */

.pricing-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.pricing-toggle-btn {
  display: flex;
  align-items: center;
  background: var(--bg-surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 4px;
}

.billing-opt {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.billing-opt.active {
  background: var(--cajeput-green-600);
  color: #ffffff;
}

.discount-badge {
  background: rgba(233, 196, 106, 0.18);
  color: var(--accent-gold);
  border: 1px solid rgba(233, 196, 106, 0.35);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

@media (max-width: 960px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}

.pricing-card {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card.featured {
  border: 2px solid var(--cajeput-green-400);
  background: linear-gradient(180deg, rgba(45, 106, 79, 0.18) 0%, var(--bg-surface-card) 100%);
  box-shadow: 0 0 32px rgba(82, 183, 136, 0.2);
  transform: scale(1.02);
}

@media (max-width: 960px) {
  .pricing-card.featured {
    transform: none;
  }
}

.pricing-popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cajeput-green-500);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(64, 145, 108, 0.4);
}

.plan-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  min-height: 44px;
  margin-bottom: 24px;
}

.plan-price-block {
  margin-bottom: 32px;
}

.plan-price-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.plan-price-period {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  flex-grow: 1;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.plan-feature-item strong {
  color: var(--text-primary);
}

.plan-feature-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--cajeput-green-400);
}

/* ==========================================================================
   SECTION 07: FAQ ACCORDION
   ========================================================================== */

.faq-accordion-wrapper {
  max-width: 800px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item.active {
  border-color: var(--border-focus);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: var(--cajeput-green-400);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* ==========================================================================
   SECTION 08: BOTTOM CTA BANNER
   ========================================================================== */

.cta-banner {
  background: radial-gradient(circle at top right, rgba(82, 183, 136, 0.25), transparent 60%),
              linear-gradient(135deg, var(--cajeput-green-900), var(--cajeput-green-800));
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-xl);
  padding: 64px 32px;
  text-align: center;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .cta-banner {
  background: linear-gradient(135deg, #1b4332, #2d6a4f);
}

.cta-banner-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-banner-desc {
  font-size: 1.15rem;
  color: var(--cajeput-green-100);
  max-width: 580px;
  margin: 0 auto 36px;
}

.cta-store-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 auto;
}

.cta-banner .app-badge-btn,
.cta-banner .ios-survey-btn {
  min-height: 52px;
  box-sizing: border-box;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  padding: 64px 0 32px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand p {
  margin-top: 12px;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

/* ==========================================================================
   LEGAL PAGES STYLES
   ========================================================================== */

.legal-content-wrapper {
  max-width: 820px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.legal-content-wrapper h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.legal-content-wrapper .updated-date {
  color: var(--text-tertiary);
  font-size: 0.9rem;
  margin-bottom: 36px;
}

.legal-content-wrapper h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-top: 40px;
  margin-bottom: 14px;
  color: var(--cajeput-green-400);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
}

[data-theme="light"] .legal-content-wrapper h2 {
  color: var(--cajeput-green-700);
}

.legal-content-wrapper h3 {
  font-size: 1.1rem;
  margin-top: 24px;
  margin-bottom: 10px;
}

.legal-content-wrapper p, .legal-content-wrapper li {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-content-wrapper ul {
  padding-left: 24px;
  margin-bottom: 20px;
}

.legal-content-wrapper table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.92rem;
}

.legal-content-wrapper th, .legal-content-wrapper td {
  padding: 12px 16px;
  border: 1px solid var(--border-subtle);
}

.legal-content-wrapper th {
  background: var(--bg-surface-raised);
  color: var(--text-primary);
}

/* ==========================================================================
   PRICING SUB-LABEL (MONTHLY EQUIVALENT)
   ========================================================================== */

.price-monthly-equiv {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cajeput-green-400);
  margin-top: 6px;
  background: rgba(82, 183, 136, 0.12);
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(82, 183, 136, 0.25);
  animation: fadeInEquiv 0.25s ease;
}

[data-theme="light"] .price-monthly-equiv {
  color: var(--cajeput-green-700);
  background: rgba(45, 106, 79, 0.08);
  border-color: rgba(45, 106, 79, 0.2);
}

@keyframes fadeInEquiv {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   BOTTOM CTA STORE BUTTON GROUP
   ========================================================================== */

.cta-store-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.cta-store-group .app-badge-btn {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 12px 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cta-store-group .app-badge-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.cta-store-group .app-badge-btn.primary-store {
  background: #ffffff;
  color: var(--cajeput-green-950);
  border-color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.cta-store-group .app-badge-btn.primary-store .caption {
  color: var(--cajeput-green-700);
}

.cta-store-group .app-badge-btn.primary-store:hover {
  background: var(--cajeput-green-50);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   MODAL DIALOG (iOS WAITLIST & POPUPS)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  display: flex;
  opacity: 1;
}

.modal-dialog {
  background: var(--bg-surface-raised);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-xl);
  max-width: 480px;
  width: 100%;
  padding: 40px 32px;
  box-shadow: var(--shadow-lg), 0 0 48px rgba(82, 183, 136, 0.22);
  position: relative;
  transform: scale(0.92) translateY(16px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

[data-theme="light"] .modal-dialog {
  background: #ffffff;
  border-color: rgba(45, 106, 79, 0.3);
}

.modal-backdrop.active .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

[data-theme="light"] .modal-close-btn {
  background: rgba(0, 0, 0, 0.05);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--text-primary);
  transform: rotate(90deg);
}

.modal-icon-badge {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(82, 183, 136, 0.2), rgba(45, 106, 79, 0.4));
  border: 1px solid rgba(82, 183, 136, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2.2rem;
  box-shadow: 0 8px 24px rgba(82, 183, 136, 0.2);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.modal-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modal-input:focus {
  border-color: var(--cajeput-green-400);
  box-shadow: 0 0 0 3px rgba(82, 183, 136, 0.2);
}

.modal-submit-btn {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: var(--cajeput-green-500);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(64, 145, 108, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.modal-submit-btn:hover {
  background: var(--cajeput-green-400);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(64, 145, 108, 0.45);
}

.modal-success-state {
  display: none;
  padding: 16px 20px;
  background: rgba(82, 183, 136, 0.15);
  border: 1px solid rgba(82, 183, 136, 0.35);
  border-radius: var(--radius-md);
  color: var(--cajeput-green-300);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-top: 16px;
  text-align: center;
}

[data-theme="light"] .modal-success-state {
  color: var(--cajeput-green-700);
  background: rgba(45, 106, 79, 0.1);
  border-color: rgba(45, 106, 79, 0.25);
}

/* ==========================================================================
   MOBILE COMPARISON CARDS (GAP-03)
   ========================================================================== */

.mobile-compare-wrapper {
  display: none;
  margin-top: 36px;
}

.mobile-compare-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  background: var(--bg-surface-raised);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.mobile-compare-tab-btn {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  text-align: center;
}

.mobile-compare-tab-btn.active {
  background: var(--cajeput-green-500);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mobile-compare-cards-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-compare-card {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

.mobile-compare-card-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
}

.mobile-compare-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.85rem;
}

.mobile-compare-row.cajeput-row {
  background: rgba(82, 183, 136, 0.12);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(82, 183, 136, 0.25);
  color: var(--cajeput-green-300);
  font-weight: 700;
}

[data-theme="light"] .mobile-compare-row.cajeput-row {
  color: var(--cajeput-green-700);
  background: rgba(45, 106, 79, 0.08);
  border-color: rgba(45, 106, 79, 0.2);
}

.mobile-compare-row.other-row {
  padding: 4px 12px;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .comparison-table-wrapper {
    display: none;
  }
  .mobile-compare-wrapper {
    display: block;
  }
}

/* ==========================================================================
   FAQ CATEGORY FILTER CHIPS
   ========================================================================== */

.faq-filter-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 32px auto 36px;
  max-width: 680px;
}

.faq-filter-chip {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-raised);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.faq-filter-chip:hover {
  border-color: var(--border-focus);
  color: var(--text-primary);
}

.faq-filter-chip.active {
  background: var(--cajeput-green-500);
  color: #ffffff;
  border-color: var(--cajeput-green-500);
  box-shadow: 0 4px 12px rgba(64, 145, 108, 0.3);
}

/* ==========================================================================
   FLOATING BACK-TO-TOP BUTTON (GAP-07)
   ========================================================================== */

.back-to-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-focus);
  color: var(--cajeput-green-300);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 990;
  box-shadow: var(--shadow-md), 0 0 24px rgba(82, 183, 136, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, color 0.2s ease;
}

.back-to-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: var(--cajeput-green-500);
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 32px rgba(82, 183, 136, 0.4);
}

[data-theme="light"] .back-to-top-btn {
  color: var(--cajeput-green-700);
  border-color: rgba(45, 106, 79, 0.3);
}

[data-theme="light"] .back-to-top-btn:hover {
  color: #ffffff;
}

/* ==========================================================================
   AI SCAN SHOWCASE RESPONSIVE CARD
   ========================================================================== */

.ai-scan-card {
  max-width: 920px;
  margin: 48px auto 0;
  background: var(--bg-surface-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.ai-scan-card-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS REFINEMENTS (320px - 768px VIEWPORTS)
   ========================================================================== */

@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 48px;
  }

  .hero-title {
    font-size: clamp(1.85rem, 5.5vw, 2.35rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 28px;
    padding: 0 12px;
  }

  .hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-cta-group .app-badge-btn,
  .hero-cta-group .ios-survey-btn {
    width: 100%;
    min-height: 52px;
    height: 52px;
    padding: 8px 20px;
    box-sizing: border-box;
    justify-content: center;
    border-radius: var(--radius-lg);
  }

  .phone-mockup-frame {
    width: min(300px, calc(100vw - 48px));
    height: 580px;
    border-width: 8px;
    border-radius: 36px;
  }

  .simulator-tab-buttons {
    max-width: min(100%, 390px);
    padding: 4px;
    gap: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .simulator-tab-buttons::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .sim-tab-btn {
    padding: 6px 11px;
    font-size: 0.74rem;
  }

  .ai-scan-card {
    padding: 24px 20px;
    margin-top: 32px;
  }

  .ai-scan-card-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cta-store-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .cta-store-group .app-badge-btn,
  .cta-store-group .ios-survey-btn {
    width: 100%;
    min-height: 52px;
    height: 52px;
    padding: 8px 20px;
    box-sizing: border-box;
    justify-content: center;
    border-radius: var(--radius-lg);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .navbar-wrapper {
    padding: 0 8px;
    top: 10px;
  }

  .navbar {
    padding: 8px 12px;
    gap: 8px;
  }

  .navbar-wrapper .btn-primary {
    display: none;
  }

  .hero-title {
    font-size: clamp(1.5rem, 6.8vw, 1.85rem);
    line-height: 1.22;
    letter-spacing: -0.015em;
    margin-bottom: 16px;
    padding: 0 4px;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    padding: 0 4px;
  }

  .hero-feature-tags {
    gap: 6px;
    margin-bottom: 28px;
  }

  .feature-tag {
    padding: 5px 10px;
    font-size: 0.78rem;
  }

  .hero-cta-group {
    max-width: 290px;
    gap: 10px;
    margin: 0 auto;
  }

  .hero-cta-group .app-badge-btn,
  .hero-cta-group .ios-survey-btn {
    width: 100%;
    min-height: 50px;
    height: 50px;
    padding: 8px 16px;
    border-radius: var(--radius-lg);
  }

  .hero-cta-group .app-badge-text .caption,
  .cta-store-group .app-badge-text .caption {
    font-size: 0.62rem;
  }

  .hero-cta-group .app-badge-text .store-name,
  .cta-store-group .app-badge-text .store-name {
    font-size: 0.9rem;
  }

  .cta-store-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 290px;
    gap: 10px;
    margin: 0 auto;
  }

  .cta-store-group .app-badge-btn,
  .cta-store-group .ios-survey-btn {
    width: 100%;
    min-height: 50px;
    height: 50px;
    padding: 8px 16px;
    border-radius: var(--radius-lg);
  }

  .phone-mockup-frame {
    width: min(280px, calc(100vw - 32px));
    height: 540px;
    border-width: 6px;
    border-radius: 30px;
  }

  .phone-island {
    width: 76px;
    height: 16px;
    border-radius: 8px;
  }

  .phone-screen {
    padding: 28px 10px 12px;
  }

  .sim-plant-icon {
    font-size: 1.8rem;
  }

  .sim-balance-val {
    font-size: 1.15rem;
  }

  .bento-card {
    padding: 22px 16px;
  }

  .method-step-card {
    padding: 22px 18px;
  }

  .pricing-card {
    padding: 28px 18px;
  }

  .cta-banner {
    padding: 36px 18px;
  }

  .modal-dialog {
    padding: 28px 18px;
  }
}



