@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800&display=swap');

/* =========================================================================
   NOTIARY: PREMIUM ON-DEVICE STYLE SYSTEM (VANILLA CSS - DARK MODE)
   ========================================================================= */

:root {
  /* Colors - Sage Green & Warm Sand Palette */
  --bg-void: #090A0F;
  --bg-obsidian: #121318;
  --bg-graphite: #1C1D24;
  --bg-graphite-warm: #22232B;
  
  --color-primary: #3D8B6E;        /* Sage Green */
  --color-primary-light: #5BAD8A;  /* Lighter Sage Green */
  --color-accent: #B8935A;         /* Warm Sand */
  --color-blue: #5B7FA6;           /* Muted Steel Blue */
  
  /* Legacy Color Mappings for Page Compatibility */
  --teal: var(--color-primary-light);
  --teal-glow: rgba(91, 173, 138, 0.18);
  --purple: var(--color-accent);
  --purple-glow: rgba(184, 147, 90, 0.18);
  --indigo: var(--color-primary);
  --indigo-glow: rgba(61, 139, 110, 0.18);
  --amber: var(--color-accent);
  --amber-glow: rgba(184, 147, 90, 0.18);
  
  /* Glassmorphism Configuration */
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.07);
  --glass-hover: rgba(255, 255, 255, 0.06);
  --glass-border-hover: rgba(255, 255, 255, 0.18);
  
  /* Typography Colors */
  --text-primary: #F5F5F7;
  --text-secondary: #8E8E93;
  --text-muted: #636366;
  
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-void);
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-void);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.mobile-menu-active {
  overflow: hidden;
}

/* Ambient Background & Moving Orbs */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background: var(--bg-void);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.3;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: floatOrb 25s infinite alternate ease-in-out;
}

.orb-1 {
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 80%);
  top: -15vw;
  left: -10vw;
  animation-delay: 0s;
}

.orb-2 {
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, var(--color-primary-light) 0%, transparent 80%);
  top: 30vh;
  right: -10vw;
  animation-delay: -7s;
}

.orb-3 {
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, var(--color-accent) 0%, transparent 80%);
  bottom: -15vw;
  left: 20vw;
  animation-delay: -14s;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="4" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
  opacity: 0.015;
  z-index: -1;
  pointer-events: none;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(6vw, 8vh) scale(1.12) rotate(120deg); }
  100% { transform: translate(-4vw, -5vh) scale(0.95) rotate(240deg); }
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(9, 10, 15, 0.75);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.03em;
  z-index: 110;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: 10px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(61, 139, 110, 0.4);
}

.logo-icon::after {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  animation: pulseOrb 2.5s infinite ease-in-out;
}

@keyframes pulseOrb {
  0%, 100% { transform: scale(0.75); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 8px #ffffff; }
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s, transform 0.3s;
}

nav a:hover {
  color: var(--text-primary);
}

.nav-btn {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 0.6rem 1.25rem;
  border-radius: 100px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--text-primary);
  transform: translateY(-1px);
}

/* Mobile Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 110;
  padding: 0;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Landing Layout Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
}

/* Hero Section */
.hero {
  padding: 8rem 0 5rem 0;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
  min-height: 85vh;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  background: rgba(61, 139, 110, 0.15);
  border: 1px solid rgba(61, 139, 110, 0.25);
  color: var(--color-primary-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary-light);
  box-shadow: 0 0 8px var(--color-primary-light);
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #FFFFFF 0%, #D1D1D6 60%, #8E8E93 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 580px;
  font-weight: 400;
}

.btn-group {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.1rem 2.2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-display);
}

.btn-primary {
  background: #FFFFFF;
  color: #090A0F;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.05);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.15);
  background: #F5F5F7;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

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

/* =========================================================================
   HIGH-FIDELITY CSS PHONE MOCKUP (INTERACTIVE APP HERO VISUAL)
   ========================================================================= */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: relative;
  width: 290px;
  height: 590px;
  background: #000;
  border-radius: 44px;
  padding: 10px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.15);
  border: 4px solid #2C2D35;
  margin: 0 auto;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.phone-mockup:hover {
  transform: translateY(-8px) rotate(-1deg);
}

