/* ═══════════════════════════════════════════════════════════════
   SmartCalc AI — Official Landing Page Stylesheet
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg-dark: #0a0c10;
  --bg-surface: #12151d;
  --bg-card: rgba(22, 26, 38, 0.75);
  --bg-card-hover: rgba(28, 33, 49, 0.9);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(255, 229, 0, 0.35);

  --accent-gold: #FFE500;
  --accent-gold-dark: #D4BD00;
  --accent-gold-glow: rgba(255, 229, 0, 0.25);
  
  --accent-cyan: #00F2FE;
  --accent-cyan-glow: rgba(0, 242, 254, 0.25);
  
  --accent-green: #10B981;
  --accent-green-glow: rgba(16, 185, 129, 0.25);
  
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Menlo, monospace;

  --shadow-card: 0 12px 36px -8px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 30px rgba(255, 229, 0, 0.2);
  --shadow-cyan-glow: 0 0 30px rgba(0, 242, 254, 0.2);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  background: var(--accent-gold);
  color: #000;
  padding: 8px 16px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  z-index: 99999;
  transition: top 0.2s ease;
  text-decoration: none;
}
.skip-link:focus {
  top: 16px;
}

/* Ambient Glow Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}
.glow-orb-gold {
  top: 5%;
  right: -10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(255, 229, 0, 0.35) 0%, rgba(255, 229, 0, 0) 70%);
}
.glow-orb-cyan {
  top: 35%;
  left: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.28) 0%, rgba(0, 242, 254, 0) 70%);
}
.glow-orb-purple {
  bottom: 10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, rgba(168, 85, 247, 0) 70%);
}

/* Typography Helpers */
.grad-text {
  background: linear-gradient(135deg, #FFE500 0%, #FFF566 50%, #00F2FE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.grad-text-cyan {
  background: linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Container */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ══════════════════════ NAVIGATION ══════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 12, 16, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #181B26;
  border: 1px solid var(--border-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 16px rgba(255, 229, 0, 0.2);
}

.brand-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.brand-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.brand-badge {
  font-size: 10px;
  color: var(--accent-gold);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text-main);
}

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

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(14, 17, 24, 0.98);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px;
  flex-direction: column;
  gap: 18px;
  z-index: 999;
}

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

.mobile-menu a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.btn-primary {
  background: var(--accent-gold);
  color: #0A0C10;
  box-shadow: 0 4px 18px rgba(255, 229, 0, 0.3);
}

.btn-primary:hover {
  background: #FFF033;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 229, 0, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  border-color: var(--border-subtle);
  backdrop-filter: blur(10px);
}

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

.btn-outline-gold {
  background: transparent;
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.btn-outline-gold:hover {
  background: rgba(255, 229, 0, 0.1);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13.5px;
}

.btn-md {
  padding: 12px 22px;
  font-size: 15px;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 16px;
}

/* ══════════════════════ HERO SECTION ══════════════════════ */
.hero {
  padding: 60px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 229, 0, 0.1);
  border: 1px solid rgba(255, 229, 0, 0.3);
  color: var(--accent-gold);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
  width: fit-content;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pill-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-size: 56px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -1.5px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.hero-perks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
  list-style: none;
}

.hero-perk-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-perk-icon {
  color: var(--accent-green);
  font-size: 14px;
}

/* ══════════════════════ PHONE MOCKUP (INTERACTIVE) ══════════════════════ */
.hero-phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.phone-mockup {
  width: 320px;
  height: 650px;
  background: #11141c;
  border-radius: 46px;
  border: 4px solid #2a2e3d;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.8),
              0 0 40px rgba(255, 229, 0, 0.15),
              inset 0 0 0 2px rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 14px 14px 20px;
  user-select: none;
}

/* Top Phone Notch / Camera */
.phone-notch-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 10px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

.camera-hole {
  width: 10px;
  height: 10px;
  background: #000;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* In-App Header */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px 10px;
}

.mode-toggle-group {
  display: flex;
  background: #1c202d;
  border-radius: 20px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mode-pill {
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 16px;
  cursor: pointer;
  border: none;
  color: var(--text-muted);
  background: transparent;
  transition: all 0.2s;
}

.mode-pill.active {
  background: var(--accent-gold);
  color: #000;
  box-shadow: 0 2px 8px rgba(255, 229, 0, 0.4);
}

.app-icons-right {
  display: flex;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
}

.sound-toggle-btn {
  background: #1c202d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--accent-gold);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
}

/* Display Screen */
.calc-display {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 10px 8px 14px;
  overflow: hidden;
}

.calc-expr-container {
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  text-align: right;
  scrollbar-width: none;
}
.calc-expr-container::-webkit-scrollbar {
  display: none;
}

.calc-expression {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--text-muted);
  min-height: 26px;
  display: inline-block;
}

