/* ==========================================================================
   MONEYDEV — Apple-Grade Design System & Presentation Stylesheet
   ========================================================================== */

/* 1. CSS CUSTOM PROPERTIES & TOKENS */
:root {
  color-scheme: dark;
  /* Core Surface Tokens (Midnight & Obsidian) */
  --color-slate-black: #070B14;
  --color-midnight-black: #0B132B;
  --color-dark-navy-surface: #111D38;
  --color-navy-variant: #18284A;
  --color-card-border-navy: #223A6B;
  --color-card-glass: rgba(15, 26, 48, 0.72);
  --color-card-solid: #0F1A30;

  /* Income & Expense Brand Colors */
  --color-income: #10B981;
  --color-income-light: #34D399;
  --color-income-bg: rgba(16, 185, 129, 0.12);
  --color-expense: #F43F5E;
  --color-expense-light: #FB7185;
  --color-expense-bg: rgba(244, 63, 94, 0.12);

  /* Typography Colors */
  --text-primary: #FFFFFF;
  --text-secondary: #E2E8F0;
  --text-muted: #94A3B8;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* Active Theme Defaults: Electric Blue */
  --theme-primary: #38BDF8;
  --theme-secondary: #60A5FA;
  --theme-accent-glow: rgba(56, 189, 248, 0.35);
  --theme-gradient: linear-gradient(135deg, #00D2FF 0%, #38BDF8 50%, #1D4ED8 100%);
  --theme-pill-bg: #38BDF8;
  --theme-on-primary: #070B14;

  /* Layout & Geometry */
  --container-max: 1240px;
  --header-height: 72px;
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-medium: 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-theme: 0.4s ease;
}

/* ==========================================================================
   2. 9 ELECTRIC THEMES (Dynamically applied via data-theme on body)
   ========================================================================== */
[data-theme="electric_blue"] {
  --theme-primary: #38BDF8;
  --theme-secondary: #60A5FA;
  --theme-accent-glow: rgba(56, 189, 248, 0.35);
  --theme-gradient: linear-gradient(135deg, #00D2FF 0%, #38BDF8 50%, #1D4ED8 100%);
  --theme-pill-bg: #38BDF8;
  --theme-on-primary: #070B14;
}

[data-theme="electric_orange"] {
  --theme-primary: #FF7A00;
  --theme-secondary: #FB923C;
  --theme-accent-glow: rgba(255, 122, 0, 0.35);
  --theme-gradient: linear-gradient(135deg, #FF9100 0%, #FF7A00 50%, #EA580C 100%);
  --theme-pill-bg: #FF7A00;
  --theme-on-primary: #FFFFFF;
}

[data-theme="electric_green"] {
  --theme-primary: #00FF87;
  --theme-secondary: #34D399;
  --theme-accent-glow: rgba(0, 255, 135, 0.35);
  --theme-gradient: linear-gradient(135deg, #00FF87 0%, #10B981 50%, #059669 100%);
  --theme-pill-bg: #00FF87;
  --theme-on-primary: #070B14;
}

[data-theme="electric_purple"] {
  --theme-primary: #A855F7;
  --theme-secondary: #C084FC;
  --theme-accent-glow: rgba(168, 85, 247, 0.35);
  --theme-gradient: linear-gradient(135deg, #D8B4FE 0%, #A855F7 50%, #7E22CE 100%);
  --theme-pill-bg: #A855F7;
  --theme-on-primary: #FFFFFF;
}

[data-theme="electric_pink"] {
  --theme-primary: #EC4899;
  --theme-secondary: #F472B6;
  --theme-accent-glow: rgba(236, 72, 153, 0.35);
  --theme-gradient: linear-gradient(135deg, #F472B6 0%, #EC4899 50%, #BE185D 100%);
  --theme-pill-bg: #EC4899;
  --theme-on-primary: #FFFFFF;
}

[data-theme="electric_red"] {
  --theme-primary: #FF3B30;
  --theme-secondary: #FB7185;
  --theme-accent-glow: rgba(255, 59, 48, 0.35);
  --theme-gradient: linear-gradient(135deg, #FF5252 0%, #FF3B30 50%, #BE123C 100%);
  --theme-pill-bg: #FF3B30;
  --theme-on-primary: #FFFFFF;
}

[data-theme="electric_yellow"] {
  --theme-primary: #FACC15;
  --theme-secondary: #FDE047;
  --theme-accent-glow: rgba(250, 204, 21, 0.35);
  --theme-gradient: linear-gradient(135deg, #FDE047 0%, #F59E0B 50%, #D97706 100%);
  --theme-pill-bg: #FACC15;
  --theme-on-primary: #0F172A;
}

[data-theme="electric_gray"] {
  --theme-primary: #CBD5E1;
  --theme-secondary: #94A3B8;
  --theme-accent-glow: rgba(203, 213, 225, 0.25);
  --theme-gradient: linear-gradient(135deg, #F1F5F9 0%, #CBD5E1 50%, #64748B 100%);
  --theme-pill-bg: #CBD5E1;
  --theme-on-primary: #0F172A;
}

[data-theme="electric_black"] {
  --theme-primary: #FFFFFF;
  --theme-secondary: #94A3B8;
  --theme-accent-glow: rgba(255, 255, 255, 0.25);
  --theme-gradient: linear-gradient(135deg, #FFFFFF 0%, #94A3B8 50%, #475569 100%);
  --theme-pill-bg: #FFFFFF;
  --theme-on-primary: #000000;
}

/* ==========================================================================
   3. RESET & BASE STYLING
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-slate-black);
  color: var(--text-primary);
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  background-color: var(--color-slate-black);
  color: var(--text-primary);
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  transition: background-color var(--transition-theme);
  position: relative;
  min-height: 100vh;
}

body.menu-locked {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.03em;
  font-weight: 800;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-padding {
  padding-top: 130px;
  padding-bottom: 130px;
  position: relative;
}

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

/* ==========================================================================
   4. AMBIENT GLOW MESH BACKGROUND
   ========================================================================== */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
  transition: background var(--transition-theme), opacity 0.5s ease;
}

.glow-top {
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 65vw;
  height: 45vh;
  background: radial-gradient(circle, var(--theme-primary) 0%, rgba(11, 19, 43, 0) 70%);
}

.glow-middle {
  top: 45%;
  left: -15%;
  width: 50vw;
  height: 50vh;
  background: radial-gradient(circle, var(--theme-secondary) 0%, rgba(11, 19, 43, 0) 70%);
  opacity: 0.25;
}

.glow-bottom {
  bottom: -10%;
  right: -10%;
  width: 55vw;
  height: 55vh;
  background: radial-gradient(circle, var(--theme-primary) 0%, rgba(11, 19, 43, 0) 70%);
  opacity: 0.22;
}

/* ==========================================================================
   5. FROSTED GLASS NAVIGATION BAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background-color: rgba(7, 11, 20, 0.78);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  user-select: none;
}

.brand-icon-wrapper {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background-color: #000000 !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 12px var(--theme-accent-glow);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), border-color 0.3s ease, box-shadow 0.3s ease;
  filter: none !important;
  -webkit-filter: none !important;
  isolation: isolate;
  color-scheme: dark;
}

.brand-icon {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  display: block;
  object-fit: cover;
  background-color: #000000 !important;
  filter: none !important;
  -webkit-filter: none !important;
  isolation: isolate;
}

.brand-logo:hover .brand-icon-wrapper {
  transform: scale(1.08) rotate(-2deg);
}

/* Gold Mode / PRO Icon Active state on Navbar Brand Icon */
.brand-icon-wrapper.gold-mode,
body[data-app-icon="pro"] .brand-icon-wrapper,
[data-theme="electric_yellow"] .brand-icon-wrapper {
  border-color: rgba(245, 158, 11, 0.6) !important;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.5) !important;
}

/* Universal anti-inversion and styling integrity for icons */
.app-3d-icon,
.cta-app-icon,
.footer-logo {
  background-color: #000000 !important;
  filter: none !important;
  -webkit-filter: none !important;
  isolation: isolate;
}

.brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  background: var(--theme-gradient);
  color: var(--theme-on-primary);
  border-radius: 20px;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px var(--theme-accent-glow);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link.highlight-link {
  color: #F59E0B;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Palette Theme Switcher */
.theme-switcher-wrapper {
  position: relative;
}

.theme-btn-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  background: var(--color-navy-variant);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.theme-btn-trigger:hover {
  border-color: var(--theme-primary);
  box-shadow: 0 0 14px var(--theme-accent-glow);
}

.current-theme-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--theme-primary);
  box-shadow: 0 0 8px var(--theme-primary);
  transition: background 0.3s ease;
}

.theme-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 250px;
  background: rgba(15, 26, 48, 0.95);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  display: none;
  animation: dropdownIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1010;
}

.theme-dropdown.show {
  display: block;
}

@keyframes dropdownIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.theme-dropdown-header {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-subtle);
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.theme-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  border-radius: var(--radius-xs);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.theme-option:hover {
  background: rgba(255, 255, 255, 0.08);
}

.theme-option.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid var(--border-strong);
}

.theme-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: block;
}

/* CTA Pill Button */
.cta-pill-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--theme-gradient);
  color: var(--theme-on-primary);
  font-size: 13px;
  font-weight: 700;
  border-radius: 30px;
  box-shadow: 0 4px 16px var(--theme-accent-glow);
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.cta-pill-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px var(--theme-accent-glow);
}

/* Mobile Toggle (Animated Hamburger to X) */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 6px;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
  cursor: pointer;
  z-index: 1010;
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--theme-primary);
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  transform-origin: center;
}

