/* ─── EmotionVerse Marketing Site ─── */

:root {
  --bg: #0a0a0a;
  --bg-elevated: #121212;
  --surface: #1e1e1e;
  --surface-hover: #2a2a2a;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.65);
  --text-subtle: rgba(255, 255, 255, 0.4);
  --primary: #448aff;
  --primary-glow: rgba(68, 138, 255, 0.35);
  --border: rgba(255, 255, 255, 0.08);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 9999px;
  --font: 'Outfit', system-ui, -apple-system, sans-serif;
  --nav-height: 72px;
  --container: 1140px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

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

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

ul { list-style: none; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Ambient Background ─── */

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #448aff 0%, transparent 70%);
  top: -200px;
  right: -100px;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #ab47bc 0%, transparent 70%);
  bottom: 20%;
  left: -150px;
  animation-delay: -7s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #26a69a 0%, transparent 70%);
  bottom: -100px;
  right: 20%;
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ─── Navigation ─── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-mark {
  flex-shrink: 0;
  display: block;
}

.logo-text {
  letter-spacing: -0.02em;
}

.logo-accent {
  background: linear-gradient(135deg, #448aff, #26a69a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a:not(.btn) {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── Buttons ─── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

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

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 24px var(--primary-glow);
}

.btn-primary:hover {
  background: #5c9aff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--primary-glow);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}

/* ─── Hero ─── */

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 48px) 0 80px;
}

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

.badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(68, 138, 255, 0.12);
  border: 1px solid rgba(68, 138, 255, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.hero-logo {
  display: block;
  margin-bottom: 20px;
  filter: drop-shadow(0 8px 24px rgba(68, 138, 255, 0.25));
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #448aff, #ab47bc, #26a69a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-subtle);
  margin-top: 2px;
}

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

/* ─── Phone Mockup ─── */

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  position: relative;
}

.phone-frame {
  position: relative;
  width: 280px;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 12px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 40px 80px rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.phone-notch {
  width: 100px;
  height: 24px;
  background: #0a0a0a;
  border-radius: 0 0 16px 16px;
  margin: 0 auto 8px;
}

.phone-screen {
  background: var(--bg-elevated);
  border-radius: 28px;
  overflow: hidden;
  padding: 16px;
  min-height: 480px;
}

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

.mock-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #448aff, #ab47bc);
}

.mock-greeting {
  display: flex;
  flex-direction: column;
  font-size: 0.8125rem;
}

.mock-greeting span {
  color: var(--text-subtle);
}

.mock-greeting strong {
  font-size: 1rem;
}

.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.mock-coin {
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  animation: coinPulse 4s ease-in-out infinite;
}

.mock-coin:nth-child(2) { animation-delay: -1s; }
.mock-coin:nth-child(3) { animation-delay: -2s; }
.mock-coin:nth-child(4) { animation-delay: -3s; }

.mock-coin span {
  font-size: 1.75rem;
}

.mock-coin small {
  font-size: 0.625rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

@keyframes coinPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.mock-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.75rem;
  line-height: 1.4;
  animation: bubbleIn 0.6s ease-out backwards;
}

.mock-bubble-ai {
  align-self: flex-start;
  background: var(--surface);
  border-bottom-left-radius: 4px;
  animation-delay: 0.3s;
}

.mock-bubble-user {
  align-self: flex-end;
  background: linear-gradient(135deg, #1565c0, #42a5f5);
  border-bottom-right-radius: 4px;
  animation-delay: 0.6s;
}

.mock-bubble-ai:last-child {
  animation-delay: 0.9s;
}

@keyframes bubbleIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.phone-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(68, 138, 255, 0.2) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

/* ─── Sections ─── */

.section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.0625rem;
}

/* ─── Features ─── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all var(--transition);
}

.feature-card:hover {
  background: var(--surface-hover);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 20%, transparent);
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── Companions ─── */

.companions {
  background: linear-gradient(180deg, transparent 0%, rgba(30, 30, 30, 0.5) 50%, transparent 100%);
}

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

.companion-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  overflow: hidden;
  transition: all var(--transition);
}

.companion-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
}

.companion-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.companion-emoji {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 12px;
}

.companion-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.companion-type {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
  margin-bottom: 12px;
}

.companion-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── How It Works ─── */

.steps {
  max-width: 720px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(68, 138, 255, 0.15), rgba(171, 71, 188, 0.15));
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--primary);
}

.step-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.step-connector {
  width: 2px;
  height: 48px;
  background: linear-gradient(180deg, var(--primary), transparent);
  margin: 8px 0 8px 31px;
  opacity: 0.4;
}

