/* ==========================================================================
   DARO — Quiet Voice Journal Landing Page
   Design System & Styling
   Crafted with tactile paper aesthetics, warm typography, and quiet intelligence
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Reset & Custom Properties (Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Surfaces & Paper Canvas */
  --bg-canvas: #FAF8F4;
  --bg-card: #FFFFFF;
  --bg-surface-elevated: #F4EFEB;
  --bg-surface-dim: #EFEAE4;
  --bg-surface-soft: #FBF9F5;
  --border-card: #E8E2D8;
  --border-subtle: #F0EBE3;

  /* Text & Ink Neutrals */
  --ink-primary: #1E2528;
  --ink-body: #2C3539;
  --ink-muted: #5C676E;
  --ink-faint: #8E99A0;
  --ink-inverted: #FFFFFF;

  /* Brand Accents */
  --accent-slate: #4A6E89;
  --accent-slate-hover: #3C5A70;
  --accent-slate-light: #EBF2F7;
  --accent-slate-tint: #D4E3ED;

  --accent-terracotta: #8C4E37;
  --accent-terracotta-hover: #753E2A;
  --accent-terracotta-light: #FDF3E7;
  --accent-terracotta-accent: #C06146;
  --accent-terracotta-glow: rgba(140, 78, 55, 0.16);

  --accent-sage: #51604B;
  --accent-sage-light: #EBF2E8;
  --accent-sage-badge: #D6E8CC;

  --accent-gold: #C28B47;
  --accent-gold-light: #FEF8EC;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(44, 53, 57, 0.04), 0 1px 2px rgba(44, 53, 57, 0.02);
  --shadow-card: 0 4px 16px rgba(44, 53, 57, 0.05), 0 1px 3px rgba(44, 53, 57, 0.03);
  --shadow-hover: 0 12px 32px rgba(44, 53, 57, 0.08), 0 2px 6px rgba(44, 53, 57, 0.04);
  --shadow-modal: 0 24px 60px rgba(30, 37, 40, 0.18), 0 4px 12px rgba(30, 37, 40, 0.08);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;

  /* Spacing */
  --container-max: 1200px;
  --header-height: 76px;
  --transition-smooth: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-canvas);
  color: var(--ink-body);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(192, 97, 70, 0.035) 0%, transparent 40%),
    radial-gradient(circle at 90% 40%, rgba(74, 110, 137, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(81, 96, 75, 0.03) 0%, transparent 40%);
}

/* --------------------------------------------------------------------------
   2. Typography & Editorial Accents
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--ink-primary);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.text-terracotta {
  color: var(--accent-terracotta);
}

.text-slate {
  color: var(--accent-slate);
}

.text-sage {
  color: var(--accent-sage);
}

p {
  color: var(--ink-body);
  font-size: 1.05rem;
  line-height: 1.7;
}

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

/* --------------------------------------------------------------------------
   3. Base Layout Container
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

section {
  padding: 80px 0;
  position: relative;
}

@media (min-width: 992px) {
  section {
    padding: 104px 0;
  }
}

/* --------------------------------------------------------------------------
   4. Header & Navigation Bar
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background-color: rgba(250, 248, 244, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(232, 226, 216, 0.7);
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  background-color: rgba(250, 248, 244, 0.94);
  box-shadow: 0 4px 20px rgba(44, 53, 57, 0.05);
}

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

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

.brand-icon-wrapper {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.brand-link:hover .brand-icon-wrapper {
  transform: rotate(-4deg) scale(1.06);
}

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

.brand-name {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent-slate);
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.brand-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-terracotta);
  border-radius: 50%;
  display: inline-block;
  margin-left: 1px;
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 32px;
  list-style: none;
}

@media (min-width: 992px) {
  .nav-menu {
    display: flex;
  }
}

.nav-item a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-muted);
  position: relative;
  padding: 6px 0;
}

.nav-item a:hover {
  color: var(--ink-primary);
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-terracotta);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-item a:hover::after {
  width: 100%;
}

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

.live-badge {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-muted);
  background-color: var(--bg-surface-elevated);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-card);
}

@media (min-width: 768px) {
  .live-badge {
    display: flex;
  }
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #2E8B57;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(46, 139, 87, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 139, 87, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(46, 139, 87, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 139, 87, 0); }
}

.mobile-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--border-card);
  color: var(--ink-primary);
  cursor: pointer;
}

@media (min-width: 992px) {
  .mobile-toggle-btn {
    display: none;
  }
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background-color: var(--bg-canvas);
  border-bottom: 1px solid var(--border-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 16px 32px rgba(0,0,0,0.06);
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  z-index: 999;
}

.mobile-nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink-primary);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* --------------------------------------------------------------------------
   5. Buttons & Pills System
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  border: none;
  outline: none;
  padding: 12px 24px;
}

.btn-primary {
  background-color: var(--accent-terracotta);
  color: #FFFFFF;
  box-shadow: 0 4px 14px var(--accent-terracotta-glow);
}

.btn-primary:hover {
  background-color: var(--accent-terracotta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(140, 78, 55, 0.26);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--accent-slate);
  border: 1.5px solid var(--accent-slate);
}

.btn-secondary:hover {
  background-color: var(--accent-slate-light);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--ink-primary);
  border: 1.5px solid var(--border-card);
}

.btn-outline:hover {
  background-color: var(--bg-card);
  border-color: var(--ink-muted);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.pill-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-card);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-terracotta);
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.01em;
}

.badge-sage {
  background-color: var(--accent-sage-badge);
  color: #1A3114;
}

.badge-blue {
  background-color: var(--accent-slate-tint);
  color: #102A43;
}

.badge-terracotta {
  background-color: #FED7C7;
  color: #63220E;
}

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-headline {
  font-size: 2.85rem;
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: var(--ink-primary);
}

@media (min-width: 768px) {
  .hero-headline {
    font-size: 3.8rem;
  }
}

.hero-headline .serif-italic {
  display: inline-block;
  color: var(--accent-terracotta);
  font-weight: 400;
}

.hero-subhead {
  font-size: 1.15rem;
  color: var(--ink-muted);
  max-width: 530px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.trust-stars {
  color: #D9822B;
  letter-spacing: 2px;
}

/* Hero Visual Showcase */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-card {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(44, 53, 57, 0.12), 0 4px 12px rgba(44, 53, 57, 0.04);
  border: 1px solid var(--border-card);
  background-color: var(--bg-card);
  transition: transform 0.4s ease;
}

