/* ==========================================================================
   LiveApps Suite — Unified Design System & Mobile Responsive Stylesheet
   Covers: Smart Expense Tracker & Smart SMS Organizer
   ========================================================================== */

:root {
  /* Surface & Base Colors */
  --bg-main: #080a14;
  --bg-card: #0e1424;
  --bg-card-hover: #141c33;
  --bg-card-alt: #131a2e;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.12);
  --border-focus: rgba(255, 255, 255, 0.25);
  
  /* Text Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* Expense Tracker Theme (Emerald Green) */
  --green-primary: #10b981;
  --green-hover: #059669;
  --green-light: #34d399;
  --green-glow: rgba(16, 185, 129, 0.25);
  --green-surface: rgba(16, 185, 129, 0.08);
  --green-border: rgba(16, 185, 129, 0.35);

  /* SMS Organizer Theme (Electric Cyan / Royal Blue) */
  --blue-primary: #3b82f6;
  --blue-hover: #2563eb;
  --blue-light: #60a5fa;
  --cyan-accent: #06b6d4;
  --blue-glow: rgba(59, 130, 246, 0.25);
  --blue-surface: rgba(59, 130, 246, 0.08);
  --blue-border: rgba(59, 130, 246, 0.35);

  /* Accent & Utility Colors */
  --purple-accent: #8b5cf6;
  --amber-accent: #f59e0b;
  --amber-light: #fcd34d;
  --amber-surface: rgba(245, 158, 11, 0.08);
  --amber-border: rgba(245, 158, 11, 0.35);
  --red-accent: #ef4444;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 1.5rem);
  padding-right: clamp(1rem, 4vw, 1.5rem);
}

/* Ambient Background Glows */
.ambient-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  opacity: 0.45;
}

.glow-top-left {
  top: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.35) 0%, rgba(59, 130, 246, 0) 70%);
}

.glow-top-right {
  top: -150px;
  right: -150px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.35) 0%, rgba(16, 185, 129, 0) 70%);
}

.glow-center {
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, rgba(139, 92, 246, 0) 70%);
}

/* ==========================================================================
   Top Announcement Bar
   ========================================================================== */
.top-announcement {
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.55rem 0;
  font-size: 0.85rem;
  position: relative;
  z-index: 20;
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  text-align: center;
}

.announcement-pill {
  background: var(--blue-primary);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.6rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}

.announcement-text {
  color: var(--text-secondary);
}

.announcement-link {
  color: var(--blue-light);
  font-weight: 600;
  margin-left: 0.25rem;
}
.announcement-link:hover {
  text-decoration: underline;
  color: #ffffff;
}

/* ==========================================================================
   Main Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 10, 20, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.brand-icon svg {
  width: 100%;
  height: 100%;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.15;
}

.brand-tag {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Product Switcher Pill in Navbar */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.product-switch-pill {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-card);
  border-radius: 9999px;
  padding: 3px;
  gap: 3px;
}

.switch-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.switch-btn:hover {
  color: #ffffff;
}

.switch-btn.active[data-product="sms"] {
  background: rgba(59, 130, 246, 0.2);
  color: #ffffff;
  border: 1px solid var(--blue-border);
}

.switch-btn.active[data-product="expense"] {
  background: rgba(245, 158, 11, 0.15);
  color: #ffffff;
  border: 1px solid var(--amber-border);
}

.switch-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.switch-dot.blue { background: var(--blue-primary); box-shadow: 0 0 8px var(--blue-primary); }
.switch-dot.amber { background: var(--amber-accent); box-shadow: 0 0 8px var(--amber-accent); }

.live-dot-tag {
  font-size: 0.65rem;
  background: rgba(16, 185, 129, 0.25);
  color: var(--green-light);
  font-weight: 700;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  margin-left: 0.2rem;
}

.review-dot-tag {
  font-size: 0.65rem;
  background: rgba(245, 158, 11, 0.25);
  color: var(--amber-light);
  font-weight: 700;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  margin-left: 0.2rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.nav-link:hover {
  color: #ffffff;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.65rem 1.25rem;
  border-radius: 12px;
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  border-radius: 10px;
}

.btn-icon {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-primary), var(--cyan-accent));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}
.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-cyan {
  background: var(--blue-primary);
  color: #ffffff;
  box-shadow: 0 4px 16px var(--blue-glow);
}
.btn-cyan:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
}