/* Transform hamburger to X when header has mobile-open */
.site-header.mobile-open .mobile-toggle {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--theme-primary);
}

.site-header.mobile-open .mobile-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.mobile-open .mobile-toggle span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.site-header.mobile-open .mobile-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Specs table scroll cue (hidden on desktop) */
.specs-scroll-hint {
  display: none;
}

/* ==========================================================================
   6. HERO SECTION (Apple Hardware Keynote Style)
   ========================================================================== */
.hero-section {
  padding-top: calc(var(--header-height) + 50px);
  padding-bottom: 90px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Eyebrow Pill */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: var(--theme-primary);
  margin-bottom: 26px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--theme-primary);
  box-shadow: 0 0 10px var(--theme-primary);
  animation: pulseLight 2s infinite;
}

@keyframes pulseLight {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px var(--theme-primary); }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* Apple Bold Headline */
.hero-title {
  font-size: clamp(2.8rem, 6.2vw, 5.2rem);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  margin-bottom: 22px;
}

.text-gradient {
  background: var(--theme-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  font-weight: 400;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.65;
  margin-bottom: 34px;
}

/* Hero CTA Group */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  background: var(--theme-gradient);
  color: var(--theme-on-primary);
  font-size: 16px;
  font-weight: 700;
  border-radius: 36px;
  box-shadow: 0 8px 28px var(--theme-accent-glow);
  transition: all var(--transition-fast);
}

.hero-btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 36px var(--theme-accent-glow);
}

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-strong);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  border-radius: 36px;
  transition: all var(--transition-fast);
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--theme-primary);
  transform: translateY(-2px);
}

/* Specs Bar */
.hero-specs-bar {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 28px;
  background: rgba(17, 29, 56, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 40px;
  backdrop-filter: blur(16px);
  margin-bottom: 60px;
}

.spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.spec-val {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--theme-primary);
}

.spec-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.spec-divider {
  width: 1px;
  height: 24px;
  background: var(--border-strong);
}

/* ==========================================================================
   7. IPHONE 16 PRO TITANIUM DEVICE MOCKUP & LIVE UI
   ========================================================================== */
.hero-device-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  perspective: 1200px;
}

.phone-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 80%;
  background: radial-gradient(circle, var(--theme-accent-glow) 0%, transparent 70%);
  filter: blur(70px);
  z-index: 0;
  opacity: 0.6;
}

.iphone-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #141824;
  border-radius: 54px;
  padding: 13px;
  box-shadow: 
    0 0 0 2px rgba(255, 255, 255, 0.18),
    0 0 0 5px #1E2536,
    0 30px 80px rgba(0, 0, 0, 0.85),
    0 50px 140px var(--theme-accent-glow);
  transform: rotateX(2deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.iphone-frame:hover {
  transform: rotateX(0deg) translateY(-8px);
}

/* Dynamic Island */
.iphone-island {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 115px;
  height: 30px;
  background: #000000;
  border-radius: 20px;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.6);
}

.island-camera {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #0D1117;
  border: 1px solid rgba(255,255,255,0.15);
}

.island-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--theme-primary);
  box-shadow: 0 0 6px var(--theme-primary);
}

/* iPhone Screen Content */
.iphone-screen {
  position: relative;
  background: var(--color-slate-black);
  border-radius: 44px;
  overflow: hidden;
  height: 740px;
  display: flex;
  flex-direction: column;
  user-select: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* iOS Status Bar */
.ios-status-bar {
  height: 48px;
  padding: 14px 24px 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  z-index: 100;
}

.ios-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.battery-icon {
  width: 22px;
  height: 11px;
  border: 1.5px solid #fff;
  border-radius: 4px;
  padding: 1px;
  position: relative;
}

.battery-icon::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 2px;
  width: 2px;
  height: 4px;
  background: #fff;
  border-radius: 0 2px 2px 0;
}

.battery-fill {
  width: 85%;
  height: 100%;
  background: #fff;
  border-radius: 2px;
}

/* App Top Bar */
.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px 12px 16px;
  z-index: 90;
}

.app-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--color-dark-navy-surface);
  color: var(--theme-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.app-icon-btn:hover {
  background: var(--color-navy-variant);
}

.app-wallet-selector {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: var(--color-dark-navy-surface);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.app-wallet-selector:hover {
  border-color: var(--theme-primary);
}

.wallet-badge-icon {
  font-size: 13px;
}

.topbar-actions {
  display: flex;
  gap: 8px;
}

/* Scroll Area */
.app-body-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px 16px 85px 16px;
  scrollbar-width: none;
}

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

/* Tabs Visibility */
.app-tab-panel {
  display: none;
  animation: fadeInTab 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-tab-panel.active {
  display: block;
}

@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Balance Header Card */
.balance-card {
  background: linear-gradient(145deg, #111D38, #0B132B);
  border: 1px solid var(--color-card-border-navy);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}

.balance-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--theme-gradient);
}

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

.balance-caption {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.balance-eye-toggle {
  color: var(--text-muted);
  padding: 4px;
  transition: color var(--transition-fast);
}

.balance-eye-toggle:hover {
  color: #fff;
}

.balance-amount-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 16px;
}

.currency-symbol {
  font-size: 20px;
  font-weight: 800;
  color: var(--theme-primary);
}

.balance-number {
  font-family: 'Outfit', sans-serif;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
  transition: opacity 0.2s;
}

.currency-iso {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  margin-left: 4px;
}

.balance-chips-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 14px;
}

