/* ============================================
   MinuteMasters — Product Website
   Design: Warm editorial, orange accent, slate base
   ============================================ */

:root {
  /* Brand — darkened from #EA580C to pass WCAG AA 4.5:1 contrast */
  --brand: #C2410C;
  --brand-light: #EA580C;
  --brand-dark: #9A3412;
  --brand-glow: rgba(194, 65, 12, 0.25);

  /* Surfaces */
  --bg: #FAFAF9;
  --bg-dark: #0F172A;
  --bg-warm: #FFF7ED;
  --bg-card: #FFFFFF;
  --bg-muted: #F1F5F9;

  /* Text */
  --text: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-on-dark: #E2E8F0;
  --text-on-brand: #FFFFFF;

  /* Borders */
  --border: #E2E8F0;
  --border-light: #F1F5F9;

  /* Spacing */
  --section-padding: clamp(4rem, 8vw, 8rem);
  --container: 1200px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
  --shadow-brand: 0 8px 32px rgba(234, 88, 12, 0.2);

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

/* ========== SKIP LINK ========== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--brand);
  color: white;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 1rem;
}

/* ========== FOCUS STYLES ========== */
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--brand-glow);
}
.nav__link:focus-visible,
.nav__cta-btn:focus-visible,
.social-link:focus-visible,
.footer__links a:focus-visible,
.nav__logo:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}
/* Remove default outline for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}

/* ========== UTILITY ========== */
.accent { color: var(--brand); }
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--bg-warm);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.section-header { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--brand);
  color: var(--text-on-brand);
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(234, 88, 12, 0.3);
}
.btn--outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.btn--full { width: 100%; }

/* ========== NAVIGATION ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 250, 249, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--ease);
}
.nav--scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.nav__logo strong { font-weight: 700; }
.nav__logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--brand);
  color: white;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.1rem;
  border-radius: var(--radius-sm);
}
.nav__logo-img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  object-fit: contain;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 0.3s var(--ease);
}
.nav__link:hover, .nav__link.active { color: var(--text); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }

.nav__cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background: var(--brand);
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease);
}
.nav__cta-btn:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  padding: calc(72px + 1rem) 2rem 3rem;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 20s ease-in-out infinite;
}
.hero__orb--1 {
  width: 500px;
  height: 500px;
  background: var(--brand-glow);
  top: -10%;
  right: -5%;
}
.hero__orb--2 {
  width: 400px;
  height: 400px;
  background: rgba(37, 99, 235, 0.12);
  bottom: 10%;
  left: -10%;
  animation-delay: -7s;
}
.hero__orb--3 {
  width: 300px;
  height: 300px;
  background: rgba(13, 148, 136, 0.1);
  top: 40%;
  left: 40%;
  animation-delay: -14s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  flex: 1;
  padding-top: 1rem;
}
.hero__badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--bg-warm);
  border: 1px solid rgba(234, 88, 12, 0.15);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s var(--ease) both;
}
.hero__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s var(--ease) 0.1s both;
}
.hero__title--accent {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s var(--ease) 0.2s both;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s var(--ease) 0.3s both;
}

/* QR Download Section */
.hero__downloads {
  animation: fadeInUp 0.8s var(--ease) 0.4s both;
}
.hero__downloads-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.hero__qr-row {
  display: flex;
  gap: 1.5rem;
}
.hero__qr-card {
  flex: 1;
  max-width: 180px;
}
.hero__qr-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s var(--ease);
}
.hero__qr-link:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.hero__qr-img {
  border-radius: var(--radius-sm);
  margin-top: 4px;
}

/* Phone Mockup */
.hero__visual {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  justify-content: center;
  animation: fadeInUp 0.8s var(--ease) 0.3s both;
}
.hero__phone-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__visual .hero__badge {
  margin-bottom: 1.25rem;
}
.hero__phone {
  width: 280px;
  height: 560px;
  background: var(--bg-dark);
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 0 0 2px rgba(255,255,255,0.1),
    var(--shadow-lg),
    0 40px 80px rgba(15, 23, 42, 0.2);
  position: relative;
  overflow: hidden;
}
.hero__phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: var(--bg-dark);
  border-radius: 0 0 16px 16px;
  z-index: 10;
}
.hero__phone-screen {
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  border-radius: 30px;
  overflow: hidden;
  padding: 48px 16px 16px;
}