.phone-bezel {
  width: 100%;
  height: 100%;
  background: #111;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.phone-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 95px;
  height: 25px;
  background: #000;
  border-radius: 20px;
  z-index: 100;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 30%, #111C16 0%, #090A0F 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 3rem 1.2rem 1.5rem 1.2rem;
  overflow: hidden;
}

.phone-status-bar {
  position: absolute;
  top: 14px;
  left: 0;
  right: 0;
  padding: 0 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #FFFFFF;
  z-index: 90;
  opacity: 0.8;
}

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

.phone-battery {
  width: 20px;
  height: 10px;
  border: 1px solid #FFFFFF;
  border-radius: 3px;
  position: relative;
  padding: 1px;
}

.phone-battery::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  border-radius: 1px;
}

.phone-app-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.75rem;
}

.logo-icon.compact {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(61, 139, 110, 0.3);
}

.logo-icon.compact::after {
  width: 8px;
  height: 8px;
}

.phone-app-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.phone-app-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.phone-transcription-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
  position: relative;
}

.phone-mic-btn {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(61, 139, 110, 0.4);
  z-index: 10;
  position: relative;
}

.phone-pulse-ring {
  position: absolute;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 2px solid rgba(91, 173, 138, 0.3);
  animation: phoneRingPulse 2.5s infinite ease-out;
  z-index: 1;
}

@keyframes phoneRingPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.phone-status-text {
  font-size: 0.8rem;
  color: var(--color-primary-light);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.phone-app-waveform {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 45px;
  margin-bottom: 2rem;
}

.phone-wave-bar {
  width: 3px;
  height: 8px;
  background: linear-gradient(to top, var(--color-primary), var(--color-primary-light));
  border-radius: 10px;
  animation: phoneWave 0.8s infinite ease-in-out alternate;
}

@keyframes phoneWave {
  0% { height: 6px; }
  100% { height: 40px; }
}

.phone-wave-bar:nth-child(1) { animation-delay: 0.1s; }
.phone-wave-bar:nth-child(2) { animation-delay: 0.3s; }
.phone-wave-bar:nth-child(3) { animation-delay: 0.5s; }
.phone-wave-bar:nth-child(4) { animation-delay: 0.2s; }
.phone-wave-bar:nth-child(5) { animation-delay: 0.4s; }
.phone-wave-bar:nth-child(6) { animation-delay: 0.1s; }
.phone-wave-bar:nth-child(7) { animation-delay: 0.3s; }
.phone-wave-bar:nth-child(8) { animation-delay: 0.5s; }
.phone-wave-bar:nth-child(9) { animation-delay: 0.2s; }
.phone-wave-bar:nth-child(10) { animation-delay: 0.4s; }

.phone-extraction-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--color-primary-light);
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  animation: slideUpCard 4.5s infinite ease-in-out;
}

@keyframes slideUpCard {
  0%, 100% { transform: translateY(40px); opacity: 0; }
  15%, 85% { transform: translateY(0); opacity: 1; }
}

.phone-card-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.2rem;
}