.chip-income {
  background: var(--color-income-bg);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.chip-expense {
  background: var(--color-expense-bg);
  border: 1px solid rgba(244, 63, 94, 0.25);
}

.chip-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chip-income .chip-icon {
  background: var(--color-income);
  color: #070B14;
}

.chip-expense .chip-icon {
  background: var(--color-expense);
  color: #fff;
}

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

.chip-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.chip-val {
  font-size: 13px;
  font-weight: 800;
}

.chip-income .chip-val {
  color: var(--color-income-light);
}

.chip-expense .chip-val {
  color: var(--color-expense-light);
}

/* Period Pills Bar */
.period-pills-bar {
  display: flex;
  background: var(--color-dark-navy-surface);
  border-radius: 14px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 14px;
}

.period-pill {
  flex: 1;
  padding: 7px 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: 10px;
  transition: all var(--transition-fast);
}

.period-pill.active {
  background: var(--theme-gradient);
  color: var(--theme-on-primary);
  box-shadow: 0 2px 8px var(--theme-accent-glow);
}

/* Voice Assistant Hero Mini Card */
.voice-assistant-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(17, 29, 56, 0.7);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  margin-bottom: 16px;
  backdrop-filter: blur(10px);
}

.assistant-mini-orb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--theme-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px var(--theme-primary);
  animation: orbPulse 3s infinite ease-in-out;
}

.mini-orb-core {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
}

.assistant-text-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.assistant-title {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
}

.assistant-sub {
  font-size: 10px;
  color: var(--theme-primary);
}

.assistant-mic-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--theme-primary);
  color: var(--theme-on-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px var(--theme-accent-glow);
  transition: transform var(--transition-fast);
}

.assistant-mic-btn:hover {
  transform: scale(1.1);
}

/* Transactions Feed */
.tx-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.tx-title {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}

.tx-counter {
  font-size: 11px;
  font-weight: 700;
  color: var(--theme-primary);
}