.calc-result {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.1;
  color: #FFFFFF;
  margin-top: 4px;
  letter-spacing: -1px;
  font-family: var(--font-sans);
}

.calc-status-hint {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-gold);
  margin-top: 2px;
  min-height: 16px;
}

/* Mic Pill Bar */
.mic-pill-bar {
  background: #191d29;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.mic-pill-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-main);
}

.mic-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gold);
}

.mic-toggle-label {
  font-size: 10px;
  background: #252a3a;
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 700;
}

/* Keypad Grid */
.calc-keypad {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.calc-btn {
  height: 52px;
  border-radius: 50%;
  border: none;
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1c2130;
  color: var(--text-main);
  transition: transform 0.1s, filter 0.1s, background-color 0.15s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.calc-btn:active {
  transform: scale(0.92);
}

.calc-btn.btn-num {
  background: #171b26;
  color: #F1F5F9;
}
.calc-btn.btn-num:hover {
  background: #23293a;
}

.calc-btn.btn-op {
  background: #d8c99b;
  color: #171a21;
  font-size: 21px;
}
.calc-btn.btn-op:hover {
  background: #e4d7b2;
}

.calc-btn.btn-action {
  background: var(--accent-gold);
  color: #0c0f14;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(255, 229, 0, 0.35);
}
.calc-btn.btn-action:hover {
  background: #fff033;
}

.calc-btn.btn-ac {
  background: var(--accent-gold);
  color: #0c0f14;
  font-size: 16px;
}

/* Floating interactive chips orbiting the phone */
.float-chip {
  position: absolute;
  background: rgba(18, 22, 32, 0.9);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(14px);
  padding: 10px 16px;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  animation: floatOrb 5s ease-in-out infinite;
  max-width: 250px;
}

.chip-voice {
  top: 15%;
  left: -40px;
}
.chip-pip {
  bottom: 25%;
  right: -35px;
  animation-delay: 2.5s;
}

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

.float-chip-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.icon-voice {
  background: rgba(255, 229, 0, 0.15);
  color: var(--accent-gold);
}
.icon-pip {
  background: rgba(0, 242, 254, 0.15);
  color: var(--accent-cyan);
}

.float-chip-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}
.float-chip-desc {
  font-size: 10.5px;
  color: var(--text-muted);
}

/* ══════════════════════ TICKER MARQUEE ══════════════════════ */
.marquee-strip {
  width: 100%;
  background: #0f121a;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 0;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 40px;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #CBD5E1;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══════════════════════ STATS SECTION ══════════════════════ */
.stats-section {
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  backdrop-filter: blur(16px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
}

.stat-number {
  font-size: 46px;
  font-weight: 900;
  color: var(--accent-gold);
  line-height: 1;
  font-family: var(--font-sans);
  letter-spacing: -1px;
}

.stat-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 10px;
}

.stat-sub {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ══════════════════════ SECTION HEADERS ══════════════════════ */
.section {
  padding: 90px 0;
  position: relative;
}

.section-alt {
  background: #0d0f16;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ══════════════════════ FEATURE 1: VOICE AI SHOWCASE ══════════════════════ */
.voice-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.voice-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-tick-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.feature-tick-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: #CBD5E1;
}

.tick-icon {
  color: var(--accent-gold);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Voice Interactive Sandbox Card */
.voice-sandbox-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
}

.sandbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.sandbox-title {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-badge {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.sample-phrases-label {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 10px;
}

.sample-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.sample-chip {
  background: #171c28;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #E2E8F0;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  cursor: pointer;
  transition: all 0.2s;
}

.sample-chip:hover, .sample-chip.active {
  background: rgba(255, 229, 0, 0.15);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.voice-input-wrap {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.voice-text-input {
  flex: 1;
  background: #0e111a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 14px;
  color: #fff;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.voice-text-input:focus {
  border-color: var(--accent-gold);
}

.voice-mic-sim-btn {
  background: var(--accent-gold);
  color: #000;
  border: none;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
}

.voice-mic-sim-btn:hover {
  transform: scale(1.05);
}

/* Audio Wave Visualizer Simulation */
.audio-wave-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 36px;
  margin-bottom: 20px;
  background: #0d1017;
  border-radius: var(--radius-sm);
  padding: 0 12px;
}

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

.audio-wave-container.active .wave-bar:nth-child(odd) {
  animation: waveAnim 0.7s infinite alternate ease-in-out;
}
.audio-wave-container.active .wave-bar:nth-child(even) {
  animation: waveAnim 0.5s infinite alternate ease-in-out;
}

@keyframes waveAnim {
  0% { height: 6px; }
  100% { height: 28px; }
}

/* Pipeline Breakdown Result */
.pipeline-breakdown {
  background: #0a0d14;
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pipeline-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
}

.pipeline-label {
  color: var(--text-dim);
  font-weight: 600;
}

.pipeline-value {
  font-family: var(--font-mono);
  font-weight: 700;
}

.noise-stripped {
  color: #EF4444;
  text-decoration: line-through;
  opacity: 0.8;
}

.token-kept {
  color: var(--accent-gold);
}

.pipeline-math-expr {
  color: var(--accent-cyan);
}

.pipeline-final-ans {
  font-size: 20px;
  font-weight: 900;
  color: #10B981;
}

/* ══════════════════════ FEATURE 2: PIP FLOATING OVERLAY ══════════════════════ */
.pip-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.mock-desktop-canvas {
  width: 100%;
  height: 480px;
  background: #141824;
  border-radius: var(--radius-xl);
  border: 2px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

/* Simulated underlying app (e.g., WhatsApp / Shopping) */
.under-app-view {
  width: 100%;
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0.6;
  filter: grayscale(20%);
}

.under-app-header {
  height: 38px;
  background: #1e2436;
  border-radius: 8px;
  width: 45%;
}

.under-chat-bubble {
  padding: 12px 18px;
  border-radius: 14px;
  max-width: 65%;
  font-size: 13px;
  color: #E2E8F0;
  line-height: 1.4;
}

.chat-left {
  background: #1b2133;
  align-self: flex-start;
}

.chat-right {
  background: #0f3938;
  color: #a7f3d0;
  align-self: flex-end;
}

/* Floating Overlay Component */
.floating-pip-widget {
  position: absolute;
  top: 70px;
  right: 40px;
  width: 250px;
  background: #161924;
  border: 2px solid var(--accent-gold);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 229, 0, 0.25);
  cursor: grab;
  z-index: 50;
  user-select: none;
  transition: width 0.3s ease, border-radius 0.3s ease;
}

.pip-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #202536;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-gold);
}

.pip-header-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pip-controls {
  display: flex;
  gap: 6px;
}

.pip-btn-ctrl {
  background: transparent;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  font-size: 12px;
}

.pip-body {
  padding: 12px;
}

.pip-display {
  background: #0e1017;
  border-radius: 10px;
  padding: 8px 10px;
  text-align: right;
  margin-bottom: 10px;
}

.pip-input-text {
  font-size: 12px;
  color: #94A3B8;
  font-family: var(--font-mono);
}

.pip-result-text {
  font-size: 22px;
  font-weight: 800;
  color: #FFE500;
}

.pip-key-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.pip-kbtn {
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #24293a;
  color: #F8FAFC;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pip-kbtn:active {
  transform: scale(0.9);
}

.pip-kbtn-gold {
  background: var(--accent-gold);
  color: #000;
}

/* ══════════════════════ FEATURE 3: HOME SCREEN WIDGET ══════════════════════ */
.widget-showcase-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.homescreen-mockup {
  background: radial-gradient(circle at 50% 30%, #1e2638 0%, #0d1017 100%);
  border-radius: 40px;
  border: 4px solid #2a3144;
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hs-status-bar {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: #94A3B8;
}

.hs-widget-card {
  background: #171b26;
  border: 1px solid rgba(255, 229, 0, 0.4);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.3s ease;
}

.hs-widget-card.theme-cyber {
  border-color: rgba(0, 242, 254, 0.6);
  box-shadow: 0 8px 24px rgba(0, 242, 254, 0.15);
}

.hs-widget-card.theme-mint {
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15);
}

.hs-widget-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--accent-gold);
}

.hs-widget-display {
  background: #0d0f16;
  border-radius: 12px;
  padding: 10px 14px;
  text-align: right;
}

.hs-widget-expr {
  font-size: 13px;
  color: #94A3B8;
  font-family: var(--font-mono);
}

.hs-widget-val {
  font-size: 26px;
  font-weight: 800;
  color: #FFFFFF;
}

.hs-widget-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.hs-wbtn {
  height: 38px;
  border-radius: 19px;
  background: #232838;
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.hs-app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 10px;
}

.hs-app-icon {
  height: 52px;
  border-radius: 16px;
  background: #252c3d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.theme-selector-pills {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.theme-pill-btn {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.theme-pill-btn.active {
  background: var(--accent-gold);
  color: #000;
  border-color: var(--accent-gold);
}

/* ══════════════════════ FEATURE BENTO GRID ══════════════════════ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
}

.bento-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(255, 229, 0, 0.1);
  border: 1px solid rgba(255, 229, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--accent-gold);
}

.bento-title {
  font-size: 20px;
  font-weight: 800;
  color: #F8FAFC;
}

.bento-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

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

/* ══════════════════════ SCIENTIFIC & TACTILE ══════════════════════ */
.sci-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.sci-key-card {
  background: #171c28;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-gold);
  transition: all 0.2s;
}

.sci-key-card:hover {
  background: #22293b;
  border-color: var(--accent-gold);
  transform: scale(1.05);
}

/* ══════════════════════ PRIVACY BANNER ══════════════════════ */
.privacy-highlight-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(10, 12, 16, 0.9) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  align-items: center;
  gap: 32px;
}

.privacy-badge-pill {
  background: rgba(16, 185, 129, 0.2);
  color: #34D399;
  font-weight: 800;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.privacy-title {
  font-size: 28px;
  font-weight: 800;
  margin: 12px 0 8px;
  color: #F8FAFC;
}

.privacy-desc {
  font-size: 15px;
  color: #94A3B8;
  line-height: 1.6;
}

.privacy-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(0, 0, 0, 0.4);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.priv-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: #E2E8F0;
}

/* ══════════════════════ FEEDBACK WIDGET ══════════════════════ */
.feedback-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.stars-rating-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0 10px;
}

.star-btn {
  background: transparent;
  border: none;
  font-size: 32px;
  cursor: pointer;
  filter: grayscale(100%);
  opacity: 0.4;
  transition: transform 0.2s, filter 0.2s, opacity 0.2s;
}

.star-btn.hover, .star-btn.active {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.15);
}

.rating-caption {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 20px;
}

.fb-topic-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.fb-topic-chip {
  background: #171c28;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #CBD5E1;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  cursor: pointer;
  transition: all 0.2s;
}

.fb-topic-chip.active {
  background: rgba(255, 229, 0, 0.15);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.fb-textarea {
  width: 100%;
  background: #0f121a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 14px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  resize: vertical;
  min-height: 100px;
  margin-bottom: 14px;
}

.fb-textarea:focus {
  border-color: var(--accent-gold);
}

.fb-email-input {
  width: 100%;
  background: #0f121a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  color: #fff;
  font-size: 14px;
  outline: none;
  margin-bottom: 18px;
}

.fb-email-input:focus {
  border-color: var(--accent-gold);
}

.fb-toast-msg {
  display: none;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-green);
}

/* ══════════════════════ FAQ ACCORDION ══════════════════════ */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-card.open {
  border-color: var(--border-highlight);
}

.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: #F8FAFC;
  font-size: 16.5px;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 16px;
}