.phone-card-time {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.phone-card-action {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--color-primary-light);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Waveform Section */
.waveform-section {
  padding: 4rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  height: 75px;
  box-sizing: content-box;
}

.wave-bar {
  width: 4px;
  height: 15px;
  background: linear-gradient(to top, var(--color-primary), var(--color-primary-light));
  border-radius: 10px;
  opacity: 0.7;
  animation: wavePulse 1.2s infinite ease-in-out alternate;
}

@keyframes wavePulse {
  0% { height: 10px; opacity: 0.3; }
  100% { height: 75px; opacity: 1; }
}

/* Wave delay classes */
.wave-bar:nth-child(1) { animation-delay: 0.1s; }
.wave-bar:nth-child(2) { animation-delay: 0.4s; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; }
.wave-bar:nth-child(4) { animation-delay: 0.6s; }
.wave-bar:nth-child(5) { animation-delay: 0.3s; }
.wave-bar:nth-child(6) { animation-delay: 0.8s; }
.wave-bar:nth-child(7) { animation-delay: 0.5s; }
.wave-bar:nth-child(8) { animation-delay: 0.2s; }
.wave-bar:nth-child(9) { animation-delay: 0.7s; }
.wave-bar:nth-child(10) { animation-delay: 0.9s; }
.wave-bar:nth-child(11) { animation-delay: 0.3s; }
.wave-bar:nth-child(12) { animation-delay: 0.5s; }

/* Section Titles */
.section-title-wrap {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Bento Grid Features */
.features {
  padding: 5rem 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.glass-card {
  background: var(--glass);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.glass-card:hover {
  transform: translateY(-5px);
  background: var(--glass-hover);
  border-color: var(--glass-border-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), 0 0 15px rgba(61, 139, 110, 0.03);
}

.bento-6 { grid-column: span 6; }
.bento-4 { grid-column: span 4; }
.bento-8 { grid-column: span 8; }
.bento-12 { grid-column: span 12; }

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--color-primary-light);
  transition: all 0.3s ease;
}

.glass-card:hover .card-icon {
  background: rgba(61, 139, 110, 0.15);
  border-color: rgba(61, 139, 110, 0.3);
  color: var(--color-primary-light);
  transform: scale(1.05);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.card-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

/* Card Specific Layouts */
.flex-card-content {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  height: 100%;
}

.flex-card-text {
  flex: 1.2;
}

.flex-card-visual {
  flex: 0.8;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Date Pill Simulation Grid */
.date-pill-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.date-pill-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 0.6rem 0.8rem;
  transition: all 0.3s ease;
}

.date-pill-row:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(2px);
}

.date-pill-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  min-width: 75px;
  text-align: center;
}

.date-pill-badge.today {
  background: rgba(91, 173, 138, 0.15);
  color: var(--color-primary-light);
  border: 1px solid rgba(91, 173, 138, 0.3);
}

.date-pill-badge.tomorrow {
  background: rgba(184, 147, 90, 0.15);
  color: var(--color-accent);
  border: 1px solid rgba(184, 147, 90, 0.3);
}

.date-pill-badge.relative {
  background: rgba(91, 127, 166, 0.15);
  color: var(--color-blue);
  border: 1px solid rgba(91, 127, 166, 0.3);
}

.date-pill-desc {
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* Interactive Demo Widget */
.demo-section {
  padding: 5rem 0;
}

.demo-box {
  background: rgba(18, 19, 24, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

.demo-presets {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.demo-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.demo-intro {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.preset-btn {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 1rem 1.5rem;
  border-radius: 20px;
  text-align: left;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.preset-btn:hover, .preset-btn.active {
  background: rgba(61, 139, 110, 0.08);
  border-color: rgba(61, 139, 110, 0.4);
  transform: translateX(4px);
}

.preset-btn .play-icon {
  opacity: 0;
  color: var(--color-primary-light);
  transition: all 0.3s;
}

.preset-btn:hover .play-icon, .preset-btn.active .play-icon {
  opacity: 1;
}

/* Demo Simulation Panel */
.demo-sim-panel {
  background: rgba(9, 10, 15, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 350px;
  position: relative;
  overflow: hidden;
}

.sim-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 0.75rem;
}

.sim-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sim-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--text-muted);
}

.sim-dot.active {
  background-color: var(--color-primary-light);
  box-shadow: 0 0 6px var(--color-primary-light);
  animation: blink 1s infinite;
}

.sim-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sim-waveform {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 40px;
}

.sim-waveform .wave-bar {
  animation-duration: 0.6s;
  height: 8px;
  background: linear-gradient(to top, var(--color-primary), var(--color-primary-light));
}

.sim-waveform.active {
  display: flex;
}

.sim-transcript-box {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 1rem;
  border-radius: 14px;
  min-height: 70px;
}

.transcript-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.transcript-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: italic;
}

.sim-result-box {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s;
}

.sim-result-box.visible {
  opacity: 1;
  transform: translateY(0);
}

.result-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--glass-border);
  padding: 1rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.result-card.reminder {
  border-left: 3px solid var(--color-accent);
}

.result-card.calendar {
  border-left: 3px solid var(--color-primary);
}

.result-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.result-card.reminder .result-icon {
  background: rgba(184, 147, 90, 0.1);
  color: var(--color-accent);
}

.result-card.calendar .result-icon {
  background: rgba(61, 139, 110, 0.1);
  color: var(--color-primary);
}

.result-info {
  flex: 1;
}

.result-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.result-time {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.result-tag {
  font-size: 0.7rem;
  background: rgba(255,255,255,0.05);
  padding: 0.25rem 0.5rem;
  border-radius: 100px;
  color: var(--text-secondary);
}

.sim-processing {
  position: absolute;
  inset: 0;
  background: rgba(9, 10, 15, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.sim-processing.visible {
  opacity: 1;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(61, 139, 110, 0.1);
  border-top-color: var(--color-primary-light);
  border-radius: 50%;
  animation: spin 0.8s infinite linear;
}

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

.processing-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Premium Download CTA Banner */
.banner {
  margin: 6rem 0;
  background: linear-gradient(135deg, rgba(61, 139, 110, 0.08) 0%, rgba(184, 147, 90, 0.04) 100%);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 4rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.banner-content {
  max-width: 650px;
}

.banner-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.banner-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.banner-bullets {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.banner-bullets li {
  font-size: 0.95rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.banner-bullets svg {
  color: var(--color-primary-light);
  flex-shrink: 0;
}

.banner-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.cta-qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--glass-border);
  padding: 1.25rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.qr-code {
  width: 120px;
  height: 120px;
  background: #FFFFFF;
  padding: 8px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-code svg {
  width: 100%;
  height: 100%;
}

.qr-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* FAQ Accordion Component */
.faq-section {
  padding: 5rem 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  border-top: 1px solid var(--glass-border);
}

.faq-item {
  border-bottom: 1px solid var(--glass-border);
}

.faq-toggle {
  display: none;
}

.faq-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  cursor: pointer;
  background: transparent;
  transition: background 0.3s;
}

.faq-label:hover {
  background: rgba(255, 255, 255, 0.01);
}

.faq-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-display);
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--color-primary-light);
  transition: transform 0.3s;
}

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

.faq-toggle:checked ~ .faq-content {
  max-height: 250px;
  padding-bottom: 1.5rem;
  padding-top: 0.5rem;
}

.faq-toggle:checked ~ .faq-label .faq-icon {
  transform: rotate(180deg);
  color: var(--color-primary);
}

/* Specs Table */
.specs-section {
  padding: 5rem 0;
}

.specs-table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--glass-border);
}

.specs-table td {
  padding: 1.5rem 2rem;
}

.specs-table td:first-child {
  color: var(--color-primary-light);
  font-weight: 600;
  font-family: var(--font-display);
  width: 35%;
}

.specs-table td:last-child {
  color: var(--text-secondary);
  text-align: right;
}

/* Policy Content (Privacy / Support Docs) */
.policy-page {
  padding: 10rem 0 6rem 0;
  max-width: 800px;
  margin: 0 auto;
}

.policy-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.policy-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 1rem;
}

.policy-body h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem 0;
}

.policy-body p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.policy-body ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.policy-body li {
  margin-bottom: 0.5rem;
}

/* Footer styling */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 3rem 0;
  background: rgba(9, 10, 15, 0.6);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--text-primary);
}

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

