/* ==========================================================================
   BooM by Codyie-sketch — Professional Corporate Landing Page Stylesheet
   Design Philosophy: Apple Human Interface Guidelines / Linear Clean Aesthetic
   Palette: Deep Slate (#090a0f), Card Surface (#11141c), Emerald (#10b981),
            Text Pure White (#ffffff), Text Muted (#8e95a5), Border (#1e2230)
   ========================================================================== */

:root {
  --bg-page: #08090d;
  --bg-surface: #0f121a;
  --bg-card: #131722;
  --bg-card-hover: #181d2b;
  --bg-elevated: #1d2334;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: #1f2536;
  --border-focus: #10b981;
  
  --text-pure: #ffffff;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-tertiary: #64748b;
  
  --accent-emerald: #10b981;
  --accent-emerald-subtle: rgba(16, 185, 129, 0.12);
  --accent-cyan: #06b6d4;
  --accent-gold: #f59e0b;
  --accent-rose: #f43f5e;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --radius-squircle: 22.5%;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.65);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.max-w-narrow {
  max-width: 820px;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.top-nav-bar {
  background: #0d1017;
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 0;
  font-size: 0.8rem;
}

.top-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.top-tag {
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.8px;
}

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

.top-link {
  color: var(--accent-emerald);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease;
}

.top-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   PRIMARY NAVBAR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 9, 13, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  height: 68px;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Link with Official App Icon */
.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-pure);
}

.brand-icon-img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: block;
}

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

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.brand-company {
  font-size: 0.68rem;
  color: var(--text-tertiary);
  font-weight: 600;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.15s ease;
}

.nav-item:hover {
  color: var(--text-pure);
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
}

/* ==========================================================================
   BUTTONS & TYPOGRAPHY
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  white-space: nowrap;
}

.btn-primary-sm {
  background: var(--accent-emerald);
  color: #000;
  font-size: 0.85rem;
  padding: 8px 18px;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.35);
}

.btn-primary-sm:hover {
  background: #34d399;
  transform: translateY(-1px);
}

.btn-secondary-sm {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.85rem;
  padding: 8px 16px;
}

.btn-secondary-sm:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.btn-primary-lg {
  background: var(--accent-emerald);
  color: #000;
  font-size: 1.05rem;
  padding: 14px 28px;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
}

.btn-primary-lg:hover {
  background: #34d399;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.5);
}

.btn-secondary-lg {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-card);
  color: var(--text-pure);
  font-size: 1.02rem;
  padding: 14px 24px;
}

.btn-secondary-lg:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.btn-ghost-lg {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-secondary);
  font-size: 0.95rem;
  padding: 14px 22px;
}

.btn-ghost-lg:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-primary-md {
  background: var(--accent-emerald);
  color: #000;
  font-size: 0.92rem;
  padding: 10px 20px;
}

.btn-secondary-md {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.92rem;
  padding: 10px 18px;
}

/* ==========================================================================
   HERO SECTION (VIEWPORT-FIT 2-COLUMN ARCHITECTURE)
   ========================================================================== */