.btn-outline-subtle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
}
.btn-outline-subtle:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.btn-block {
  width: 100%;
}

/* Pulse Dot Animation */
.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.pulse-dot.green {
  background: var(--green-primary);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.pulse-dot.amber {
  background: var(--amber-accent);
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  animation: pulseAmber 1.8s infinite;
}

@keyframes pulseAmber {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.info-dot.blue {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-primary);
  flex-shrink: 0;
}

/* Hamburger Button */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  padding: 0;
  z-index: 101;
}

.hamburger-btn .bar {
  width: 100%;
  height: 2.5px;
  background-color: #ffffff;
  border-radius: 4px;
  transition: all 0.25s ease;
}

.hamburger-btn.is-active .bar:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}
.hamburger-btn.is-active .bar:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.is-active .bar:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  width: 100%;
  background: rgba(10, 14, 28, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-card);
  padding: 1.5rem 1.25rem 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  z-index: 99;
}

.mobile-drawer.open {
  display: block;
  animation: slideDown 0.25s ease forwards;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-product-pills {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.mobile-pill-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
}

.mobile-pill-btn.blue-glow { border-color: var(--blue-border); color: #ffffff; }
.mobile-pill-btn.green-glow { border-color: var(--amber-border); color: #ffffff; }

.mobile-pill-text {
  display: flex;
  flex-direction: column;
}
.live-badge-sm { font-size: 0.7rem; color: var(--green-light); font-weight: 700; }
.review-badge-sm { font-size: 0.7rem; color: var(--amber-light); font-weight: 700; }

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

.mobile-nav-links a {
  display: block;
  padding: 0.6rem 0.5rem;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 8px;
}
.mobile-nav-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   Hero Section (Master Dual-App Hero)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 3.5rem 0 4rem;
  z-index: 10;
  text-align: center;
}

.hero-badge-wrap {
  display: inline-flex;
  margin-bottom: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-card);
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 5.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.gradient-text {
  background: linear-gradient(135deg, #3b82f6 0%, #10b981 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

/* Hero Dual Product Jump Cards */
.hero-product-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto 2rem;
  text-align: left;
}

.hero-pcard {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 1.5rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.hero-pcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

.hero-pcard-blue:hover { border-color: var(--blue-primary); }
.hero-pcard-green:hover { border-color: var(--amber-accent); }

.pcard-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.green-badge-solid {
  background: rgba(16, 185, 129, 0.18);
  color: var(--green-light);
  border: 1px solid var(--green-border);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  letter-spacing: 0.05em;
  line-height: 1;
}

.amber-badge-solid {
  background: rgba(245, 158, 11, 0.18);
  color: var(--amber-light);
  border: 1px solid var(--amber-border);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  letter-spacing: 0.05em;
  line-height: 1;
}

.pcard-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pcard-icon svg { width: 22px; height: 22px; }
.pcard-icon.blue { background: rgba(59, 130, 246, 0.15); color: var(--blue-primary); border: 1px solid var(--blue-border); }
.pcard-icon.green { background: rgba(245, 158, 11, 0.15); color: var(--amber-accent); border: 1px solid var(--amber-border); }

.pcard-titles {
  margin-bottom: 0.65rem;
}

.pcard-titles h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.pcard-titles p {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pcard-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.pcard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.pcard-link.blue { color: var(--blue-light); }
.pcard-link.green { color: var(--amber-light); }
.pcard-stat { color: var(--text-muted); }

/* Hero Download Action Area */
.hero-download-action-wrap {
  margin-bottom: 3.5rem;
}

.hero-download-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.hero-primary-store-btn {
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}
.hero-primary-store-btn:hover {
  border-color: var(--blue-light);
  box-shadow: 0 8px 28px rgba(59, 130, 246, 0.45);
}

.qr-quick-btn {
  min-height: 56px;
  height: 56px;
  padding: 0.65rem 1.4rem;
  border-radius: 14px;
}

.live-pill-inline {
  background: var(--green-primary);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  letter-spacing: 0.05em;
  margin-left: 0.35rem;
}

.hero-subnotices {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.hero-subnotice-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Universal Button Styles */
.playstore-badge-btn {
  min-height: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 0.65rem 1.4rem;
  border-radius: 14px;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  transition: all var(--transition-fast);
  box-sizing: border-box;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  position: relative;
}

.playstore-badge-btn:hover {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.store-svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-svg-sm {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.store-sub {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.05em;
}

.store-main {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: #ffffff;
}

/* Hero Mockups Showcase */
.hero-mockups-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 860px;
  margin: 0 auto 3rem;
}

.hero-mockup-card {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 1.25rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transition: transform var(--transition-normal);
}
.hero-mockup-card:hover {
  transform: translateY(-6px);
}

.hero-mockup-card.blue-border {
  border: 1px solid var(--blue-border);
  box-shadow: 0 20px 50px rgba(59, 130, 246, 0.12);
}
.hero-mockup-card.green-border {
  border: 1px solid var(--amber-border);
  box-shadow: 0 20px 50px rgba(245, 158, 11, 0.1);
}

.mockup-label {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mockup-label.blue { color: var(--blue-light); }
.mockup-label.green { color: var(--amber-light); }

.mockup-screen-container {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, #030712 100%);
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 1.25rem 1.25rem 0;
  height: 480px;
}

.hero-screen-img {
  width: 100%;
  max-width: 255px;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 16px 16px 0 0;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-bottom: none;
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.7);
  transition: transform 0.35s ease;
}

.floating-stat-pill {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(14, 20, 36, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  width: max-content;
  max-width: 90%;
}

.floating-stat-pill.stat-blue { border: 1px solid var(--blue-border); }
.floating-stat-pill.stat-green { border: 1px solid var(--green-border); }

.floating-stat-pill .icon { font-size: 1.2rem; }
.floating-stat-pill div { display: flex; flex-direction: column; text-align: left; }
.floating-stat-pill strong { font-size: 0.85rem; color: #ffffff; line-height: 1.1; }
.floating-stat-pill small { font-size: 0.7rem; color: var(--text-secondary); }

/* Hero Trust Badges Strip */
.hero-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  flex-wrap: wrap;
  padding-top: 1rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.trust-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ==========================================================================
   Product Sections Common Styling
   ========================================================================== */
.product-section {
  padding: 5rem 0;
  position: relative;
  z-index: 10;
}

.sms-theme-section {
  background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.05) 0%, transparent 60%);
  border-top: 1px solid var(--border-subtle);
}

.expense-theme-section {
  background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.04) 0%, transparent 60%);
  border-top: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3rem;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.product-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.blue-badge {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid var(--blue-border);
  color: var(--blue-light);
}
.blue-badge .dot { background: var(--blue-primary); box-shadow: 0 0 6px var(--blue-primary); }

.yellow-badge {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--amber-border);
  color: var(--amber-light);
}
.yellow-badge .dot { background: var(--amber-accent); }

.purple-badge {
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #c4b5fd;
}
.purple-badge .dot { background: var(--purple-accent); }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   SMS Organizer Hero Banner
   ========================================================================== */
.sms-hero-banner {
  background: var(--bg-card);
  border: 1px solid var(--blue-border);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 3.5rem;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

.sms-banner-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
}

.sms-banner-text {
  padding: 3rem;
}

.sms-rank-badge {
  display: inline-block;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid var(--blue-border);
  color: var(--blue-light);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.sms-banner-text h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.sms-banner-text p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.sms-metric-badges {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.sms-metric {
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.metric-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.sms-banner-image-wrap {
  padding: 1.5rem;
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  display: flex;
  justify-content: center;
}

.sms-banner-image-wrap .screenshot-box {
  width: 280px;
  max-width: 100%;
  height: 498px;
  border-radius: 22px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 30px rgba(59, 130, 246, 0.25);
  padding: 0;
  overflow: hidden;
}

.sms-feature-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* ==========================================================================
   Expense Tracker Banners & Grid
   ========================================================================== */
.expense-wide-banners {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.wide-banner-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-normal);
}
.wide-banner-card:hover {
  transform: translateY(-4px);
  border-color: var(--green-border);
}

.wide-banner-img-wrap {
  width: 100%;
  background: #030712;
  overflow: hidden;
}

.banner-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}
.wide-banner-card:hover .banner-img {
  transform: scale(1.03);
}

.banner-caption {
  padding: 1.25rem 1.5rem 1.5rem;
}

.banner-caption h3 {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.banner-caption p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Feature Grid (Cards with Screenshots) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3rem;
}

@media (min-width: 1025px) {
  .expense-theme-section .features-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .expense-theme-section .features-grid .feature-card:nth-child(1),
  .expense-theme-section .features-grid .feature-card:nth-child(2),
  .expense-theme-section .features-grid .feature-card:nth-child(3) {
    grid-column: span 2;
  }
  .expense-theme-section .features-grid .feature-card:nth-child(4),
  .expense-theme-section .features-grid .feature-card:nth-child(5) {
    grid-column: span 3;
  }
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: all var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.22);
}

.screenshot-box {
  position: relative;
  background: linear-gradient(180deg, #091222 0%, #030712 100%);
  width: 100%;
  height: 440px;
  overflow: hidden;
  cursor: zoom-in;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.25rem 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-img {
  width: 100%;
  max-width: 240px;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px 16px 0 0;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-bottom: none;
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.6);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.screenshot-box:hover .feature-img {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 -12px 35px rgba(59, 130, 246, 0.35);
}

.zoom-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.screenshot-box:hover .zoom-overlay {
  opacity: 1;
}

.zoom-icon {
  background: rgba(14, 20, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.feature-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.feature-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}
.green-tag { color: var(--green-light); }
.blue-tag { color: var(--blue-light); }

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.feature-checklist {
  list-style: none;
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.feature-checklist li {
  font-size: 0.82rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.feature-checklist li::before {
  content: "•";
  color: var(--blue-primary);
  font-weight: bold;
  font-size: 1.1rem;
}
.expense-theme-section .feature-checklist li::before {
  color: var(--green-primary);
}

/* Dedicated Product CTA Strips */
.product-cta-strip {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 2.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.product-cta-strip.blue-theme {
  border: 1px solid var(--blue-border);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, var(--bg-card) 100%);
}

.product-cta-strip.amber-theme {
  border: 1px solid var(--amber-border);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, var(--bg-card) 100%);
}

.cta-strip-content .cta-pill {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--blue-light);
  margin-bottom: 0.4rem;
}

.cta-strip-content .cta-pill-amber {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--amber-light);
  margin-bottom: 0.4rem;
}

.cta-strip-content h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.cta-strip-content p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  max-width: 620px;
}

.cta-strip-actions {
  flex-shrink: 0;
}

.review-status-box {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--amber-border);
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--amber-light);
}

/* ==========================================================================
   Interactive Live Simulators Section
   ========================================================================== */
.interactive-section {
  padding: 5rem 0;
  border-top: 1px solid var(--border-subtle);
  background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.05) 0%, transparent 60%);
}

.interactive-tabs-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.interactive-nav-pills {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 9999px;
  padding: 4px;
  gap: 4px;
}

.int-pill {
  padding: 0.65rem 1.4rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.int-pill:hover {
  color: #ffffff;
}

.int-pill.active {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(16, 185, 129, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.live-pill-micro {
  background: var(--green-primary);
  color: #ffffff;
  font-size: 0.6rem;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  margin-left: 0.25rem;
}

.simulator-panel {
  max-width: 980px;
  margin: 0 auto;
}

/* Simulator: SMS Inbox Simulator */
.sim-sms-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.sms-sim-device {
  background: #000000;
  border: 3px solid #334155;
  border-radius: 36px;
  padding: 0.75rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  max-width: 420px;
  margin: 0 auto;
}

.device-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
}

.device-notch {
  width: 110px;
  height: 18px;
  background: #1e293b;
  border-radius: 9999px;
}

.device-app-header {
  background: #0f172a;
  border-radius: 20px 20px 0 0;
  padding: 1rem 1rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.device-app-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.device-app-title h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.unread-pill {
  background: var(--blue-primary);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
}

.device-search-bar {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 0.45rem 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.device-category-tabs {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}
.device-category-tabs::-webkit-scrollbar { display: none; }

.dev-tab {
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.dev-tab.active {
  background: var(--blue-primary);
  color: #ffffff;
}

.dev-tab.spam-tab.active {
  background: var(--red-accent);
}

.dev-tab .badge {
  background: rgba(0, 0, 0, 0.25);
  padding: 0.05rem 0.35rem;
  border-radius: 9999px;
  font-size: 0.65rem;
}
.dev-tab .red-badge {
  background: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.device-message-stream {
  background: #020617;
  border-radius: 0 0 20px 20px;
  padding: 0.75rem;
  height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.msg-card {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 0.75rem;
  display: flex;
  gap: 0.65rem;
  transition: all var(--transition-fast);
}
.msg-card:hover {
  background: #1e293b;
}

.msg-card.spam-card {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.06);
}

.msg-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  background: #1e293b;
}

.msg-content {
  flex-grow: 1;
}

.msg-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.2rem;
}

.msg-sender {
  font-size: 0.78rem;
  color: #ffffff;
  font-weight: 700;
}

.msg-time {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.msg-text {
  font-size: 0.74rem;
  color: #cbd5e1;
  line-height: 1.4;
  margin-bottom: 0.45rem;
}

.msg-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.meta-tag {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}
.tag-blue { background: rgba(59, 130, 246, 0.2); color: var(--blue-light); }
.tag-green { background: rgba(16, 185, 129, 0.2); color: var(--green-light); }
.tag-purple { background: rgba(139, 92, 246, 0.2); color: #c4b5fd; }
.tag-red { background: rgba(239, 68, 68, 0.2); color: #fca5a5; }

.meta-action, .meta-reply {
  font-size: 0.68rem;
  color: var(--blue-light);
  font-weight: 600;
  cursor: pointer;
}
.meta-status {
  font-size: 0.68rem;
  color: var(--red-accent);
  font-weight: 600;
}

.copy-otp-btn {
  background: var(--green-primary);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.copy-otp-btn:hover { opacity: 0.9; }

.sms-sim-info h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.sms-sim-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.sim-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.sim-bullets li {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.5;
  padding-left: 1.25rem;
  position: relative;
}
.sim-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cyan-accent);
  font-weight: bold;
}

/* Simulator: Budget Controls */
.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.sim-controls-card, .sim-results-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4);
}

.sim-card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.sim-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

.slider-group {
  margin-bottom: 1.75rem;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.slider-header label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
}

.slider-display {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-light);
}

.custom-range {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: #1e293b;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-primary);
  cursor: pointer;
  border: 3px solid #ffffff;
  box-shadow: 0 0 10px var(--green-glow);
}

.custom-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-primary);
  cursor: pointer;
  border: 3px solid #ffffff;
  box-shadow: 0 0 10px var(--green-glow);
}

.slider-hints {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.sim-feature-callout {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--green-surface);
  border: 1px solid var(--green-border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  color: var(--green-light);
  line-height: 1.4;
}
.sim-feature-callout svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.results-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.budget-status-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 9999px;
}
.budget-status-pill.safe {
  background: rgba(16, 185, 129, 0.15);
  color: var(--green-light);
  border: 1px solid var(--green-border);
}

.metric-highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.highlight-metric-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
}

.hl-lbl {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.hl-val {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
}
.green-text { color: var(--green-light); }
.blue-text { color: var(--blue-light); }

.hl-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.category-breakdown-box h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.cat-bar-item {
  margin-bottom: 0.95rem;
}

.cat-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
  font-weight: 500;
}
.cat-bar-header span:last-child {
  font-weight: 700;
  color: #ffffff;
}

.cat-progress-bg {
  width: 100%;
  height: 6px;
  background: #1e293b;
  border-radius: 9999px;
  overflow: hidden;
}

.cat-progress-fill {
  height: 100%;
  background: var(--green-primary);
  border-radius: 9999px;
  transition: width 0.3s ease;
}
.fill-amber { background: var(--amber-accent); }
.fill-cyan { background: var(--cyan-accent); }
.fill-purple { background: var(--purple-accent); }

/* ==========================================================================
   Security & Offline Privacy Pillars
   ========================================================================== */
.privacy-section {
  padding: 5rem 0;
  border-top: 1px solid var(--border-subtle);
}

.privacy-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.privacy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: transform var(--transition-normal);
}
.privacy-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border-subtle);
}
.pillar-icon svg {
  width: 24px;
  height: 24px;
}

