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

:root {
  --black: #09090B;
  --black-soft: #18181B;
  --black-card: #27272A;
  --white: #FAFAFA;
  --white-dim: #A1A1AA;
  --white-muted: #71717A;
  --accent: #818CF8;
  --accent-dark: #6366F1;
  --success: #34D399;
  --danger: #F87171;
  --warning: #FBBF24;
  --streak: #F59E0B;
  --glow: rgba(255, 255, 255, 0.06);
  --glow-strong: rgba(255, 255, 255, 0.12);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.15);
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 120px 0; }

/* ========== NAVIGATION ========== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}

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

.nav-logo {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--white-dim);
  transition: color 0.2s ease;
}

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

.nav-cta .button-wrap {
  transform: scale(0.8);
  transform-origin: center right;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}

/* ========== GLASS BUTTON ========== */
.button-wrap {
  position: relative;
  display: inline-flex;
}

.button-shadow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.08) 35%,
    transparent 70%
  );
  filter: blur(12px);
  border-radius: 50px;
  transform: translateY(4px);
  z-index: 0;
  pointer-events: none;
  transition: filter 0.4s ease, opacity 0.4s ease;
}

.button-wrap:hover .button-shadow {
  filter: blur(18px);
  opacity: 1.2;
}

.button-wrap button {
  position: relative;
  z-index: 1;
  padding: 14px 36px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.03) 100%
  );
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow:
    0 0 0 0.5px rgba(255, 255, 255, 0.08) inset,
    0 2px 8px rgba(0, 0, 0, 0.3),
    0 1px 2px rgba(0, 0, 0, 0.2);
}

.button-wrap button:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.06) 100%
  );
  transform: translateY(-1px);
  box-shadow:
    0 0 0 0.5px rgba(255, 255, 255, 0.12) inset,
    0 4px 16px rgba(0, 0, 0, 0.3),
    0 2px 4px rgba(0, 0, 0, 0.2);
}

.button-wrap button:active {
  transform: translateY(0px);
  transition-duration: 0.1s;
}

.button-wrap button span {
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.75) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 14px 36px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  background: transparent;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

/* ========== HERO SECTION ========== */
.hero {
  padding: 180px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.35;
  filter: blur(2px) saturate(0.8);
}

.hero-video-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(180deg,
    rgba(9,9,11,0.7) 0%,
    rgba(9,9,11,0.4) 40%,
    rgba(9,9,11,0.8) 80%,
    rgba(9,9,11,1) 100%
  );
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container { position: relative; z-index: 2; width: 100%; }

.hero h1 {
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}

.hero h1 .line { display: block; }

.hero .subtitle {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  color: var(--white-dim);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}

/* Scroll Hint */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  text-decoration: none;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-mouse {
  width: 24px; height: 40px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
}

.scroll-dot {
  width: 4px; height: 8px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.3; transform: translateY(10px); }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ========== STATS BAR ========== */
.stats-bar {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--black-soft);
}

.stats-track {
  display: flex;
  animation: scroll-stats 30s linear infinite;
  width: max-content;
}

.stats-track:hover { animation-play-state: paused; }

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 48px;
  white-space: nowrap;
  flex-shrink: 0;
}

.stat-item .stat-number { font-size: 24px; font-weight: 600; color: var(--white); }
.stat-item .stat-text { font-size: 14px; color: var(--white-muted); }

.stat-divider {
  width: 1px; height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

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

/* ========== HOW IT WORKS ========== */
.how-section {
  background: var(--black);
  position: relative;
  padding: 80px 0 0;
}

.how-section .section-header { text-align: center; padding-bottom: 40px; }

.how-step-indicators {
  position: fixed;
  left: 24px; top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  z-index: 50;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.how-step-indicators.visible { opacity: 1; }

.step-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #444;
  transition: background 0.4s ease, transform 0.4s ease;
  flex-shrink: 0;
}

.step-dot.active { background: var(--white); transform: scale(1.3); }
.step-dot-line { width: 1px; height: 32px; background: #333; flex-shrink: 0; }

.how-step {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 80px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  gap: 60px;
}

.how-step-text { flex: 0 0 40%; padding-right: 20px; }

.how-step-label {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white-muted);
  margin-bottom: 16px;
}

.how-step-text h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.15;
}