.hero-section {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: 16px 0 24px;
  position: relative;
  background: radial-gradient(circle at 60% 30%, #121727 0%, var(--bg-page) 75%);
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 32px;
  max-width: 1240px;
  width: 100%;
}

.hero-header {
  max-width: 600px;
  text-align: left;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.eyebrow-badge {
  background: rgba(16, 185, 129, 0.16);
  color: var(--accent-emerald);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.hero-title {
  font-size: clamp(2rem, 3.2vw, 3.3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.2px;
  color: var(--text-pure);
  margin-bottom: 14px;
}

.hero-lead {
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

/* Key Metrics Strip */
.hero-metrics-strip {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: rgba(19, 23, 34, 0.75);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 10px 20px;
  margin-bottom: 0;
  backdrop-filter: blur(16px);
}

.metric-block {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.metric-num {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-pure);
  line-height: 1.15;
}

.metric-lbl {
  font-size: 0.65rem;
  color: var(--text-tertiary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.metric-separator {
  width: 1px;
  height: 24px;
  background: var(--border-subtle);
}

/* ==========================================================================
   CENTERPIECE: 3D AUTONOMOUS PHONE STAGE
   ========================================================================== */
.hero-phone-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

/* Floating Scene Status Pill */
.phone-story-pill {
  background: rgba(14, 18, 28, 0.94);
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  z-index: 20;
}

.live-indicator-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent-emerald);
}

/* Centered iPhone 16 Pro Frame with 3D Float (Fitted to Viewport) */
.phone-frame-centered {
  width: 260px;
  height: 480px;
  max-height: calc(100vh - 160px);
  background: #000;
  border-radius: 42px;
  padding: 8px;
  box-shadow: 
    0 20px 60px -10px rgba(0, 0, 0, 0.85),
    0 0 0 2px rgba(255, 255, 255, 0.16),
    inset 0 0 0 2px rgba(0, 0, 0, 0.95);
  position: relative;
  user-select: none;
  transform-style: preserve-3d;
  animation: phone-float 6s ease-in-out infinite alternate;
}

@keyframes phone-float {
  0% {
    transform: translateY(0px) rotateX(3deg) rotateY(-4deg);
  }
  50% {
    transform: translateY(-8px) rotateX(4deg) rotateY(-1deg);
  }
  100% {
    transform: translateY(-4px) rotateX(2deg) rotateY(-5deg);
  }
}

.phone-surface-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.02) 26%, transparent 52%);
  border-radius: 42px;
  pointer-events: none;
  z-index: 60;
}

.back-tap-pulse-ring {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 3px solid rgba(16, 185, 129, 0.8);
  pointer-events: none;
  opacity: 0;
  z-index: 65;
}

.back-tap-pulse-ring.active {
  animation: pulse-ring 0.65s ease-out forwards;
}

@keyframes pulse-ring {
  0% { opacity: 0.9; transform: translate(-50%, -50%) scale(0.3); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.6); }
}

/* Screen Viewport */
.phone-screen-viewport {
  width: 100%;
  height: 100%;
  background: #090b10;
  border-radius: 42px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Status Bar & Dynamic Island */
.screen-status-bar {
  height: 46px;
  padding: 12px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 30;
}

.status-clock {
  font-weight: 700;
}

.status-signal {
  display: flex;
  gap: 4px;
  font-size: 0.7rem;
}

.phone-island-container {
  position: absolute;
  top: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 45;
  pointer-events: none;
}

.dynamic-island-shell {
  pointer-events: none;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  border-radius: 20px;
  padding: 3px 10px;
  width: 90px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.9);
}

.island-view-compact {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
}

/* Phone Screen Internal Cards */
.screen-scroll-body {
  flex: 1;
  padding: 14px 12px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.screen-scroll-body::-webkit-scrollbar {
  display: none;
}

.screen-budget-card {
  background: linear-gradient(145deg, #141824, #0e111a);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 14px;
}

.budget-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.budget-cycle-name {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--text-tertiary);
}

.budget-status-chip {
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--accent-emerald);
}

.budget-amount-row {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 8px;
}

.budget-curr {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-emerald);
}

.budget-main-num {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.budget-sub-num {
  font-size: 0.72rem;
  color: var(--text-tertiary);
  margin-left: 3px;
}

.budget-track {
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 6px;
}

.budget-track-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-emerald), var(--accent-cyan));
}

.budget-sub-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: var(--text-secondary);
}

.screen-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.screen-stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 10px;
}

.stat-card-label {
  font-size: 0.58rem;
  font-weight: 800;
  color: var(--text-tertiary);
  display: block;
}

.stat-card-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

.screen-stat-card.highlight .stat-card-val {
  color: var(--accent-gold);
}

.screen-expenses-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 12px;
}

.expenses-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}