.faq-icon {
  font-size: 20px;
  color: var(--accent-gold);
  transition: transform 0.3s ease;
}

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

.faq-content {
  display: none;
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.faq-card.open .faq-content {
  display: block;
}

/* ══════════════════════ DOWNLOAD / CTA SECTION ══════════════════════ */
.download-card {
  background: linear-gradient(135deg, #171b28 0%, #0d1017 100%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 229, 0, 0.15);
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 48px;
}

.download-info-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.download-title {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -1px;
}

.download-btns-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.qr-code-box {
  background: #11141d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.qr-code-img {
  width: 160px;
  height: 160px;
  border-radius: 12px;
}

.qr-subtext {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 600;
}

/* ══════════════════════ FOOTER ══════════════════════ */
.footer {
  background: #080a0e;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
}

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

.footer-brand-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand-side p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 320px;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #fff;
  margin-bottom: 16px;
}

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

.footer-col-links a, .footer-col-links button {
  background: none;
  border: none;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0;
  font-family: inherit;
}

.footer-col-links a:hover, .footer-col-links button:hover {
  color: var(--accent-gold);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--text-dim);
}

/* ══════════════════════ PRIVACY POLICY MODAL ══════════════════════ */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-dialog {
  background: #12151f;
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 780px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(255, 229, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.modal-overlay.active .modal-dialog {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid var(--border-subtle);
  background: #161a26;
}

.modal-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #94A3B8;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.modal-body {
  padding: 28px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  line-height: 1.6;
}

.modal-body h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--accent-gold);
  margin-top: 6px;
}

.modal-body p {
  font-size: 14px;
  color: #CBD5E1;
}

.modal-body ul {
  list-style-position: inside;
  font-size: 14px;
  color: #CBD5E1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-footer {
  padding: 18px 28px;
  border-top: 1px solid var(--border-subtle);
  background: #161a26;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Sticky Mobile Bar */
.sticky-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(14, 18, 27, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  padding: 12px 20px;
  z-index: 900;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5);
}

/* ══════════════════════ RESPONSIVE MEDIA QUERIES ══════════════════════ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-copy {
    align-items: center;
  }
  .hero-subtitle {
    margin: 0 auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-perks {
    justify-content: center;
  }
  .voice-showcase-grid,
  .pip-showcase-grid,
  .widget-showcase-grid,
  .privacy-highlight-box,
  .download-card {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-wide {
    grid-column: span 1;
  }
  .sci-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 38px;
  }
  .nav-links, .nav-actions .btn {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .float-chip {
    display: none;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .sticky-mobile-bar {
    display: flex;
  }
}