/* ─── Showcase / Insights ─── */

.showcase-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 64px;
}

.showcase-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.showcase-content > p {
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.showcase-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.showcase-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.showcase-list svg {
  flex-shrink: 0;
  color: #26a69a;
}

.insights-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

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

.insights-header > span {
  font-weight: 700;
  font-size: 0.9375rem;
}

.insights-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
  border-radius: var(--radius-full);
}

.insights-tabs span {
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-subtle);
  border-radius: var(--radius-full);
  cursor: default;
}

.insights-tabs span.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.insights-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  height: 160px;
  margin-bottom: 24px;
  padding: 0 8px;
}

.chart-bar {
  flex: 1;
  height: var(--h);
  background: var(--color);
  border-radius: 6px 6px 2px 2px;
  opacity: 0.7;
  position: relative;
  animation: barGrow 1s ease-out backwards;
}

.chart-bar:nth-child(1) { animation-delay: 0.1s; }
.chart-bar:nth-child(2) { animation-delay: 0.2s; }
.chart-bar:nth-child(3) { animation-delay: 0.3s; }
.chart-bar:nth-child(4) { animation-delay: 0.4s; }
.chart-bar:nth-child(5) { animation-delay: 0.5s; }
.chart-bar:nth-child(6) { animation-delay: 0.6s; }
.chart-bar:nth-child(7) { animation-delay: 0.7s; }

.chart-bar span {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.625rem;
  color: var(--text-subtle);
  white-space: nowrap;
}

@keyframes barGrow {
  from { height: 0; opacity: 0; }
}

.insights-moods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mood-chip {
  padding: 6px 12px;
  background: var(--bg);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color);
  background: var(--bg);
  border: 1px solid color-mix(in srgb, var(--color) 30%, transparent);
}

/* ─── Download CTA ─── */

.download-card {
  position: relative;
  text-align: center;
  padding: 80px 48px;
  background: linear-gradient(135deg, rgba(68, 138, 255, 0.08), rgba(171, 71, 188, 0.08));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.download-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(68, 138, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.download-content {
  position: relative;
  z-index: 1;
}

.download-content h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.download-content > p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.download-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.15);
}

.store-btn svg {
  flex-shrink: 0;
}

.store-btn small {
  display: block;
  font-size: 0.6875rem;
  opacity: 0.7;
  line-height: 1.2;
}

.store-btn strong {
  display: block;
  font-size: 1.0625rem;
  line-height: 1.2;
}

.download-note {
  font-size: 0.8125rem;
  color: var(--text-subtle);
}

/* ─── Footer ─── */

.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand p {
  color: var(--text-subtle);
  font-size: 0.9375rem;
  margin-top: 12px;
  max-width: 280px;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color var(--transition);
}

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

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--text-subtle);
  text-align: center;
}

/* ─── Scroll Reveal ─── */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── Responsive ─── */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

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

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

  .showcase-inner {
    grid-template-columns: 1fr;
    padding: 48px 32px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
  }

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

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-links a.btn {
    margin-top: 16px;
    text-align: center;
    border: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .companions-grid {
    grid-template-columns: 1fr;
  }

  .step {
    flex-direction: column;
    gap: 16px;
  }

  .step-connector {
    margin-left: 31px;
    height: 32px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    gap: 32px;
  }

  .download-card {
    padding: 48px 24px;
  }

  .phone-frame {
    width: 260px;
  }
}

/* ─── Legal & Contact Pages ─── */

.legal-page {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-height) + 48px) 0 80px;
  min-height: 100vh;
}

.legal-header {
  max-width: 760px;
  margin: 0 auto 48px;
  padding: 0 24px;
}

.legal-header h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.legal-meta {
  font-size: 0.875rem;
  color: var(--text-subtle);
  margin-bottom: 16px;
}

.legal-intro {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-content h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin: 40px 0 16px;
  padding-top: 8px;
}

.legal-content h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 24px 0 12px;
  color: rgba(255, 255, 255, 0.9);
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.75;
}

.legal-content p {
  margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 16px 20px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover {
  color: #5c9aff;
}

.legal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 24px 0;
}

.legal-box p:last-child {
  margin-bottom: 0;
}

.legal-box strong {
  color: var(--text);
}

.legal-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.legal-nav-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition);
}

.legal-nav-links a:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all var(--transition);
}

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

.contact-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.contact-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.6;
}

.contact-card a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.footer-legal {
  font-size: 0.75rem;
  color: var(--text-subtle);
  margin-top: 8px;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .download-actions {
    flex-direction: column;
    align-items: center;
  }

  .store-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}