/* Phone UI elements */
.phone-ui__greeting {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--text);
}
.phone-ui__subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.phone-ui__card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--bg-muted);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  border-left: 3px solid transparent;
}
.phone-ui__card--hygiene { border-left-color: #2563EB; }
.phone-ui__card--health { border-left-color: #16A34A; }
.phone-ui__card--school { border-left-color: #9333EA; }
.phone-ui__icon { font-size: 1.3rem; }
.phone-ui__task {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}
.phone-ui__time {
  font-size: 0.65rem;
  color: var(--text-secondary);
}
.phone-ui__check {
  margin-left: auto;
  width: 24px;
  height: 24px;
  background: #16A34A;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}
.phone-ui__streak {
  margin-top: 16px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--bg-warm);
  padding: 10px;
  border-radius: var(--radius-md);
}

/* ========== STATS BAR ========== */
.stats-bar {
  background: var(--bg-dark);
  padding: 2.5rem 2rem;
}
.stats-bar__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stats-bar__number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--brand-light);
  margin-bottom: 4px;
}
.stats-bar__label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #94A3B8;
  letter-spacing: 0.02em;
}

/* ========== PRODUCT ========== */
.product {
  padding: var(--section-padding) 2rem;
}
.product__inner {
  max-width: var(--container);
  margin: 0 auto;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.feature-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature-card--large {
  grid-column: span 1;
  grid-row: span 1;
  background: var(--bg-warm);
  border-color: rgba(234, 88, 12, 0.1);
}
.feature-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--card-color) 10%, transparent);
  color: var(--card-color);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Category chips */
.categories {
  text-align: center;
}
.categories__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}
.categories__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--chip-color);
  transition: all 0.3s var(--ease);
}
.category-chip:hover {
  background: color-mix(in srgb, var(--chip-color) 8%, white);
  border-color: var(--chip-color);
  transform: translateY(-2px);
}
.category-chip span { font-size: 1rem; }

/* ========== HOW IT WORKS ========== */
.how-it-works {
  padding: var(--section-padding) 2rem;
  background: var(--bg-warm);
  position: relative;
}
.how-it-works__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 5rem;
}
.step {
  position: relative;
  padding: 2rem;
}
.step__number {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 900;
  color: var(--brand);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.step__content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.step__content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Videos */
.videos { text-align: center; }
.videos__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.videos__desc {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}
.videos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.video-card {
  text-align: left;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease);
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.video-card__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1E293B 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-card__play {
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all 0.3s var(--ease);
}
.video-card:hover .video-card__play {
  background: var(--brand);
  color: white;
  transform: scale(1.1);
}
.video-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(0,0,0,0.5);
  color: white;
  padding: 4px 10px;
  border-radius: 100px;
  backdrop-filter: blur(10px);
}
.video-card h4 {
  padding: 1rem 1rem 0.25rem;
  font-size: 1rem;
  font-weight: 700;
}
.video-card p {
  padding: 0 1rem 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ========== SPEAKER ========== */
.speaker {
  padding: var(--section-padding) 2rem;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  overflow: hidden;
}
.speaker__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.speaker .section-tag {
  background: rgba(234, 88, 12, 0.15);
  color: #F97316;
}
.speaker .section-title { color: white; }
.speaker .section-desc { color: #94A3B8; }

.speaker__features {
  list-style: none;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.speaker__features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: #CBD5E1;
  line-height: 1.5;
}
.speaker__features svg { flex-shrink: 0; margin-top: 2px; }

/* Speaker device illustration */
.speaker__visual {
  display: flex;
  justify-content: center;
}
.speaker__device {
  text-align: center;
}
.speaker__device-body {
  width: 200px;
  height: 200px;
  background: linear-gradient(145deg, #1E293B, #0F172A);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 2px solid rgba(255,255,255,0.06);
  box-shadow:
    0 0 60px rgba(234, 88, 12, 0.08),
    inset 0 0 40px rgba(0,0,0,0.3);
  position: relative;
}
.speaker__device-grille {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle at center,
    transparent 0,
    transparent 3px,
    rgba(255,255,255,0.04) 3px,
    rgba(255,255,255,0.04) 4px
  );
  border: 1px solid rgba(255,255,255,0.06);
}
.speaker__device-led {
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--brand), 0 0 24px var(--brand-glow);
  animation: pulse-led 2s ease-in-out infinite;
}
@keyframes pulse-led {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.speaker__device-label {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #94A3B8;
  letter-spacing: 0.04em;
}

/* ========== CONTACT ========== */
.contact {
  padding: var(--section-padding) 2rem;
}
.contact__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-form__field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  padding: 12px 16px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text);
  transition: all 0.2s;
  outline: none;
}
.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  border-color: var(--brand);
  background: white;
  box-shadow: 0 0 0 3px var(--brand-glow);
}
.contact-form__field textarea { resize: vertical; min-height: 120px; }
.contact-form__field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394A3B8' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* Contact Details */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-details__card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease);
}
.contact-details__card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}
.contact-details__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-warm);
  color: var(--brand);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.contact-details__title {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.contact-details p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.contact-details__social {
  display: flex;
  gap: 0.75rem;
  padding-top: 0.5rem;
}
.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-muted);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease);
}
.social-link:hover {
  background: var(--brand);
  color: white;
  transform: translateY(-2px);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 4rem 2rem 2rem;
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer__brand {
  max-width: 320px;
}
.footer__brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #94A3B8;
  line-height: 1.6;
}
.footer__links {
  display: flex;
  gap: 4rem;
}
.footer__heading {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94A3B8;
  margin-bottom: 1rem;
}
.footer__links a {
  display: block;
  font-size: 0.9rem;
  color: #CBD5E1;
  padding: 4px 0;
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--brand-light); }