.privacy-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.privacy-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   User Reviews & Testimonials
   ========================================================================== */
.reviews-section {
  padding: 5rem 0;
  border-top: 1px solid var(--border-subtle);
  background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.04) 0%, transparent 60%);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: #fbbf24;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.review-quote {
  font-size: 0.95rem;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
  flex-grow: 1;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-primary), var(--green-primary));
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reviewer-info strong {
  display: block;
  font-size: 0.9rem;
  color: #ffffff;
  line-height: 1.2;
}

.reviewer-info small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 5rem 0;
  border-top: 1px solid var(--border-subtle);
}

.faq-accordion-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}
.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  gap: 1rem;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  stroke: var(--text-muted);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  stroke: var(--blue-light);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.5rem;
}

/* ==========================================================================
   Universal Download & QR Section
   ========================================================================== */
.download-section {
  padding: 5.5rem 0 6rem;
  border-top: 1px solid var(--border-subtle);
  background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.08) 0%, rgba(16, 185, 129, 0.08) 50%, transparent 80%);
}

.download-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1050px;
  margin: 0 auto;
}

.download-card {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 2.25rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
}

.download-card.blue-card {
  border: 1px solid var(--blue-border);
}
.download-card.green-card {
  border: 1px solid var(--amber-border);
}

.dl-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.dl-app-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dl-app-icon svg { width: 26px; height: 26px; }
.dl-app-icon.blue { background: rgba(59, 130, 246, 0.15); color: var(--blue-primary); border: 1px solid var(--blue-border); }
.dl-app-icon.green { background: rgba(245, 158, 11, 0.15); color: var(--amber-accent); border: 1px solid var(--amber-border); }