.expenses-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.expense-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.expense-avatar {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.expense-info {
  flex: 1;
}

.expense-name {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.expense-meta {
  display: block;
  font-size: 0.62rem;
  color: var(--text-tertiary);
}

.expense-val {
  font-size: 0.82rem;
  font-weight: 700;
}

/* Modals inside Phone */
.screen-modal-overlay {
  position: absolute;
  inset: 46px 0 0 0;
  background: rgba(11, 14, 20, 0.98);
  backdrop-filter: blur(20px);
  padding: 14px;
  display: flex;
  flex-direction: column;
  z-index: 50;
  animation: modal-slide 0.25s ease-out;
}

.screen-modal-overlay.dark-backdrop {
  background: rgba(0, 0, 0, 0.96);
  align-items: center;
  justify-content: center;
}

@keyframes modal-slide {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.modal-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.modal-title {
  font-size: 0.85rem;
  font-weight: 800;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
}

.keypad-amount-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  padding: 10px 0;
}

.k-curr {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-emerald);
}

.k-val {
  font-size: 2.2rem;
  font-weight: 800;
}

.category-pill-strip {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 12px;
}

.cat-chip {
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
}

.cat-chip.active {
  background: var(--accent-emerald);
  color: #000;
}

.numeric-keys-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: auto;
}

.num-key {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 8px 10px;
  cursor: pointer;
}

.num-key.confirm {
  background: var(--accent-emerald);
  color: #000;
}

/* OCR Viewfinder */
.ocr-viewfinder {
  width: 100%;
  height: 240px;
  border: 2px dashed rgba(16, 185, 129, 0.6);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ocr-scanning-laser {
  position: absolute;
  top: 10%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: laser-anim 1.6s ease-in-out infinite alternate;
}

@keyframes laser-anim {
  from { top: 10%; }
  to { top: 90%; }
}

.ocr-thermal-receipt {
  background: #fff;
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 12px;
  border-radius: 6px;
  width: 80%;
}

.receipt-brand {
  font-weight: 800;
  text-align: center;
  margin-bottom: 6px;
}

.receipt-sum {
  font-weight: 800;
  border-top: 1px dashed #000;
  padding-top: 4px;
  margin-top: 6px;
}

.ocr-detection-chip {
  margin-top: 14px;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid var(--accent-emerald);
  color: var(--accent-emerald);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ocr-spinner {
  width: 8px;
  height: 8px;
  border: 2px solid var(--accent-emerald);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Siri Voice Stage */
.siri-center-stage {
  text-align: center;
}

.siri-glow-orb {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: radial-gradient(circle, #38bdf8, #818cf8, #c084fc, #f43f5e);
  box-shadow: 0 0 35px rgba(129, 140, 248, 0.8);
  margin: 0 auto 18px;
  animation: orb-pulse 1.5s infinite alternate ease-in-out;
}

@keyframes orb-pulse {
  from { transform: scale(0.9); }
  to { transform: scale(1.15); filter: hue-rotate(90deg); }
}

.siri-intent-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.siri-intent-sub {
  font-size: 0.72rem;
  color: var(--accent-emerald);
}

/* Ambient Depth Shadow */
.phone-ambient-shadow {
  width: 220px;
  height: 16px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.7) 0%, transparent 70%);
  border-radius: 50%;
  margin-top: 8px;
  filter: blur(8px);
}

/* Segmented Timeline Controller */
.hero-timeline-control {
  margin-top: 8px;
  background: #111522;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
  max-width: 480px;
}

.timeline-play-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.timeline-play-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.timeline-step-strip {
  display: flex;
  gap: 4px;
}

.timeline-segment {
  background: transparent;
  border: none;
  color: var(--text-tertiary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.timeline-segment:hover {
  color: var(--text-primary);
}

.timeline-segment.active {
  background: var(--accent-emerald);
  color: #000;
  font-weight: 800;
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section {
  padding: 96px 0;
  position: relative;
}

.section-darker {
  background: #06070a;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--accent-emerald);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

/* 3-Column Features Grid */
.feature-trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 54px;
}

.feature-col-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.feature-col-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-icon-box {
  margin-bottom: 20px;
}

.feature-num {
  font-size: 1rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.12);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
}

.card-heading {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}

.card-copy {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

.card-footer-meta {
  margin-top: auto;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-tertiary);
}

/* ==========================================================================
   PACING CALCULATOR SECTION
   ========================================================================== */
.pacing-split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.pacing-points-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.pacing-points-list li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.pacing-points-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-emerald);
  font-weight: 800;
}

.pacing-points-list strong {
  color: #fff;
}

.pacing-calculator-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.calc-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.calc-header-title {
  font-size: 1.1rem;
  font-weight: 800;
}

.calc-status-indicator {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--accent-emerald);
}

.calc-input-group {
  margin-bottom: 22px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.calc-output-label {
  color: var(--accent-emerald);
  font-family: var(--font-mono);
  font-weight: 800;
}

.styled-range-slider {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.styled-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-emerald);
  cursor: pointer;
}

.calc-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0 20px;
}