.tx-feed-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.tx-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  background: var(--color-dark-navy-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.tx-item:hover {
  background: var(--color-navy-variant);
  transform: translateX(2px);
}

.tx-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tx-info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.tx-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tx-meta {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
}

.tx-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.expense-amount {
  color: var(--color-expense-light);
}

.income-amount {
  color: var(--color-income-light);
}

/* TAB 1: Estadísticas inside phone */
.mock-stats-card {
  background: var(--color-dark-navy-surface);
  border-radius: 20px;
  padding: 16px;
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stats-segmented-control {
  display: flex;
  background: var(--color-midnight-black);
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
}

.stats-seg-btn {
  flex: 1;
  padding: 6px 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.stats-seg-btn.active {
  background: var(--theme-gradient);
  color: var(--theme-on-primary);
}

.mini-chart-container {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

.mini-donut-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.donut-bg-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 12;
}

.donut-segment {
  fill: none;
  stroke-width: 12;
  stroke-linecap: round;
  transition: stroke-dasharray 0.5s ease;
}

.donut-segment.seg-1 { stroke: #F43F5E; }
.donut-segment.seg-2 { stroke: #A855F7; }
.donut-segment.seg-3 { stroke: #38BDF8; }

.donut-center-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.donut-center-title {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.donut-center-val {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}

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

.stats-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
}

.dot-color {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.stats-cat-name {
  flex: 1;
  text-align: left;
  color: var(--text-secondary);
}

.stats-cat-percent {
  font-weight: 700;
  color: var(--text-muted);
}

.stats-cat-val {
  font-weight: 800;
  color: #fff;
}

.stats-export-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  background: var(--color-navy-variant);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--theme-primary);
  margin-top: 6px;
  transition: all var(--transition-fast);
}

.stats-export-btn:hover {
  background: var(--theme-primary);
  color: var(--theme-on-primary);
}

/* TAB 2: PRO inside phone */
.mock-pro-view {
  background: var(--color-dark-navy-surface);
  border-radius: 20px;
  padding: 18px 14px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  text-align: center;
}

.pro-crown-badge {
  font-size: 32px;
  margin-bottom: 6px;
}

.mock-pro-title {
  font-size: 18px;
  font-weight: 900;
  color: #F59E0B;
  margin-bottom: 4px;
}

.mock-pro-subtitle {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.pro-feature-pills {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  margin-bottom: 16px;
}

.pro-pill-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: #fff;
}

.pro-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.2);
  color: #F59E0B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

.mock-pro-code-box {
  background: var(--color-midnight-black);
  border-radius: 12px;
  padding: 10px;
  border: 1px dashed rgba(245, 158, 11, 0.4);
}

.pro-code-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
}

.code-display {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 800;
  color: #F59E0B;
  letter-spacing: 0.1em;
  margin: 4px 0;
}

.pro-code-status {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-income-light);
}

/* TAB 3: Ajustes inside phone */
.mock-settings-view {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.settings-group {
  background: var(--color-dark-navy-surface);
  border-radius: 16px;
  padding: 10px 14px;
  border: 1px solid var(--border-subtle);
}

.settings-group-header {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.settings-row:last-child {
  border-bottom: none;
}

.mock-toggle {
  width: 38px;
  height: 22px;
  background: #334155;
  border-radius: 20px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
}

.mock-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
}

.mock-toggle.active {
  background: var(--theme-primary);
}

.mock-toggle.active::after {
  transform: translateX(16px);
}

.settings-sub-val {
  font-size: 11px;
  color: var(--theme-primary);
  font-weight: 700;
}

.settings-action-link {
  font-size: 11px;
  color: var(--theme-primary);
  font-weight: 700;
  cursor: pointer;
}

/* Floating Action Button (FAB) & Menu inside phone */
.app-fab-container {
  position: absolute;
  bottom: 82px;
  right: 18px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.fab-menu-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.9);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-fab-container.expanded .fab-menu-items {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.fab-sub-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0,0,0,0.5);
  transition: transform var(--transition-fast);
}

.fab-sub-btn:hover {
  transform: scale(1.06);
}

.fab-income {
  background: var(--color-income);
  color: #070B14;
}

.fab-expense {
  background: var(--color-expense);
  color: #fff;
}

.fab-voice {
  background: var(--theme-gradient);
  color: var(--theme-on-primary);
}

.app-fab-main {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--theme-gradient);
  color: var(--theme-on-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px var(--theme-accent-glow);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-fab-main:hover {
  transform: scale(1.08);
}

.app-fab-container.expanded .app-fab-main {
  transform: rotate(45deg);
}

/* iOS Bottom Dock Bar */
.app-bottom-dock {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: rgba(11, 19, 43, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 10px 14px 10px;
  z-index: 100;
}

.dock-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  transition: all var(--transition-fast);
  padding: 4px 8px;
}

.dock-tab:hover, .dock-tab.active {
  color: var(--theme-primary);
}

.dock-tab.active svg {
  transform: scale(1.12);
  filter: drop-shadow(0 0 6px var(--theme-primary));
}

/* Home Indicator Bar */
.ios-home-indicator {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  z-index: 110;
}

/* In-App Floating Toast */
.in-app-toast {
  position: absolute;
  top: 54px;
  left: 50%;
  transform: translateX(-50%) translateY(-30px);
  background: rgba(17, 29, 56, 0.95);
  border: 1px solid var(--theme-primary);
  border-radius: 20px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 250;
  white-space: nowrap;
}

.in-app-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

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

/* Floating Badges Around Mockup (Apple Style) */
.feature-floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(15, 26, 48, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  z-index: 10;
  animation: floatSubtle 6s infinite ease-in-out;
  pointer-events: none;
}

.card-left-1 {
  top: 15%;
  left: -210px;
  animation-delay: 0s;
}

.card-right-1 {
  top: 25%;
  right: -210px;
  animation-delay: 1.5s;
}

.card-right-2 {
  bottom: 20%;
  right: -200px;
  animation-delay: 3s;
}

.card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.card-details {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.card-details strong {
  font-size: 13px;
  color: #fff;
}

.card-details span {
  font-size: 11px;
  color: var(--text-muted);
}

@keyframes floatSubtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ==========================================================================
   8. SECTION: INTERACTIVE SIMULATOR (CALCULATOR KEYPAD SANDBOX)
   ========================================================================== */
.simulator-section {
  background: linear-gradient(180deg, var(--color-slate-black) 0%, #090F1C 100%);
}

.section-badge-center {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.badge-pill {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  color: var(--theme-primary);
  text-transform: uppercase;
}

.badge-pill.gold-pill {
  color: #F59E0B;
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.1);
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-description {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
}

/* Interactive Sandbox Box */
.interactive-sandbox {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: var(--color-midnight-black);
  border: 1px solid var(--color-card-border-navy);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.sandbox-column {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.calculator-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.calc-caption {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.type-toggle-pills {
  display: flex;
  background: var(--color-dark-navy-surface);
  border-radius: 12px;
  padding: 3px;
  gap: 4px;
}

.type-pill {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 9px;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.type-pill.active.expense-toggle {
  background: var(--color-expense);
  color: #fff;
  box-shadow: 0 2px 10px rgba(244, 63, 94, 0.4);
}

.type-pill.active.income-toggle {
  background: var(--color-income);
  color: #070B14;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.4);
}

.calc-screen-display {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 16px 20px;
  background: var(--color-dark-navy-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.calc-currency {
  font-size: 26px;
  font-weight: 800;
  color: var(--theme-primary);
}

.calc-amount-text {
  font-family: 'Outfit', sans-serif;
  font-size: 40px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
}

.calc-categories-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
  margin-bottom: 16px;
  scrollbar-width: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.calc-categories-row::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  padding: 8px 14px;
  background: var(--color-dark-navy-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.cat-pill:hover, .cat-pill.active {
  border-color: var(--theme-primary);
  background: var(--color-navy-variant);
  color: #fff;
}

/* Keypad Grid */
.calc-keypad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.key-btn {
  height: 52px;
  background: var(--color-dark-navy-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.key-btn:hover {
  background: var(--color-navy-variant);
  border-color: var(--theme-primary);
  transform: translateY(-2px);
}

.key-btn:active {
  transform: scale(0.96);
}

.calc-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  background: var(--theme-gradient);
  color: var(--theme-on-primary);
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 6px 20px var(--theme-accent-glow);
  transition: all var(--transition-fast);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.calc-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--theme-accent-glow);
}

/* Sandbox Feedback Column */
.sandbox-feedback-col {
  background: var(--color-dark-navy-surface);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border-subtle);
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

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

.feedback-title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}

.live-pulse-chip {
  font-size: 10px;
  font-weight: 800;
  color: var(--color-income-light);
  letter-spacing: 0.08em;
}

.feedback-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.sandbox-stats-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: var(--color-midnight-black);
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}

.sandbox-stat-box {
  display: flex;
  flex-direction: column;
}

.s-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

.s-val {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}

.text-income { color: var(--color-income-light); }
.text-expense { color: var(--color-expense-light); }

/* Sound Tester */
.sound-tester-box {
  background: var(--color-midnight-black);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.tester-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.tester-buttons {
  display: flex;
  gap: 10px;
}

.sound-chip-btn {
  flex: 1;
  padding: 9px 12px;
  background: var(--color-dark-navy-surface);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  transition: all var(--transition-fast);
}

.sound-chip-btn:hover {
  background: var(--color-navy-variant);
  border-color: var(--theme-primary);
  transform: translateY(-2px);
}

/* ==========================================================================
   9. SECTION: MONEYBOT LIVE VOICE & APPLE INTELLIGENCE ORB
   ========================================================================== */
.moneybot-section {
  position: relative;
  background: radial-gradient(circle at 75% 50%, rgba(17, 29, 56, 0.6) 0%, transparent 60%);
}

.grid-2-cols {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.section-badge {
  margin-bottom: 14px;
}

.ai-feature-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 28px 0;
}

.ai-feature-item {
  display: flex;
  gap: 16px;
}

.ai-feat-icon {
  font-size: 24px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-midnight-black);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-feat-content strong {
  font-size: 15px;
  color: #fff;
  display: block;
  margin-bottom: 4px;
}

.ai-feat-content p {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* Prompt Pills */
.prompt-pills-container {
  margin-top: 10px;
}

.prompt-instruction {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--theme-primary);
  margin-bottom: 10px;
}

.prompt-pills {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prompt-btn {
  text-align: left;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.prompt-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--theme-primary);
  color: #fff;
  transform: translateX(4px);
}

/* The Live Glowing Apple Intelligence Orb Stage */
.orb-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
}

.orb-halo {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--theme-primary) 0%, rgba(168, 85, 247, 0.4) 40%, transparent 70%);
  filter: blur(60px);
  opacity: 0.55;
  animation: haloBreath 5s infinite ease-in-out;
  pointer-events: none;
}

@keyframes haloBreath {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.18); opacity: 0.8; }
}

.moneybot-orb-wrapper {
  position: relative;
  width: 170px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid transparent;
  pointer-events: none;
}

.ring-1 {
  width: 100%;
  height: 100%;
  border-top-color: var(--theme-primary);
  border-right-color: #A855F7;
  animation: rotateRing 8s linear infinite;
}

.ring-2 {
  width: 125%;
  height: 125%;
  border-bottom-color: #00FF87;
  border-left-color: var(--theme-primary);
  animation: rotateRingRev 12s linear infinite;
  opacity: 0.6;
}

.ring-3 {
  width: 150%;
  height: 150%;
  border-top-color: #EC4899;
  border-right-color: #38BDF8;
  animation: rotateRing 16s linear infinite;
  opacity: 0.4;
}

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotateRingRev {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.orb-core {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--theme-gradient);
  position: relative;
  box-shadow: 
    0 0 30px var(--theme-primary),
    inset 0 0 20px rgba(255, 255, 255, 0.7);
  animation: orbPulse 3s infinite ease-in-out;
}

.orb-reflection {
  position: absolute;
  top: 14%;
  left: 20%;
  width: 34px;
  height: 20px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  transform: rotate(-35deg);
  filter: blur(2px);
}

@keyframes orbPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 20px var(--theme-accent-glow)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 35px var(--theme-primary)); }
}

/* Audio Waveform Bars */
.orb-waveform-bars {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  margin-bottom: 20px;
}

.wave-bar {
  width: 4px;
  height: 8px;
  background: var(--theme-primary);
  border-radius: 4px;
  transition: height 0.15s ease;
}

.wave-bar:nth-child(2) { height: 16px; }
.wave-bar:nth-child(3) { height: 24px; }
.wave-bar:nth-child(4) { height: 12px; }
.wave-bar:nth-child(5) { height: 26px; }
.wave-bar:nth-child(6) { height: 18px; }
.wave-bar:nth-child(7) { height: 10px; }

/* Transcription Card */
.live-transcription-card {
  width: 100%;
  max-width: 360px;
  background: rgba(15, 26, 48, 0.85);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 16px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  margin-bottom: 18px;
}

.transcription-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.orb-status-indicator {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--theme-primary);
}

.transcription-body {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  min-height: 42px;
}

.transcription-parsed {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.parsed-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  background: var(--color-dark-navy-surface);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: #fff;
}

.orb-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--theme-gradient);
  color: var(--theme-on-primary);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 6px 20px var(--theme-accent-glow);
  transition: all var(--transition-fast);
}

.orb-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--theme-accent-glow);
}