.how-step-text p {
  font-size: 17px;
  color: var(--white-dim);
  line-height: 1.7;
  max-width: 480px;
}

.how-step-visual {
  flex: 0 0 55%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Category cards mockup */
.cat-mockup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
}

.cat-card {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.3s ease;
  cursor: default;
}

.cat-card.selected {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.04);
}

.cat-card-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--white-dim);
}

.cat-card h4 { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.cat-card p { font-size: 12px; color: var(--white-muted); line-height: 1.4; }

/* Terminal Loader */
.terminal-loader {
  background: #111111;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  font-family: 'Courier New', monospace;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  max-width: 440px;
  margin: 0 auto;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}

.terminal-dot { width: 12px; height: 12px; border-radius: 50%; }
.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #febc2e; }
.terminal-dot.green { background: #28c840; }

.terminal-title {
  font-size: 12px;
  color: var(--white-muted);
  margin-left: 8px;
  font-family: 'Inter', sans-serif;
}

.terminal-body { padding: 24px; min-height: 200px; }

.terminal-line {
  font-size: 14px;
  line-height: 2.2;
  color: #888;
  opacity: 0;
  animation: terminal-fade-in 0.5s ease forwards;
}

.terminal-line .prompt { color: #e8e8e8; }
.terminal-line .success { color: #28c840; transition: opacity 0.3s ease; }
.terminal-line .cmd { color: #cccccc; }

.terminal-cursor {
  display: inline-block;
  width: 8px; height: 16px;
  background: var(--white);
  margin-left: 4px;
  vertical-align: text-bottom;
  animation: cursor-blink 1s step-end infinite;
}

@keyframes terminal-fade-in {
  0% { opacity: 0; transform: translateY(4px); }
  100% { opacity: 1; transform: translateY(0); }
}

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

/* ========== FEATURES CAROUSEL ========== */
.features-section { background: var(--black-soft); }

.section-label {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white-muted);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
  line-height: 1.15;
}

.filter-tabs { display: flex; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }

.filter-tab {
  padding: 8px 20px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  background: transparent;
  color: var(--white-dim);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-tab:hover { border-color: rgba(255,255,255,0.4); color: var(--white); }
.filter-tab.active { background: var(--white); color: var(--black); border-color: var(--white); }

.carousel-wrapper { position: relative; }

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.carousel-track::-webkit-scrollbar { display: none; }

.carousel-card {
  min-width: 320px; height: 400px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease;
  position: relative;
  background: #111;
}

.carousel-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.15); }

.carousel-card-bg {
  flex: 1; min-height: 240px;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.carousel-card-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
  border-radius: 16px 16px 0 0;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.carousel-card:hover .carousel-card-bg img { opacity: 1; }
.carousel-card-content { padding: 24px; }
.carousel-card-content h3 { font-size: 20px; font-weight: 400; margin-bottom: 8px; color: #fff; }
.carousel-card-content p { font-size: 14px; color: #888; line-height: 1.5; }
.carousel-card-arrow { position: absolute; bottom: 24px; right: 24px; color: #666; font-size: 18px; }

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(12px);
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-arrow:hover { border-color: var(--border-hover); background: rgba(255,255,255,0.08); }
.carousel-arrow.prev { left: -22px; }
.carousel-arrow.next { right: -22px; }

/* ========== VIDEO / QUOTE ========== */
.quote-section {
  background: var(--black);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.quote-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.quote-text blockquote {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin-bottom: 24px;
  position: relative;
  padding-left: 24px;
  border-left: 2px solid rgba(255,255,255,0.2);
}

.quote-author { font-size: 16px; color: var(--white-dim); padding-left: 24px; }
.quote-author strong { color: var(--white); font-weight: 500; }

.video-placeholder {
  aspect-ratio: 16/9;
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.video-placeholder:hover { border-color: var(--border-hover); }

.quote-link {
  display: inline-block;
  margin-top: 32px;
  font-size: 15px;
  color: var(--white-dim);
  transition: color 0.2s ease;
  padding-left: 24px;
}

.quote-link:hover { color: var(--white); }

/* ========== PLATFORMS ========== */
.platforms-section { background: var(--black-soft); text-align: center; }

.devices-showcase {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto 48px;
  padding: 0 20px;
}

.device-iphone { flex: 0 0 140px; align-self: center; }

.iphone-frame {
  width: 140px;
  background: #1a1a1a;
  border: 2px solid #333;
  border-radius: 24px;
  padding: 12px 8px;
  position: relative;
}

.iphone-dynamic-island {
  width: 40px; height: 12px;
  background: #000;
  border-radius: 8px;
  margin: 0 auto 12px;
  border: 1px solid #222;
}

.iphone-screen {
  background: #111;
  border-radius: 12px;
  padding: 24px 12px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.iphone-screen .screen-label { font-size: 14px; font-weight: 500; color: var(--white); }

.iphone-home-indicator {
  width: 60px; height: 4px;
  background: #444;
  border-radius: 2px;
  margin: 12px auto 0;
}

.device-macbook { flex: 0 0 420px; }

.macbook-screen {
  background: #1a1a1a;
  border: 2px solid #333;
  border-radius: 12px 12px 0 0;
  padding: 8px 8px 0;
  position: relative;
}

.macbook-camera {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #333;
  margin: 4px auto 8px;
}

.macbook-display {
  background: #111;
  border-radius: 4px 4px 0 0;
  padding: 20px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.macbook-display .display-title { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.macbook-display .display-subtitle { font-size: 11px; color: var(--white-muted); }

.macbook-keyboard {
  background: #1a1a1a;
  height: 12px;
  border-radius: 0 0 2px 2px;
  border: 2px solid #333;
  border-top: 1px solid #2a2a2a;
  position: relative;
}

.macbook-keyboard::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 4px;
  background: #222;
  border-radius: 0 0 4px 4px;
}

.macbook-hinge {
  width: 100%; height: 4px;
  background: linear-gradient(to bottom, #333, #222);
  border-radius: 0 0 4px 4px;
}

.device-monitor { flex: 0 0 200px; align-self: center; }

.win-screen {
  background: #1a1a1a;
  border: 2px solid #333;
  border-radius: 8px 8px 0 0;
  padding: 6px;
}

.win-display {
  background: #111;
  border-radius: 4px;
  padding: 20px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.win-display .display-text { font-size: 12px; font-weight: 500; color: var(--white); }

.win-chin {
  height: 14px;
  background: #1a1a1a;
  border: 2px solid #333;
  border-top: none;
  border-radius: 0 0 4px 4px;
}

.win-stand {
  width: 30px; height: 30px;
  margin: 0 auto;
  background: linear-gradient(to bottom, #222, #1a1a1a);
  clip-path: polygon(20% 0, 80% 0, 100% 100%, 0% 100%);
}

.win-base {
  width: 70px; height: 5px;
  margin: 0 auto;
  background: #222;
  border-radius: 3px;
}

.platform-labels {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.platform-label-item {
  font-size: 13px;
  color: var(--white-muted);
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.platform-label-item:hover { border-color: var(--border-hover); color: var(--white-dim); }

/* ========== SCREEN TIME ========== */
.screentime-section { background: var(--black); }

.screentime-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.screentime-text h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.15;
}

.screentime-text p { font-size: 17px; color: var(--white-dim); line-height: 1.7; }

.st-card {
  background: #111;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 32px;
  max-width: 480px;
  margin: 0 auto;
}

.st-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.st-card-title { font-size: 20px; font-weight: 500; }
.st-card-date { font-size: 14px; color: #666; }

.st-app-row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.st-app-icon { width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0; }
.st-app-info { flex: 1; }
.st-app-name { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 6px; }
.st-app-time { color: #888; font-variant-numeric: tabular-nums; }

.st-bar-track {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}

.st-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #fff, #aaa);
  border-radius: 4px;
  transition: width 1s ease;
}

.st-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 20px 0; }

.st-stat {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #888;
  padding: 8px 0;
}

.st-stat-val { color: #fff; font-weight: 500; font-variant-numeric: tabular-nums; }

/* ========== GROUP ========== */
.group-section { background: var(--black-soft); text-align: center; }
.group-section .section-title { margin-bottom: 20px; }

.group-section .section-desc {
  font-size: 17px;
  color: var(--white-dim);
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

.avatars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 24px;
}

.avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 3px solid var(--black-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 600;
  margin-left: -12px;
  position: relative;
}

.avatar:first-child { margin-left: 0; }
.avatar.a1 { background: #222; color: #ccc; z-index: 5; }
.avatar.a2 { background: #1a1a1a; color: #aaa; z-index: 4; }
.avatar.a3 { background: #2a2a2a; color: #ddd; z-index: 3; }
.avatar.a4 { background: #1e1e1e; color: #bbb; z-index: 2; }
.avatar.a5 { background: #252525; color: #ccc; z-index: 1; }

.avatar-label { font-size: 14px; color: var(--white-muted); }

/* ========== TESTIMONIALS ========== */
.testimonials-section { background: var(--black); overflow: hidden; }

.testimonial-carousel-row {
  display: flex;
  width: max-content;
  gap: 20px;
  padding: 10px 0;
}

.testimonial-carousel-row:hover { animation-play-state: paused !important; }

.testimonial-carousel-row.row-1 { animation: testimonial-scroll-left 60s linear infinite; }
.testimonial-carousel-row.row-2 { animation: testimonial-scroll-right 65s linear infinite; margin-top: 20px; }

@keyframes testimonial-scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes testimonial-scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.testimonial-card {
  flex: 0 0 350px;
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.3s ease;
}

.testimonial-card:hover { border-color: var(--border-hover); }

.testimonial-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }

.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.testimonial-info .testimonial-name { font-size: 14px; font-weight: 500; }
.testimonial-info .testimonial-role { font-size: 12px; color: var(--white-muted); }
.testimonial-card p { font-size: 14px; color: var(--white-dim); line-height: 1.65; }

/* ========== FINAL CTA ========== */
.final-cta {
  background: var(--black);
  text-align: center;
  padding: 140px 0;
  position: relative;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 60%);
  pointer-events: none;
}

.final-cta h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.15;
}

.final-cta p {
  font-size: 18px;
  color: var(--white-dim);
  max-width: 500px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* ========== FOOTER ========== */
footer {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  background: var(--black-soft);
}

.footer-content { display: flex; align-items: center; justify-content: space-between; }
.footer-logo { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.footer-links { display: flex; gap: 32px; list-style: none; }
.footer-links a { font-size: 14px; color: var(--white-muted); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 13px; color: var(--white-muted); }

/* ========== SCROLL ANIMATIONS ========== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .screentime-layout { grid-template-columns: 1fr; gap: 60px; }

  .how-step {
    flex-direction: column;
    min-height: auto;
    padding: 60px 0;
    gap: 40px;
  }

  .how-step-text { flex: none; width: 100%; padding-right: 0; }
  .how-step-visual { flex: none; width: 100%; }
  .how-step-indicators { display: none; }
  .quote-layout { grid-template-columns: 1fr; gap: 40px; }
  .devices-showcase { flex-wrap: wrap; gap: 24px; }
  .device-macbook { flex: 0 0 360px; }
  .testimonial-card { flex: 0 0 300px; }
}

@media (max-width: 768px) {
  section { padding: 80px 0; }
  .ai-grid-responsive { grid-template-columns: 1fr !important; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open { display: flex; }
  .nav-cta { display: none; }
  .mobile-toggle { display: block; }
  .hero { padding: 140px 0 60px; min-height: auto; }
  .hero-buttons { flex-direction: column; align-items: center; margin-bottom: 48px; }

  .how-step > .container { flex-direction: column !important; gap: 40px !important; }

  .devices-showcase { flex-direction: column; align-items: center; gap: 24px; }
  .device-iphone { order: 1; }
  .device-macbook { order: 2; flex: 0 0 auto; width: 100%; max-width: 340px; }
  .device-monitor { order: 3; }
  .platform-labels { gap: 12px; }
  .testimonial-card { flex: 0 0 280px; }
  .screentime-text { order: -1; }
  .carousel-card { min-width: 260px; height: 360px; }
  .carousel-arrow { display: none; }

  .footer-content { flex-direction: column; gap: 24px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 20px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 40px; }
  .section-title { font-size: 28px; }
  .platform-labels { gap: 8px; }
  .platform-label-item { font-size: 11px; padding: 6px 12px; }
  .stat-item .stat-number { font-size: 18px; }
  .stat-item { padding: 0 24px; }
  .carousel-card { min-width: 240px; height: 340px; }
}