.result-tile {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.result-tile.highlight {
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.04);
}

.result-tile-lbl {
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--text-tertiary);
  letter-spacing: 0.5px;
  display: block;
}

.result-tile-val {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--accent-emerald);
  margin: 4px 0;
  font-family: var(--font-mono);
  display: block;
}

.result-tile.highlight .result-tile-val {
  color: var(--accent-gold);
}

.result-tile-sub {
  font-size: 0.7rem;
  color: var(--text-tertiary);
}

.calc-velocity-bar {
  margin-top: 10px;
}

.velocity-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-tertiary);
  margin-bottom: 6px;
}

.velocity-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.velocity-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-emerald), var(--accent-cyan));
}

/* ==========================================================================
   UPI SETTLEMENT SHOWCASE
   ========================================================================== */
.upi-showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  margin-top: 54px;
}

.upi-form-panel, .upi-preview-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.panel-heading {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.panel-sub {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.upi-builder-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.form-field label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.form-field input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
}

.form-field input:focus {
  border-color: var(--accent-emerald);
}

.form-field-row {
  display: flex;
  gap: 14px;
}

.generated-url-display {
  background: #08090d;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.url-lbl {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--text-tertiary);
  display: block;
  margin-bottom: 4px;
}

.url-str {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  word-break: break-all;
}

.builder-btn-row {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

/* Pay Preview Card */
.preview-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--accent-emerald);
  margin-bottom: 18px;
}

.preview-card-shell {
  background: #0d1017;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
}

.preview-secure-tag {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.12);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 14px;
}

.preview-amount-box {
  margin-bottom: 22px;
}

.preview-curr {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-tertiary);
}

.preview-amt {
  font-size: 2.6rem;
  font-weight: 800;
}