/* ==========================================================================
   10. SECTION: APPLE BENTO GRID (ALL FEATURES OF MONEYDEV)
   ========================================================================== */
.bento-section {
  background: var(--color-slate-black);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.bento-card {
  background: var(--color-midnight-black);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.bento-wide {
  grid-column: span 12;
}

.bento-medium {
  grid-column: span 6;
}

.bento-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bento-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--theme-primary);
  margin-bottom: 10px;
}

.bento-title {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  margin-bottom: 10px;
}

.bento-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 580px;
}

/* Bento Carousel inside Card 1 */
.wallet-cards-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bento-wallet-item {
  background: var(--color-dark-navy-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.bento-wallet-item.active {
  border-color: var(--theme-primary);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.w-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.w-icon {
  font-size: 20px;
}

.w-status {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: var(--text-muted);
}

.w-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.w-balance {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--theme-primary);
}

.w-curr {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

/* Subscriptions mock list in Bento Card 2 */
.subscriptions-mock-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sub-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--color-dark-navy-surface);
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-subtle);
}

.sub-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  color: #fff;
}

.sub-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sub-info strong {
  font-size: 13px;
  color: #fff;
}

.sub-info span {
  font-size: 11px;
  color: var(--text-muted);
}

.sub-price {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--color-expense-light);
}

/* Bento Chart Preview in Bento Card 3 */
.bento-chart-preview {
  background: var(--color-dark-navy-surface);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chart-bars-demo {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 120px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
}

.c-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
  width: 40px;
}

.c-bar {
  width: 18px;
  border-radius: 6px 6px 0 0;
  transition: height 0.4s ease;
}

.c-bar-col span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.badge-wrapped {
  font-size: 12px;
  font-weight: 700;
  color: var(--theme-primary);
  text-align: center;
}

/* Security Visual in Bento Card 4 */
.security-visual {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--color-dark-navy-surface);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.face-id-animation {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: rgba(56, 189, 248, 0.1);
  color: var(--theme-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.security-badges-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sec-badge {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  padding: 5px 12px;
  border-radius: 10px;
}

/* Search Interactive Pill */
.search-interactive-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--color-dark-navy-surface);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  color: var(--theme-primary);
}

.search-text-typing {
  font-size: 14px;
  color: var(--text-muted);
}

/* ==========================================================================
   11. SECTION: PRO MODE & THE 9 ELECTRIC THEMES (APPLE COLOR UNVEIL)
   ========================================================================== */
.pro-showcase-section {
  background: linear-gradient(180deg, #090F1C 0%, var(--color-slate-black) 100%);
}

.icon-switcher-box {
  background: var(--color-midnight-black);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 40px;
  text-align: center;
}

.icon-switcher-header h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.icon-switcher-header p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.icons-comparison-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.app-icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 32px;
  background: var(--color-dark-navy-surface);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.app-icon-card:hover, .app-icon-card.active {
  border-color: var(--theme-primary);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

.app-icon-card.active#card-icon-pro {
  border-color: #F59E0B;
  box-shadow: 0 16px 36px rgba(245, 158, 11, 0.25);
}

.icon-3d-wrapper {
  position: relative;
  width: 90px;
  height: 90px;
  margin-bottom: 16px;
}

.app-3d-icon {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.5);
  position: relative;
  z-index: 2;
  transition: transform var(--transition-fast);
}

.app-icon-card:hover .app-3d-icon {
  transform: scale(1.08) rotate(-3deg);
}

.icon-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  border-radius: 50%;
  filter: blur(20px);
  z-index: 1;
  opacity: 0.6;
}

.basic-glow { background: var(--theme-primary); }
.pro-glow { background: #F59E0B; }

.icon-title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.icon-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.icon-vs-divider {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: var(--text-muted);
}

/* 9 Themes Grid Showcase */
.themes-showcase-container {
  background: var(--color-midnight-black);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 40px;
  text-align: center;
}

.themes-header h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.themes-header p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.color-palette-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
  gap: 12px;
}

.color-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 10px;
  background: var(--color-dark-navy-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.color-card:hover {
  transform: translateY(-4px);
  border-color: #fff;
}

.color-card.active {
  border-color: var(--theme-primary);
  background: var(--color-navy-variant);
  box-shadow: 0 8px 24px var(--theme-accent-glow);
}

.color-swatch {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: transform var(--transition-fast);
}

.color-card:hover .color-swatch {
  transform: scale(1.15);
}

.c-name {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.c-tag {
  font-size: 10px;
  color: var(--text-muted);
}

/* Pro Activation Simulator */
.pro-activation-simulator {
  background: radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.12) 0%, var(--color-midnight-black) 70%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
}

.sim-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #F59E0B;
}

.pro-sim-content h4 {
  font-size: 24px;
  margin: 10px 0 6px 0;
}

.pro-sim-content p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 24px auto;
}

.sim-input-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
}

.sim-code-input {
  flex: 1;
  height: 50px;
  background: var(--color-dark-navy-surface);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
  color: #fff;
  outline: none;
  letter-spacing: 0.08em;
  transition: border-color var(--transition-fast);
}

.sim-code-input:focus {
  border-color: #F59E0B;
}

.sim-verify-btn {
  height: 50px;
  padding: 0 24px;
  background: linear-gradient(135deg, #F59E0B, #EA580C);
  color: #fff;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
  transition: all var(--transition-fast);
}

.sim-verify-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.6);
}

.sim-progress-box {
  max-width: 440px;
  margin: 20px auto 0 auto;
  text-align: left;
}

.sim-progress-bar {
  width: 100%;
  height: 8px;
  background: var(--color-dark-navy-surface);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 8px;
}

.sim-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #F59E0B, #10B981);
  border-radius: 10px;
  transition: width 0.3s ease;
}

.sim-progress-label {
  font-size: 12px;
  font-weight: 700;
  color: #F59E0B;
}