.footer__bottom {
  padding-top: 2rem;
  text-align: center;
}
.footer__bottom p {
  font-size: 0.8rem;
  color: #94A3B8;
}

/* ========== FORM STATUS ========== */
.contact-form__status {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0;
  transition: padding 0.2s;
}
.contact-form__status:not(:empty) {
  padding: 10px 0;
  color: #16A34A;
}

/* ========== LEGAL PAGES (Privacy, Terms) ========== */
.legal {
  padding: calc(72px + 4rem) 2rem var(--section-padding);
}
.legal__inner {
  max-width: 800px;
  margin: 0 auto;
}
.legal__content {
  text-align: left;
}
.legal__content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  color: var(--text);
}
.legal__content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.legal__content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.legal__content ul {
  margin: 0.5rem 0 1.25rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.75;
}
.legal__content ul li {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}
.legal__content a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.legal__content a:hover {
  color: var(--brand-dark);
}

/* ========== SCREEN READER ONLY ========== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========== VIDEO CARD PLACEHOLDER ========== */
.video-card--placeholder {
  cursor: default;
}
.video-card--placeholder:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
}
.video-card--placeholder .video-card__thumb {
  cursor: default;
}
.video-card--placeholder:hover .video-card__play {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  transform: none;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__orb { animation: none; }
  .speaker__device-led { animation: none; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 968px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: calc(72px + 2rem);
    min-height: auto;
  }
  .hero__content { max-width: 100%; }
  .hero__actions { justify-content: center; }
  .hero__downloads { display: flex; flex-direction: column; align-items: center; }
  .hero__qr-row { justify-content: center; }
  .hero__visual { margin-top: 2rem; }
  .hero__phone { width: 240px; height: 480px; }

  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card--large { grid-column: span 2; }

  .steps { grid-template-columns: 1fr; gap: 1rem; }
  .videos__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  .speaker__inner { grid-template-columns: 1fr; text-align: center; }
  .speaker__features { align-items: center; }

  .contact__grid { grid-template-columns: 1fr; }
  .contact-form__row { grid-template-columns: 1fr; }

  .footer__top { flex-direction: column; gap: 2rem; }
}

@media (max-width: 640px) {
  /* No-JS fallback: nav links are visible by default.
     JS adds .js-nav-ready to enable toggle behavior. */
  .js-nav-ready .nav__links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250, 250, 249, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
  }
  .js-nav-ready .nav__links--open {
    opacity: 1;
    pointer-events: all;
  }
  /* Without JS: stack links vertically */
  .nav__links {
    flex-direction: column;
    gap: 0.5rem;
  }
  /* Toggle button only shows when JS is ready */
  .nav__toggle { display: none; }
  .js-nav-ready .nav__toggle { display: flex; }
  .nav__toggle--open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav__toggle--open span:nth-child(2) { opacity: 0; }
  .nav__toggle--open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .nav__link { font-size: 1.1rem; }
  .nav__cta-btn { font-size: 1rem; padding: 14px 32px; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card--large { grid-column: span 1; }

  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

  .hero__phone { width: 220px; height: 440px; }
  .phone-ui__greeting { font-size: 1.2rem; }
}