.preview-recipient {
  display: block;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.preview-memo {
  display: block;
  font-size: 0.78rem;
  color: var(--text-tertiary);
  font-style: italic;
}

.preview-app-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.preview-app-btn {
  padding: 10px 16px;
  border-radius: var(--radius-xs);
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}

.preview-app-btn.gpay { background: #1a73e8; }
.preview-app-btn.phonepe { background: #5f259f; }
.preview-app-btn.paytm { background: #00b9f1; color: #000; }

.preview-qr-note {
  font-size: 0.72rem;
  color: var(--text-tertiary);
}

/* ==========================================================================
   REACT STUDIO EMBED FRAME
   ========================================================================== */
.simulator-browser-frame {
  background: #000;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 48px;
}

.browser-top-bar {
  background: #11141c;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.browser-traffic-lights {
  display: flex;
  gap: 6px;
}

.traffic-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.traffic-dot.red { background: #ff5f56; }
.traffic-dot.yellow { background: #ffbd2e; }
.traffic-dot.green { background: #27c93f; }

.browser-address-bar {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 16px;
  border-radius: var(--radius-full);
}

.browser-fullscreen-link {
  color: var(--accent-cyan);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
}

.browser-embed-body {
  width: 100%;
  height: 680px;
}

.studio-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 42px;
}

.faq-row {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 22px;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--accent-emerald);
  transition: transform 0.2s ease;
}

.faq-row.open .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 22px;
}

.faq-row.open .faq-content {
  max-height: 240px;
  padding-bottom: 20px;
}

.faq-content p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   CORPORATE FOOTER
   ========================================================================== */
.footer-corporate {
  border-top: 1px solid var(--border-subtle);
  background: #050608;
  padding: 68px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-icon-img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.footer-brand-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  display: block;
  line-height: 1.1;
}

.footer-brand-corp {
  font-size: 0.65rem;
  color: var(--text-tertiary);
  font-weight: 600;
}

.footer-mission-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 300px;
}

.footer-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.08);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.status-green-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
}

.footer-nav-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-col a, .footer-nav-col span {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-nav-col a:hover {
  color: #fff;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.footer-legal-links a {
  color: var(--text-tertiary);
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: #fff;
}

/* ==========================================================================
   DOWNLOAD & FRIEND ACCESS SECTION
   ========================================================================== */
.access-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.access-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
}

.access-card:hover {
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.access-card.featured {
  border-color: rgba(16, 185, 129, 0.5);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, var(--bg-card) 60%);
}

.access-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--accent-emerald);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.access-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.access-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.access-card-sub {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

.access-steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.access-steps-list li {
  font-size: 0.86rem;
  color: var(--text-primary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.access-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-emerald);
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET EXCELLENCE)
   ========================================================================== */
@media (max-width: 1024px) {
  .access-cards-grid {
    grid-template-columns: 1fr;
  }

  .feature-trio-grid {
    grid-template-columns: 1fr;
  }
  
  .pacing-split-layout {
    grid-template-columns: 1fr;
  }

  .upi-showcase-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 992px) {
  .hero-section {
    min-height: auto;
    padding: 32px 0 44px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .hero-header {
    max-width: 100%;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-metrics-strip {
    justify-content: center;
    margin: 0 auto;
  }

  .metric-block {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 56px 0;
  }

  .navbar {
    height: 60px;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(13, 16, 24, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
    z-index: 100;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-cta-group {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .top-link {
    display: none;
  }

  .top-nav-inner {
    justify-content: center;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(1.85rem, 6vw, 2.4rem);
    letter-spacing: -0.8px;
    margin-bottom: 12px;
  }

  .hero-lead {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-bottom: 24px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .hero-metrics-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 14px 16px;
    width: 100%;
    max-width: 400px;
  }

  .metric-separator {
    display: none;
  }

  .phone-frame-centered {
    width: min(270px, 80vw);
    height: 480px;
  }

  .hero-timeline-control {
    width: 100%;
    max-width: min(340px, 92vw);
    padding: 4px 6px;
    justify-content: space-between;
    gap: 4px;
  }

  .timeline-step-strip {
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    display: flex;
    gap: 4px;
    padding: 2px 0;
  }

  .timeline-step-strip::-webkit-scrollbar {
    display: none;
  }

  .timeline-segment {
    padding: 4px 8px;
    font-size: 0.65rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .timeline-play-btn {
    padding: 4px 8px;
    font-size: 0.68rem;
    flex-shrink: 0;
  }

  .pacing-calculator-card {
    padding: 20px 16px;
  }

  .calc-results-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .upi-form-panel, .upi-preview-panel {
    padding: 20px 16px;
  }

  .form-field-row {
    flex-direction: column;
    gap: 12px;
  }

  .builder-btn-row {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .builder-btn-row .btn {
    width: 100%;
    justify-content: center;
  }

  .access-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .access-card {
    padding: 24px 18px;
  }

  .simulator-browser-frame {
    height: 580px;
  }

  .browser-top-bar {
    padding: 10px 12px;
    gap: 8px;
  }

  .browser-address-bar {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.72rem;
  }

  .browser-fullscreen-link {
    font-size: 0.75rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }

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

  .brand-company {
    font-size: 0.65rem;
  }

  .brand-icon-img {
    width: 32px;
    height: 32px;
  }

  .phone-frame-centered {
    width: 250px;
    height: 460px;
  }

  .metric-num {
    font-size: 1.05rem;
  }

  .metric-lbl {
    font-size: 0.6rem;
  }
}