.hero-image-card:hover {
  transform: translateY(-4px);
}

.hero-showcase-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Floating Glass Badges on Hero */
.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(232, 226, 216, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 12px 18px;
  z-index: 10;
  transition: var(--transition-smooth);
}

.floating-badge:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.floating-badge-top {
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.floating-badge-top .badge-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: #2D4A27;
}

.floating-badge-bottom {
  bottom: 20px;
  left: 20px;
  max-width: 270px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.badge-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--accent-terracotta-light);
  color: var(--accent-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  shrink: 0;
}

.badge-quote-text {
  font-size: 0.82rem;
  color: var(--ink-body);
  line-height: 1.45;
}

.badge-author {
  display: block;
  font-size: 0.74rem;
  color: var(--ink-muted);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   7. "Get Daro on Your Phone or Tablet" Section (Android Card)
   -------------------------------------------------------------------------- */
.download-hub-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

@media (min-width: 992px) {
  .download-hub-card {
    grid-template-columns: 1.25fr 0.75fr;
    padding: 52px 56px;
    gap: 60px;
  }
}

.hub-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hub-title {
  font-size: 2.25rem;
  letter-spacing: -0.025em;
}

.hub-description {
  font-size: 1.08rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

.hub-actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 4px;
}

.playstore-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #101416;
  color: #FFFFFF;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.playstore-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.playstore-logo {
  width: 26px;
  height: 26px;
}

.playstore-sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #A0AAB0;
  display: block;
  line-height: 1;
}

.playstore-main {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  line-height: 1.2;
}

.release-meta {
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.release-meta strong {
  color: var(--ink-primary);
}

.hub-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px 24px;
  margin-top: 6px;
}

@media (min-width: 600px) {
  .hub-features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hub-feature-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-body);
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--accent-sage-light);
  color: var(--accent-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  flex-shrink: 0;
}

/* QR Code Display Container */
.hub-qr-box {
  background-color: var(--bg-surface-soft);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.02);
}

.playstore-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.qr-image-wrapper {
  width: 170px;
  height: 170px;
  background: #FFFFFF;
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.qr-image-wrapper:hover {
  transform: scale(1.04);
}

.qr-image-svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  display: block;
}

.qr-hint-text {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.45;
  max-width: 220px;
}

.qr-hint-text strong {
  color: var(--ink-primary);
  display: block;
}

/* --------------------------------------------------------------------------
   8. Core Philosophy & Capabilities (Features 2x2 Grid)
   -------------------------------------------------------------------------- */
.section-header {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.section-tag {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-terracotta);
}

.section-title {
  font-size: 2.45rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3.1rem;
  }
}