.dl-app-titles {
  margin-bottom: 1.25rem;
}

.dl-app-titles h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.dl-app-titles p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.dl-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.dl-qr-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
}

.qr-box {
  background: #ffffff;
  padding: 0.5rem;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  text-align: center;
  flex-shrink: 0;
}

.qr-image {
  width: 100px;
  height: 100px;
  display: block;
}

.qr-caption {
  display: block;
  font-size: 0.62rem;
  color: #475569;
  font-weight: 700;
  margin-top: 0.3rem;
  text-transform: uppercase;
}

.dl-store-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.store-btn-compact {
  min-height: 52px;
  height: 52px;
  padding: 0.45rem 1.1rem;
  width: 100%;
}
.store-btn-compact .store-svg {
  width: 24px;
  height: 24px;
}
.store-btn-compact .store-main {
  font-size: 0.95rem;
}
.store-btn-compact .store-sub {
  font-size: 0.62rem;
}

/* iOS Coming Soon Pill */
.ios-coming-soon-pill {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  color: var(--text-muted);
}
.ios-coming-soon-pill .store-svg-sm {
  opacity: 0.6;
}
.ios-coming-soon-pill .store-main {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* In-Review Status Container (Replaces Download Buttons in Expense Tracker) */
.in-review-container {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  background: rgba(245, 158, 11, 0.04);
  border: 1px solid var(--amber-border);
  border-radius: 16px;
  padding: 1.25rem 1.4rem;
}

.in-review-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: #ffffff;
}
.in-review-header strong {
  font-family: var(--font-heading);
}