/* ==========================================================================
   12. SECTION: SPECS COMPARISON TABLE (APPLE STYLE)
   ========================================================================== */
.specs-section {
  background: var(--color-slate-black);
}

.specs-table-wrapper {
  background: var(--color-midnight-black);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  margin-top: 30px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.specs-table th {
  padding: 22px 24px;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  border-bottom: 1px solid var(--border-strong);
}

.spec-header-mobile {
  display: none;
}

.spec-header-desktop {
  display: inline;
}

.spec-th-feature {
  width: 45%;
}

.spec-th-col {
  width: 27.5%;
}

.pro-col-header {
  color: #F59E0B;
}

.specs-table td {
  padding: 18px 24px;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.specs-table tr:last-child td {
  border-bottom: none;
}

.feature-cell {
  font-weight: 600;
  color: #fff;
}

.check-cell {
  color: var(--text-muted);
}

.pro-cell {
  color: #fff;
}

.check-icon {
  font-weight: 900;
  color: var(--theme-primary);
  margin-right: 6px;
}

.pro-cell .check-icon {
  color: #F59E0B;
}

.font-bold {
  font-weight: 700;
}

/* ==========================================================================
   13. SECTION: CALL TO ACTION FOOTER BANNER
   ========================================================================== */
.bottom-cta-section {
  padding: 80px 0;
  position: relative;
}

.cta-inner-card {
  position: relative;
  background: linear-gradient(145deg, #111D38, #0B132B);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 60px 30px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}

.cta-orb-bg {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 120%;
  background: radial-gradient(circle, var(--theme-accent-glow) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.cta-app-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 10px 30px var(--theme-accent-glow);
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.cta-heading {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}

.cta-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 34px auto;
  position: relative;
  z-index: 2;
}

.cta-buttons-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.cta-primary-large {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--theme-gradient);
  color: var(--theme-on-primary);
  font-size: 16px;
  font-weight: 800;
  border-radius: 36px;
  box-shadow: 0 8px 28px var(--theme-accent-glow);
  transition: all var(--transition-fast);
}

.cta-primary-large:hover {
  transform: translateY(-2px) scale(1.02);
}

.cta-secondary-large {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-strong);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 36px;
  transition: all var(--transition-fast);
}

.cta-secondary-large:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* ==========================================================================
   14. APPLE STYLE FOOTER
   ========================================================================== */
.site-footer {
  background: #04070D;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 40px 0;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-top-notes {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 24px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 1.6;
}

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

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.footer-logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.footer-tagline {
  max-width: 320px;
  line-height: 1.6;
}

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

.footer-col-title {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.footer-col a:hover {
  color: var(--theme-primary);
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

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

/* ==========================================================================
   15. MODAL DIALOG (CONTACT)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2000;
  animation: fadeInModal 0.25s ease;
}

.modal-overlay.hidden {
  display: none;
}

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-card {
  width: 100%;
  max-width: 480px;
  background: var(--color-midnight-black);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8);
  animation: slideUpModal 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpModal {
  from { transform: translateY(20px) scale(0.96); }
  to { transform: translateY(0) scale(1); }
}

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

.modal-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-icon {
  font-size: 20px;
}

.modal-header h3 {
  font-size: 18px;
  color: #fff;
}

.modal-close-btn {
  font-size: 24px;
  color: var(--text-muted);
  line-height: 1;
}

.modal-close-btn:hover {
  color: #fff;
}

.modal-body p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.contact-info-list {
  background: var(--color-dark-navy-surface);
  border-radius: var(--radius-xs);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.c-label {
  color: var(--text-muted);
  font-weight: 600;
}

.c-val {
  color: #fff;
  font-weight: 700;
}

.contact-link {
  color: var(--theme-primary);
  font-weight: 700;
}

.btn-modal-action {
  width: 100%;
  height: 46px;
  background: var(--theme-gradient);
  color: var(--theme-on-primary);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  transition: all var(--transition-fast);
}

.btn-modal-action:hover {
  transform: translateY(-2px);
}

/* ==========================================================================
   16. UTILITY CLASSES & KEYFRAMES
   ========================================================================== */
.hidden {
  display: none !important;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUpAnim 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.32s; }
.delay-4 { animation-delay: 0.44s; }

@keyframes fadeInUpAnim {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   17. RESPONSIVE BREAKPOINTS (DESKTOP, TABLET & MOBILE)
   ========================================================================== */

/* Keyframe animations for responsive widgets */
@keyframes mobileNavFadeIn {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseSubtle {
  0%, 100% { opacity: 0.8; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(4px); }
}

/* --- 1. Large Desktops & Floating Cards Safeguard (< 1280px) --- */
@media (max-width: 1280px) {
  .feature-floating-card {
    display: none !important;
  }
}

/* --- 2. Medium Laptops & Tablets Landscape (< 1080px) --- */
@media (max-width: 1080px) {
  :root {
    --header-height: 68px;
  }

  .nav-menu {
    gap: 16px;
  }

  .nav-link {
    font-size: 13px;
  }

  .hero-title {
    font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  }

  .grid-2-cols {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .bento-grid {
    gap: 20px;
  }

  .bento-card {
    padding: 26px;
  }
}

/* --- 3. Tablets Portrait & Smaller Screens (< 920px) --- */
@media (max-width: 1040px) {
  .section-padding {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  /* Navigation Collapsed to Mobile Drawer */
  .nav-menu {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .site-header.mobile-open {
    background-color: rgba(7, 11, 20, 0.98);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-bottom-color: var(--border-strong);
  }

  .site-header.mobile-open .nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    background: rgba(7, 11, 20, 0.98);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    padding: 24px 20px 48px;
    border-bottom: 1px solid var(--border-strong);
    gap: 8px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 999;
    animation: mobileNavFadeIn 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .site-header.mobile-open .nav-link {
    font-size: 17px;
    font-weight: 700;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all var(--transition-fast);
  }

  .site-header.mobile-open .nav-link:hover,
  .site-header.mobile-open .nav-link.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--theme-primary);
    border-color: var(--theme-primary);
    transform: translateX(4px);
  }

  

  

  /* Simulator Section */
  .interactive-sandbox {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    gap: 28px;
  }

  /* MoneyBot 2-Cols */
  .grid-2-cols {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Bento Grid */
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-wide,
  .bento-medium {
    grid-column: span 1;
  }

  .wallet-cards-carousel {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Footer Grid */
  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* --- 4. Phablets & Mobile Horizontal (< 768px) --- */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .nav-container {
    padding: 0 16px;
  }

  .nav-actions {
    gap: 10px;
  }

  /* Hide the top CTA demo button in header to prevent navbar squish */
  .nav-actions .cta-pill-button {
    display: none !important;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-icon-wrapper {
    width: 30px;
    height: 30px;
  }

  .theme-btn-trigger {
    padding: 6px 10px;
    font-size: 12px;
    gap: 6px;
  }

  .hero-section {
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 60px;
  }

  .hero-eyebrow {
    font-size: 11px;
    padding: 6px 14px;
    line-height: 1.4;
    text-align: center;
    max-width: 95%;
    margin-bottom: 20px;
  }

  .hero-title {
    font-size: clamp(2rem, 7.5vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 28px;
    padding: 0 8px;
  }

  /* Transform hero specs into a beautiful responsive 2x2 grid */
  .hero-specs-bar {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 380px;
    padding: 14px 18px;
    border-radius: 20px;
    margin-bottom: 36px;
  }

  .spec-divider {
    display: none;
  }

  .spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px;
  }

  .spec-val {
    font-size: 16px;
  }

  .spec-label {
    font-size: 10px;
  }

  /* Specs table mobile experience - 100% full width, no horizontal scroll */
  .specs-scroll-hint {
    display: none !important;
  }

  .specs-table-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    border-radius: 16px;
    margin-top: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .specs-table {
    width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed;
    border-collapse: collapse;
  }

  .spec-header-desktop {
    display: none !important;
  }

  .spec-header-mobile {
    display: inline !important;
  }

  .specs-table th {
    padding: 12px 6px;
    font-size: 12px;
    font-weight: 700;
  }

  .spec-th-feature {
    width: 37%;
    padding-left: 10px;
  }

  .spec-th-col {
    width: 30%;
    padding-left: 6px;
    padding-right: 6px;
  }

  .pro-col-header {
    width: 33%;
    background: rgba(245, 158, 11, 0.06);
    border-top: 2px solid #F59E0B;
  }

  .specs-table td {
    padding: 11px 6px;
    font-size: 11px;
    line-height: 1.35;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    vertical-align: middle;
  }

  .feature-cell {
    padding-left: 10px !important;
    font-size: 11.5px;
    font-weight: 600;
  }

  .specs-table td:nth-child(2) {
    padding-left: 6px;
    padding-right: 6px;
  }

  .specs-table td.pro-cell {
    padding-left: 6px;
    padding-right: 6px;
    background: rgba(245, 158, 11, 0.035);
  }

  .check-icon {
    font-size: 11px;
    margin-right: 2px;
  }

  /* Themes showcase grid */
  .themes-showcase-container {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .color-palette-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .color-card {
    padding: 12px 6px;
  }

  .c-name {
    font-size: 11px;
  }

  .c-tag {
    font-size: 9px;
  }
}

/* --- 5. Standard Smartphone Screens (< 600px) --- */
@media (max-width: 600px) {
  .section-padding {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .section-title {
    font-size: clamp(1.8rem, 6.5vw, 2.4rem);
    line-height: 1.15;
    margin-bottom: 12px;
  }

  .section-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
    padding: 0 4px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    gap: 12px;
    margin-bottom: 32px;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 14px;
  }

  /* iPhone Frame on Mobile */
  .hero-device-wrapper {
    max-width: 360px;
    width: 100%;
    perspective: none;
  }

  .iphone-frame {
    border-radius: 40px;
    padding: 8px;
    transform: none !important;
    box-shadow: 
      0 0 0 2px rgba(255, 255, 255, 0.14),
      0 0 0 4px #1E2536,
      0 20px 60px rgba(0, 0, 0, 0.8),
      0 25px 70px var(--theme-accent-glow);
  }

  .iphone-frame:hover {
    transform: none !important;
  }

  .iphone-screen {
    border-radius: 32px;
    height: 620px;
  }

  .iphone-island {
    top: 14px;
    width: 100px;
    height: 25px;
    border-radius: 14px;
  }

  .ios-status-bar {
    padding: 10px 16px 4px;
  }

  .ios-time {
    font-size: 13px;
  }

  .app-topbar {
    padding: 8px 12px;
  }

  .app-wallet-selector {
    max-width: 135px;
    padding: 4px 8px;
  }

  .wallet-name {
    font-size: 11px;
    max-width: 75px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .balance-card {
    padding: 16px 14px;
    border-radius: 18px;
    margin-bottom: 12px;
  }

  .balance-number {
    font-size: 28px;
  }

  .currency-symbol {
    font-size: 20px;
  }

  .currency-iso {
    font-size: 11px;
  }

  .balance-chips-row {
    gap: 8px;
  }

  .chip {
    padding: 7px 8px;
    border-radius: 11px;
    gap: 6px;
  }

  .chip-icon {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }

  .chip-label {
    font-size: 9px;
  }

  .chip-val {
    font-size: 11px;
  }

  .app-bottom-dock {
    height: 64px;
    padding: 0 6px;
  }

  .dock-tab svg {
    width: 18px;
    height: 18px;
  }

  .dock-tab span {
    font-size: 9px;
  }

  .app-fab-container {
    bottom: 74px;
    right: 14px;
  }

  .app-fab-main {
    width: 46px;
    height: 46px;
  }

  /* Simulator Box Mobile Auto-Fit */
  .interactive-sandbox {
    padding: 20px 14px;
    border-radius: 20px;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .sandbox-column {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .calculator-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .calc-caption {
    font-size: 10px;
  }

  .type-toggle-pills {
    width: 100%;
  }

  .type-pill {
    flex: 1;
    text-align: center;
    padding: 7px 8px;
    font-size: 11px;
  }

  .calc-screen-display {
    padding: 12px 14px;
  }

  .calc-currency {
    font-size: 22px;
  }

  .calc-amount-text {
    font-size: 30px;
  }

  .calc-categories-row {
    padding-bottom: 6px;
    margin-bottom: 12px;
  }

  .cat-pill {
    padding: 6px 12px;
    font-size: 11px;
    flex-shrink: 0;
  }

  .calc-keypad-grid {
    gap: 8px;
    margin-bottom: 12px;
  }

  .key-btn {
    height: 46px;
    font-size: 18px;
    border-radius: 10px;
  }

  .calc-submit-btn {
    height: 48px;
    font-size: 14px;
    border-radius: 12px;
  }

  .sandbox-feedback-col {
    padding: 16px 14px;
    border-radius: 16px;
  }

  .feedback-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 10px;
  }

  .feedback-title {
    font-size: 13px;
  }

  .live-pulse-chip {
    font-size: 9px;
  }

  .feedback-desc {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 14px;
  }

  .sandbox-stats-summary {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 10px 8px;
    margin-bottom: 14px;
  }

  .s-label {
    font-size: 9px;
  }

  .s-val {
    font-size: 12px;
  }

  .sound-tester-box {
    padding: 10px;
  }

  .tester-label {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .tester-buttons {
    flex-direction: column;
    gap: 8px;
  }

  .sound-chip-btn {
    width: 100%;
    justify-content: center;
    padding: 8px 12px;
    font-size: 12px;
  }

  /* MoneyBot */
  .ai-feature-list {
    gap: 12px;
    margin-bottom: 20px;
  }

  .ai-feature-item {
    padding: 12px;
    gap: 12px;
    border-radius: 14px;
  }

  .ai-feat-icon {
    width: 34px;
    height: 34px;
    font-size: 17px;
    border-radius: 9px;
  }

  .ai-feat-content strong {
    font-size: 13px;
  }

  .ai-feat-content p {
    font-size: 12px;
    line-height: 1.5;
  }

  .prompt-instruction {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .prompt-pills {
    gap: 6px;
  }

  .prompt-btn {
    padding: 9px 12px;
    font-size: 12px;
    line-height: 1.4;
    white-space: normal;
    text-align: left;
    width: 100%;
    border-radius: 10px;
  }

  .orb-stage {
    padding: 20px 8px;
  }

  .orb-halo {
    width: 220px;
    height: 220px;
  }

  .moneybot-orb-wrapper {
    width: 130px;
    height: 130px;
    margin-bottom: 16px;
  }

  .orb-core {
    width: 84px;
    height: 84px;
  }

  .live-transcription-card {
    max-width: 100%;
    padding: 14px 12px;
    border-radius: 14px;
  }

  .transcription-body {
    font-size: 13px;
    min-height: 34px;
    margin-bottom: 10px;
  }

  .transcription-parsed {
    flex-wrap: wrap;
    gap: 5px;
  }

  .parsed-badge {
    font-size: 10px;
    padding: 3px 7px;
  }

  .orb-action-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
    font-size: 14px;
    border-radius: 12px;
  }

  /* Bento Grid */
  .bento-grid {
    gap: 16px;
    margin-top: 24px;
  }

  .bento-card {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .bento-tag {
    font-size: 10px;
    margin-bottom: 8px;
  }

  .bento-title {
    font-size: 1.35rem;
    margin-bottom: 8px;
  }

  .bento-desc {
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 18px;
  }

  .bento-wallet-item {
    padding: 14px;
    border-radius: 12px;
  }

  .w-balance {
    font-size: 20px;
  }

  .sub-item {
    padding: 10px 12px;
    gap: 10px;
  }

  .sub-logo {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .sub-info strong {
    font-size: 12px;
  }

  .sub-info span {
    font-size: 10px;
  }

  .sub-price {
    font-size: 12px;
  }

  .bento-chart-preview {
    padding: 14px;
  }

  .chart-bars-demo {
    height: 85px;
  }

  .c-bar-col {
    width: 30px;
  }

  .c-bar-col span {
    font-size: 9px;
  }

  .security-visual {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }

  .security-badges-col {
    width: 100%;
    gap: 8px;
  }

  .sec-badge {
    justify-content: center;
    font-size: 12px;
    padding: 8px 12px;
  }

  .search-interactive-pill {
    padding: 12px 14px;
    font-size: 12px;
  }

  /* Pro Mode */
  .icon-switcher-box {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .icon-switcher-header h3 {
    font-size: 1.25rem;
  }

  .icon-switcher-header p {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .icons-comparison-row {
    flex-direction: column;
    gap: 14px;
  }

  .app-icon-card {
    width: 100%;
    max-width: 270px;
    padding: 18px;
    border-radius: 18px;
  }

  .icon-3d-wrapper {
    width: 74px;
    height: 74px;
  }

  .icon-title {
    font-size: 14px;
  }

  .icon-sub {
    font-size: 11px;
  }

  .icon-vs-divider {
    margin: 2px 0;
    font-size: 11px;
  }

  .pro-activation-simulator {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .pro-sim-content h4 {
    font-size: 1.25rem;
  }

  .pro-sim-content p {
    font-size: 13px;
    margin-bottom: 18px;
  }

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

  .sim-code-input {
    width: 100%;
    text-align: center;
    font-size: 15px;
    height: 48px;
    border-radius: 12px;
  }

  .sim-verify-btn {
    width: 100%;
    height: 48px;
    font-size: 14px;
    justify-content: center;
    border-radius: 12px;
  }

  /* Bottom CTA Banner */
  .bottom-cta-section {
    padding: 48px 0;
  }

  .cta-inner-card {
    padding: 34px 16px;
    border-radius: 22px;
  }

  .cta-app-icon {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    margin-bottom: 14px;
  }

  .cta-heading {
    font-size: clamp(1.5rem, 5.8vw, 2rem);
    line-height: 1.18;
    margin-bottom: 10px;
  }

  .cta-sub {
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 22px;
  }

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

  .cta-primary-large,
  .cta-secondary-large {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding: 13px 18px;
    font-size: 14px;
  }

  /* Footer */
  .site-footer {
    padding-top: 48px;
  }

  .footer-top-notes {
    font-size: 11px;
    line-height: 1.55;
    margin-bottom: 28px;
  }

  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-bottom: 32px;
  }

  .footer-col-brand {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-col {
    text-align: center;
    align-items: center;
  }

  .footer-bottom-bar {
    flex-direction: column-reverse;
    gap: 12px;
    text-align: center;
    font-size: 11px;
    padding-top: 20px;
  }

  .footer-bottom-links {
    justify-content: center;
    gap: 16px;
  }

  /* Modal */
  .modal-overlay {
    padding: 14px;
  }

  .modal-card {
    padding: 18px 14px;
    border-radius: 18px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal-title-row h3 {
    font-size: 15px;
  }

  .contact-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 9px 11px;
  }

  .c-label {
    font-size: 10px;
  }

  .c-val,
  .contact-link {
    font-size: 12px;
    word-break: break-all;
  }
}

/* --- 6. Compact & Extra Small Mobile Phones (< 400px) --- */
@media (max-width: 400px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-device-wrapper {
    max-width: 308px;
  }

  .iphone-frame {
    border-radius: 34px;
    padding: 6px;
  }

  .iphone-screen {
    border-radius: 28px;
    height: 560px;
  }

  .balance-number {
    font-size: 24px;
  }

  .balance-caption {
    font-size: 9px;
  }

  .dock-tab span {
    font-size: 8px;
  }

  .calc-amount-text {
    font-size: 26px;
  }

  /* Stats summary in simulator switches to comfortable rows */
  .sandbox-stats-summary {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .sandbox-stat-box {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 4px;
  }

  .sandbox-stat-box:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .s-val {
    font-size: 13px;
  }

  .color-palette-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .theme-dropdown {
    right: -8px;
    width: 250px;
    max-width: calc(100vw - 24px);
  }

  .theme-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
  }

  /* Ultra-compact specs table for small phones (< 400px) */
  .specs-table th {
    padding: 10px 4px;
    font-size: 11px;
  }

  .spec-th-feature {
    width: 36%;
    padding-left: 8px;
  }

  .spec-th-col {
    width: 31%;
    padding-left: 4px;
    padding-right: 4px;
  }

  .pro-col-header {
    width: 33%;
  }

  .specs-table td {
    padding: 9px 4px;
    font-size: 10px;
    line-height: 1.3;
  }

  .feature-cell {
    padding-left: 8px !important;
    font-size: 10.5px;
  }

  .specs-table td:nth-child(2) {
    padding-left: 4px;
    padding-right: 4px;
  }

  .specs-table td.pro-cell {
    padding-left: 4px;
    padding-right: 4px;
  }

  .check-icon {
    font-size: 10px;
    margin-right: 2px;
  }
}

/* --- 7. Touch Optimization for Mobile/Tablet Devices --- */
@media (hover: none) and (pointer: coarse) {
  .bento-card:hover {
    transform: none;
    box-shadow: none;
  }

  .key-btn:hover {
    transform: none;
  }

  .calc-submit-btn:hover {
    transform: none;
  }

  .hero-btn-primary:hover,
  .hero-btn-secondary:hover {
    transform: none;
  }

  /* Min 44px tap targets for iOS accessibility */
  .nav-link,
  .dock-tab,
  .theme-btn-trigger,
  .mobile-toggle,
  .key-btn,
  .cat-pill,
  .type-pill,
  .sound-chip-btn,
  .stats-seg-btn,
  .app-icon-btn,
  .btn-modal-action,
  .modal-close-btn {
    min-height: 38px;
  }
}