.section-subtitle {
  font-size: 1.12rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

/* Feature 2x2 Grid */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 992px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-top {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.feature-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.badge-terracotta-icon {
  background-color: var(--accent-terracotta-light);
  color: var(--accent-terracotta);
}

.badge-blue-icon {
  background-color: var(--accent-slate-light);
  color: var(--accent-slate);
}

.badge-sage-icon {
  background-color: var(--accent-sage-light);
  color: var(--accent-sage);
}

.feature-title {
  font-size: 1.65rem;
  letter-spacing: -0.02em;
}

.feature-description {
  font-size: 0.98rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* Feature Visual Containers */
.feature-preview-box {
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

/* Card 1: Interactive Voice Waveform & Speech-to-Text Widget */
.voice-interactive-widget {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wave-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-card);
}

.wave-status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-primary);
}

.wave-rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-terracotta);
  animation: pulse 1.4s infinite;
}

.interactive-demo-btn {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--accent-slate);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.interactive-demo-btn:hover {
  background-color: var(--accent-slate);
  color: #FFFFFF;
}

/* Animated Audio Waveform */
.waveform-bars-container {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 4px 0;
}

.waveform-bar {
  width: 5px;
  border-radius: 3px;
  background-color: var(--accent-slate);
  transition: height 0.15s ease;
}

.waveform-bar.active {
  animation: wavePulse 1.2s infinite ease-in-out;
}

.waveform-bar:nth-child(2n) { animation-delay: 0.15s; }
.waveform-bar:nth-child(3n) { animation-delay: 0.3s; }
.waveform-bar:nth-child(4n) { animation-delay: 0.45s; }
.waveform-bar:nth-child(5n) { animation-delay: 0.2s; }

@keyframes wavePulse {
  0%, 100% { height: 12px; opacity: 0.55; }
  50% { height: 46px; opacity: 1; background-color: var(--accent-terracotta); }
}

/* Transcribed Paper Snippet */
.paper-journal-snippet {
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  position: relative;
  box-shadow: var(--shadow-sm);
  background-image: repeating-linear-gradient(transparent, transparent 27px, #F0ECE4 28px);
  background-attachment: local;
}

.journal-timestamp {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-terracotta);
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.transcribed-text {
  font-family: var(--font-sans);
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--ink-body);
}

.cursor-blink {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background-color: var(--accent-terracotta);
  vertical-align: text-bottom;
  animation: blink 1s infinite;
}

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

/* Card 2: Peaceful Timeline Phone Mockup */
.mockup-phone-frame {
  max-width: 310px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 7px solid #1E2528;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(44, 53, 57, 0.16);
  position: relative;
}

.phone-speaker-notch {
  width: 70px;
  height: 4px;
  background: #2C3539;
  border-radius: 4px;
  margin: 10px auto 12px;
}