.in-review-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0.85rem;
}

.in-review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-top: 1px solid rgba(245, 158, 11, 0.15);
  padding-top: 0.65rem;
  font-size: 0.75rem;
}

.in-review-tag {
  color: var(--amber-light);
  font-weight: 700;
}

.in-review-eta {
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   Lightbox Modal
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lightbox-dialog {
  position: relative;
  z-index: 10;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  animation: zoomIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 20;
  transition: background var(--transition-fast);
}
.lightbox-close:hover {
  background: var(--red-accent);
}

.lightbox-content {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.lightbox-img-wrap {
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  max-height: 65vh;
}

#lightbox-img {
  max-height: 60vh;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-details {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

#lightbox-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

#lightbox-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
  background: #05070d;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 3rem;
  position: relative;
  z-index: 10;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 360px;
  margin-bottom: 1.5rem;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-links-col h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-col a {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.footer-links-col a:hover {
  color: #ffffff;
}

.footer-muted-text {
  font-size: 0.85rem;
  color: var(--amber-light);
  font-weight: 600;
}

/* ==========================================================================
   Responsive Media Queries (Thorough Mobile & Tablet Polish)
   ========================================================================== */

/* Tablet & Smaller Desktops (<= 1024px) */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .privacy-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .sms-banner-grid {
    grid-template-columns: 1fr;
  }

  .sms-banner-text {
    padding: 2.25rem 2rem;
  }

  .sms-banner-image-wrap {
    padding-bottom: 2.5rem;
  }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .top-announcement {
    display: none;
  }

  .hero-section {
    padding: 2.5rem 0 3rem;
  }

  .hero-product-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-mockups-wrapper {
    grid-template-columns: 1fr;
    max-width: 380px;
    gap: 1.5rem;
  }

  .mockup-screen-container {
    height: 420px;
    padding: 1rem 1rem 0;
  }

  .hero-screen-img {
    height: 100%;
    max-width: 230px;
  }

  .screenshot-box {
    height: 390px;
    padding: 1rem 0.75rem 0;
  }

  .feature-img {
    max-width: 215px;
    height: 100%;
  }

  .sms-banner-image-wrap .screenshot-box {
    width: 240px;
    height: 426px;
  }

  .hero-download-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    gap: 0.85rem;
  }

  .playstore-badge-btn, .qr-quick-btn {
    width: 100%;
  }

  .hero-subnotices {
    text-align: center;
    padding: 0 1rem;
  }

  .expense-wide-banners {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .product-cta-strip {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }

  .product-cta-strip .cta-strip-actions {
    width: 100%;
  }
  .product-cta-strip .btn {
    width: 100%;
  }

  .sim-grid {
    grid-template-columns: 1fr;
  }

  .sim-sms-wrapper {
    grid-template-columns: 1fr;
  }

  .download-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .dl-qr-wrap {
    flex-direction: column;
    text-align: center;
  }

  .dl-store-stack {
    width: 100%;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .privacy-pillars-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Small Screens (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .mockup-screen-container {
    height: 380px;
    padding: 0.75rem 0.75rem 0;
  }

  .hero-screen-img {
    height: 100%;
    max-width: 210px;
  }

  .screenshot-box {
    height: 360px;
    padding: 0.75rem 0.5rem 0;
  }

  .feature-img {
    max-width: 200px;
    height: 100%;
  }

  .sms-banner-image-wrap .screenshot-box {
    width: 210px;
    height: 373px;
  }

  .hero-title {
    font-size: 1.95rem;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .metric-highlight-grid {
    grid-template-columns: 1fr;
  }

  .sms-banner-text {
    padding: 1.5rem 1.25rem;
  }

  .sms-metric-badges {
    gap: 1rem;
  }

  .metric-val {
    font-size: 1.35rem;
  }

  .download-card {
    padding: 1.5rem;
  }

  .int-pill {
    padding: 0.5rem 0.85rem;
    font-size: 0.78rem;
  }
}

/* Extra Compact Phones (<= 360px) */
@media (max-width: 360px) {
  .store-main {
    font-size: 1rem;
  }

  .brand-name {
    font-size: 1.1rem;
  }
}