/* =========================================================================
   RESPONSIVENESS & MEDIA QUERIES (ROCK-SOLID MOBILE INTERFACE)
   ========================================================================= */

@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 6rem;
    gap: 3rem;
  }
  
  .badge {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .btn-group {
    justify-content: center;
  }
  
  .demo-box {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 2rem;
  }
  
  .banner {
    flex-direction: column;
    text-align: center;
    padding: 3.5rem 2rem;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
  
  /* Collapsible Navigation & Mobile Toggle */
  .nav-container {
    padding: 1.25rem 1.5rem;
  }
  
  .hamburger {
    display: flex;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(12, 13, 18, 0.97);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
  }
  
  nav.active {
    right: 0;
  }
  
  /* Native iOS Cell Styles inside Navigation Drawer */
  nav ul {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    width: 100%;
    padding: 6rem 1.5rem 2rem 1.5rem;
  }

  nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  nav li:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  nav a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 0.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
  }

  nav a::after {
    content: '→';
    color: var(--color-primary-light);
    font-weight: 400;
    font-size: 1.2rem;
    transition: transform 0.3s;
  }

  nav a:hover::after {
    transform: translateX(4px);
  }

  nav .nav-btn {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 1.1rem 0.5rem;
  }

  nav .nav-btn:hover {
    background: transparent;
    transform: none;
  }
  
  /* Hero section adjustments */
  .hero {
    padding-top: 4.5rem;
    padding-bottom: 3rem;
    gap: 2rem;
  }
  
  .hero-text {
    position: relative;
    z-index: 10;
  }
  
  .hero-visual {
    margin-top: 1.5rem;
    transform: scale(0.9);
    z-index: 2;
  }
  
  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
  }
  
  .hero-description {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }

  .section-title-wrap {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: 2.2rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  /* Bento Grid Stacking */
  .bento-6, .bento-4, .bento-8 {
    grid-column: span 12;
  }
  
  .glass-card {
    padding: 2rem 1.25rem;
  }

  .card-title {
    font-size: 1.25rem;
  }

  .flex-card-content {
    flex-direction: column;
    gap: 1.75rem;
  }
  
  .flex-card-text {
    width: 100%;
  }
  
  .flex-card-visual {
    width: 100%;
  }

  /* Interactive Demo Box - Mobile scrollable selector */
  .demo-box {
    padding: 1.5rem 1rem;
    gap: 1.5rem;
  }

  .demo-presets {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .demo-title {
    font-size: 1.5rem;
    text-align: center;
  }

  .demo-intro {
    margin-bottom: 1.25rem;
    text-align: center;
  }

  .demo-presets-scroll {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.5rem 0.25rem;
    margin-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .demo-presets-scroll::-webkit-scrollbar {
    display: none;
  }

  .preset-btn {
    flex: 0 0 auto;
    scroll-snap-align: start;
    padding: 0.75rem 1.25rem;
    border-radius: 100px;
    white-space: nowrap;
  }

  .preset-btn .play-icon {
    display: none;
  }

  .demo-sim-panel {
    padding: 1.5rem 1.25rem;
    min-height: auto;
  }

  .sim-waveform {
    height: 30px;
  }

  /* Technical Specs block collapse */
  .specs-table {
    display: block;
  }
  
  .specs-table tr {
    display: block;
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0.5rem;
  }
  
  .specs-table td {
    display: block;
    width: 100% !important;
    padding: 0.25rem 0;
    text-align: left !important;
  }

  .specs-table td:first-child {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
  }

  .specs-table td:last-child {
    font-size: 0.95rem;
  }

  /* Premium Banner bullets and stack */
  .banner {
    padding: 3rem 1.5rem;
  }

  .banner-title {
    font-size: 2rem;
  }

  .banner-bullets {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  /* Footer responsive stack */
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .sim-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .result-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
  }

  .result-tag {
    align-self: flex-start;
  }

  .btn {
    width: 100%;
    padding: 1rem 1.5rem;
  }
}

@media (max-width: 360px) {
  .phone-mockup {
    width: 260px;
    height: 530px;
    border-radius: 38px;
    padding: 8px;
    border-width: 3px;
  }
  .phone-bezel {
    border-radius: 30px;
  }
  .phone-screen {
    padding: 2.8rem 1rem 1.2rem 1rem;
  }
  .phone-mic-btn {
    width: 64px;
    height: 64px;
  }
  .phone-pulse-ring {
    width: 64px;
    height: 64px;
  }
}