.phone-timeline-content {
  padding: 4px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone-header-title {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.phone-header-sub {
  text-align: center;
  font-size: 0.72rem;
  color: var(--ink-muted);
  margin-top: -8px;
}

.phone-entry-card {
  background: var(--bg-surface-soft);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-entry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-entry-date {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.phone-entry-photo {
  width: 100%;
  height: 90px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.phone-entry-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-entry-snippet {
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--ink-body);
}

/* Card 3: 30-Day Gentle Balance Insights */
.insights-widget {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.insights-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.insights-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.balance-bars-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.balance-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.balance-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
}

.balance-track {
  height: 8px;
  background-color: var(--border-card);
  border-radius: 4px;
  overflow: hidden;
}

.balance-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease-in-out;
}

.fill-peace {
  width: 70%;
  background-color: var(--accent-sage);
}

.fill-creative {
  width: 18%;
  background-color: var(--accent-slate);
}

.fill-overwhelmed {
  width: 12%;
  background-color: var(--accent-terracotta);
}

.ai-gentle-quote-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--ink-body);
  line-height: 1.5;
}

/* Card 4: Soothing Audio Player Phone Mockup */
.phone-audio-player-screen {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #FFFBF7;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--border-card);
}

.player-background-art {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.35;
  z-index: 1;
}

.player-background-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-content-layer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.player-entry-title {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.player-wave-scrubber {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.scrub-bar {
  width: 4px;
  border-radius: 2px;
  background-color: var(--border-card);
  transition: height 0.2s ease, background-color 0.2s ease;
}

.scrub-bar.played {
  background-color: var(--accent-terracotta);
}

.scrub-bar.playing {
  animation: scrubPulse 0.9s infinite alternate;
}

@keyframes scrubPulse {
  from { height: 14px; }
  to { height: 38px; }
}

.player-time-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.player-controls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.ctrl-btn {
  background: none;
  border: none;
  color: var(--ink-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.ctrl-btn:hover {
  color: var(--ink-primary);
}

.play-pause-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--accent-terracotta);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px var(--accent-terracotta-glow);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.play-pause-circle:hover {
  transform: scale(1.06);
  background-color: var(--accent-terracotta-hover);
}

.playback-speed-chips {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.speed-chip {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border-card);
  color: var(--ink-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.speed-chip.active, .speed-chip:hover {
  background: var(--accent-slate);
  color: #FFFFFF;
  border-color: var(--accent-slate);
}

/* --------------------------------------------------------------------------
   9. Privacy Sanctuary Section (3 Columns)
   -------------------------------------------------------------------------- */
.privacy-section {
  background-color: var(--bg-surface-elevated);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

@media (min-width: 992px) {
  .privacy-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.privacy-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.privacy-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-card);
}

.privacy-icon-pill {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.privacy-title {
  font-size: 1.35rem;
  letter-spacing: -0.015em;
}

.privacy-text {
  font-size: 0.96rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   10. Community Testimonials Section
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 992px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.testimonial-stars {
  color: #D9822B;
  font-size: 1rem;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-body);
  font-style: normal;
}

.author-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.author-avatar-initials {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.author-avatar-initials.shreya {
  background-color: var(--accent-terracotta-light);
  color: var(--accent-terracotta);
}

.author-avatar-initials.marcus {
  background-color: var(--accent-slate-light);
  color: var(--accent-slate);
}

.author-avatar-initials.sandra {
  background-color: var(--accent-sage-light);
  color: var(--accent-sage);
}

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

.author-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.author-role {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   11. Bottom CTA Banner (Rich Terracotta Card)
   -------------------------------------------------------------------------- */
.cta-banner-wrapper {
  padding-bottom: 96px;
}

.cta-banner-card {
  background: linear-gradient(135deg, #8C4E37 0%, #703C29 100%);
  border-radius: var(--radius-xl);
  padding: 44px 32px;
  color: #FFFFFF;
  box-shadow: 0 20px 50px rgba(112, 60, 41, 0.28);
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 992px) {
  .cta-banner-card {
    grid-template-columns: 1.35fr 0.65fr;
    padding: 60px 68px;
    gap: 48px;
  }
}

.cta-banner-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 2;
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  width: fit-content;
  color: #FFFFFF;
}

.cta-title {
  font-size: 2.25rem;
  color: #FFFFFF;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 3rem;
  }
}

.cta-desc {
  font-size: 1.1rem;
  color: #F8EFE9;
  line-height: 1.7;
  max-width: 540px;
}

.cta-btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.btn-white-google {
  background-color: #FFFFFF;
  color: #1E2528;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-white-google:hover {
  background-color: #FAF8F4;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.cta-guarantee-note {
  font-size: 0.82rem;
  color: #F3DBD2;
}

.cta-qr-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  position: relative;
  z-index: 2;
}

.cta-qr-svg {
  width: 140px;
  height: 140px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  display: block;
}

.cta-qr-caption {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-primary);
}

/* --------------------------------------------------------------------------
   12. Comprehensive Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--bg-surface-elevated);
  border-top: 1px solid var(--border-card);
  padding: 72px 0 36px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border-card);
}

@media (min-width: 992px) {
  .footer-top-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
  }
}

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

.footer-tagline {
  font-size: 0.94rem;
  color: var(--ink-muted);
  line-height: 1.65;
  max-width: 320px;
}

.footer-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--ink-muted);
}

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

.footer-col-heading {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-primary);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.footer-links-list a:hover {
  color: var(--accent-terracotta);
  padding-left: 4px;
}

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

.footer-download-desc {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.footer-bottom-bar {
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer-bottom-bar {
    flex-direction: row;
  }
}

.copyright-text {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.legal-links a {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.legal-links a:hover {
  color: var(--ink-primary);
}

/* --------------------------------------------------------------------------
   13. Interactive QR Download Modal
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(30, 37, 40, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  max-width: 460px;
  width: 100%;
  padding: 36px;
  box-shadow: var(--shadow-modal);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-card);
  background: var(--bg-surface-soft);
  color: var(--ink-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background: var(--border-card);
  color: var(--ink-primary);
}

.modal-qr-frame {
  width: 180px;
  height: 180px;
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-sm);
}

.modal-title {
  font-size: 1.45rem;
  letter-spacing: -0.015em;
}

.modal-sub {
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--ink-primary);
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-hover);
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}
