/* =============================================
   SkyTalk — Cosmic Messaging App Landing
   ============================================= */

/* --- Easing Variables ---------------------------------------- */
:root {
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);

  --color-bg: oklch(8% 0.02 280);
  --color-surface: oklch(14% 0.03 280);
  --color-surface-2: oklch(20% 0.04 280);
  --color-border: oklch(100% 0 0 / 0.06);
  --color-text: oklch(96% 0.01 280);
  --color-muted: oklch(65% 0.03 280);
  --color-primary: oklch(55% 0.18 270);
  --color-accent: oklch(70% 0.2 300);
  --color-glow: oklch(60% 0.15 270 / 0.4);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 9999px;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --max-w: 1200px;
  --nav-h: 72px;
}

/* Reduced motion support */
@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: smooth; }

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

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

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

/* --- Ambient Background ---------------------------------------- */
.ambient-glow {
  position: fixed;
  top: -50%;
  left: -20%;
  width: 80vw;
  height: 100vh;
  background: radial-gradient(ellipse at center, oklch(50% 0.2 270 / 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.stars {
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 20px 30px, oklch(100% 0 0 / 0.3), transparent),
    radial-gradient(2px 2px at 40px 70px, oklch(100% 0 0 / 0.2), transparent),
    radial-gradient(1px 1px at 90px 40px, oklch(100% 0 0 / 0.3), transparent),
    radial-gradient(2px 2px at 160px 120px, oklch(100% 0 0 / 0.2), transparent),
    radial-gradient(1px 1px at 230px 80px, oklch(100% 0 0 / 0.25), transparent),
    radial-gradient(2px 2px at 300px 150px, oklch(100% 0 0 / 0.15), transparent),
    radial-gradient(1px 1px at 400px 60px, oklch(100% 0 0 / 0.2), transparent),
    radial-gradient(2px 2px at 500px 200px, oklch(100% 0 0 / 0.15), transparent);
  background-repeat: repeat;
  background-size: 550px 250px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* --- Buttons with Enhanced Micro-interactions ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s var(--ease-out-quart);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, oklch(100% 0 0 / 0.2) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease-out-quart);
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: linear-gradient(135deg, oklch(55% 0.18 270), oklch(65% 0.2 290));
  color: #fff;
  box-shadow:
    0 4px 20px oklch(50% 0.15 270 / 0.4),
    inset 0 1px 0 oklch(100% 0 0 / 0.2);
}
.btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 8px 30px oklch(55% 0.18 270 / 0.5),
    inset 0 1px 0 oklch(100% 0 0 / 0.2);
}

.btn--ghost {
  background: transparent;
  color: var(--color-muted);
  border-color: var(--color-border);
}
.btn--ghost:hover {
  color: var(--color-text);
  border-color: oklch(100% 0 0 / 0.15);
  background: oklch(100% 0 0 / 0.03);
  transform: translateY(-2px);
}

/* Store Buttons with magnetic effect */
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-family: var(--font-body);
  transition: all 0.3s var(--ease-out-quint);
  position: relative;
  overflow: hidden;
}
.btn-store::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), oklch(70% 0.15 270 / 0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-store:hover::after {
  opacity: 1;
}
.btn-store:hover {
  background: var(--color-surface-2);
  border-color: oklch(100% 0 0 / 0.12);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px oklch(0% 0 0 / 0.3);
}
.btn-store:active {
  transform: translateY(-1px) scale(0.98);
}
.btn-store svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.btn-store small {
  display: block;
  font-size: 11px;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-store strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
}
.btn-store--large {
  padding: 18px 32px;
}
.btn-store--large svg {
  width: 32px;
  height: 32px;
}
.btn-store--large strong {
  font-size: 18px;
}

/* --- Navbar ---------------------------------------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: oklch(8% 0.02 280 / 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}

.navbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.navbar__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  .accent {
    color: var(--color-primary);
  }
}
.logo-img {
  height: 72px;
  width: auto;
  display: block;
}
.logo-img--footer {
  height: 36px;
}

.navbar__links {
  display: flex;
  gap: 32px;
  flex: 1;
}
.navbar__links a {
  color: var(--color-muted);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, oklch(55% 0.18 270), oklch(65% 0.2 300));
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-out-quart);
}
.navbar__links a:hover {
  color: var(--color-text);
}
.navbar__links a:hover::after {
  transform: scaleX(1);
}

.navbar__cta { display: flex; gap: 12px; margin-left: auto; }

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.2s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: oklch(10% 0.03 280);
  border-bottom: 1px solid var(--color-border);
  padding: 20px 24px 28px;
  z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-border);
}
.mobile-menu a:last-of-type { border-bottom: none; margin-top: 8px; }
.mobile-menu .btn { text-align: center; justify-content: center; }

/* --- Hero ---------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 100px);
  padding-bottom: 80px;
  z-index: 1;
}

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

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: oklch(55% 0.18 270 / 0.1);
  border: 1px solid oklch(55% 0.18 270 / 0.25);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: oklch(75% 0.12 270);
  margin-bottom: 28px;
}
.pulse {
  width: 8px;
  height: 8px;
  background: oklch(65% 0.2 150);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  color: #fff;
  margin-bottom: 24px;
}
.gradient-text {
  background: linear-gradient(135deg, oklch(70% 0.15 270), oklch(75% 0.18 300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  max-width: 480px;
  font-size: 18px;
  color: var(--color-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}

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

.hero__stats {
  display: flex;
  gap: 40px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat__number {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.6s var(--ease-out-quint) forwards;
}
.stat:nth-child(1) .stat__number { animation-delay: 0.8s; }
.stat:nth-child(2) .stat__number { animation-delay: 0.9s; }
.stat:nth-child(3) .stat__number { animation-delay: 1s; }

.stat__label {
  font-size: 13px;
  color: var(--color-muted);
  opacity: 0;
  animation: fadeIn 0.6s var(--ease-out-quint) forwards;
}
.stat:nth-child(1) .stat__label { animation-delay: 1s; }
.stat:nth-child(2) .stat__label { animation-delay: 1.1s; }
.stat:nth-child(3) .stat__label { animation-delay: 1.2s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Hero Visual */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: linear-gradient(180deg, oklch(20% 0.03 280), oklch(12% 0.02 280));
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 0 0 1px oklch(100% 0 0 / 0.1),
    0 50px 100px oklch(0% 0 0 / 0.5),
    0 0 100px oklch(55% 0.15 270 / 0.2);
  position: relative;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--color-bg);
  border-radius: 32px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}

.chat-bubble {
  max-width: 85%;
  padding: 14px 18px;
  border-radius: 20px;
  font-size: 14px;
  line-height: 1.5;
  animation: floatIn 0.6s ease backwards;
}
.chat-bubble--received {
  background: var(--color-surface);
  color: var(--color-text);
  border-bottom-left-radius: 6px;
  align-self: flex-start;
  animation-delay: 0.2s;
}
.chat-bubble--sent {
  background: linear-gradient(135deg, oklch(55% 0.18 270), oklch(60% 0.2 280));
  color: #fff;
  border-bottom-right-radius: 6px;
  align-self: flex-end;
  animation-delay: 0.4s;
}
.chat-bubble:nth-child(3) { animation-delay: 0.6s; }

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.floating-icon {
  position: absolute;
  font-size: 32px;
  opacity: 0.8;
  animation: float 6s ease-in-out infinite;
}
.floating-icon--1 {
  top: 10%;
  right: 5%;
  animation-delay: 0s;
}
.floating-icon--2 {
  bottom: 20%;
  left: 0;
  animation-delay: 2s;
}
.floating-icon--3 {
  top: 40%;
  right: 0;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

/* --- Preview Strip ---------------------------------------- */
.preview-strip {
  padding: 60px 0;
  overflow: hidden;
}
.preview-strip__track {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 24px;
}

/* --- Preview Cards with Stagger & Hover ---------------------------------------- */
.preview-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out-quint), transform 0.6s var(--ease-out-quint);
}
.preview-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.preview-card:nth-child(1) { transition-delay: 0ms; }
.preview-card:nth-child(2) { transition-delay: 100ms; }
.preview-card:nth-child(3) { transition-delay: 200ms; }
.preview-card:nth-child(4) { transition-delay: 300ms; }

.preview-card__screen {
  width: 140px;
  height: 180px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--color-border);
  transition: all 0.4s var(--ease-out-quart);
  position: relative;
  overflow: hidden;
}
.preview-card:hover .preview-card__screen {
  transform: translateY(-8px) scale(1.03);
  border-color: oklch(60% 0.15 270 / 0.3);
  box-shadow: 0 20px 40px oklch(0% 0 0 / 0.3);
}
.preview-card__screen--video {
  background: linear-gradient(180deg, oklch(25% 0.05 280), oklch(15% 0.03 280));
  position: relative;
}
.preview-card__screen--dark {
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.preview-card span {
  font-size: 13px;
  color: var(--color-muted);
  font-weight: 500;
  transition: color 0.3s;
}
.preview-card:hover span {
  color: var(--color-text);
}

.mini-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 12px;
}
.mini-bubble--sent {
  background: linear-gradient(135deg, oklch(55% 0.18 270), oklch(60% 0.2 280));
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.mini-bubble--received {
  background: var(--color-surface-2);
  color: var(--color-text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.video-indicator {
  font-size: 10px;
  color: oklch(65% 0.2 150);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.video-participants {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.participant {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, oklch(50% 0.1 270), oklch(45% 0.08 300));
}

.file-attachment {
  padding: 12px;
  background: var(--color-surface-2);
  border-radius: 10px;
  font-size: 12px;
  color: var(--color-text);
}

.encryption-badge {
  font-size: 11px;
  color: oklch(65% 0.15 150);
  text-align: center;
  padding: 12px;
  background: oklch(20% 0.03 280);
  border-radius: var(--radius-sm);
  border: 1px solid oklch(65% 0.15 150 / 0.2);
}

/* --- Section Shared ---------------------------------------- */
.section-header {
  text-align: center;
  margin-bottom: 80px;
}
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: oklch(70% 0.12 280);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  letter-spacing: -1.5px;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}
.section-desc {
  font-size: 18px;
  color: var(--color-muted);
  max-width: 480px;
  margin-inline: auto;
}

/* --- Features ---------------------------------------- */
.features {
  padding: 140px 0;
  position: relative;
  z-index: 1;
}

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

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.4s var(--ease-out-quint);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), oklch(60% 0.15 270 / 0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.feature-card:hover::before {
  opacity: 1;
}
.feature-card:hover {
  border-color: oklch(60% 0.15 270 / 0.3);
  transform: translateY(-6px) rotateX(var(--rotate-x, 0deg)) rotateY(var(--rotate-y, 0deg));
  box-shadow:
    0 25px 60px oklch(0% 0 0 / 0.4),
    0 0 40px oklch(55% 0.15 270 / 0.15);
}
.feature-card--large {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.feature-card__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon {
  font-size: 48px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s var(--ease-spring);
}
.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(-5deg);
}
.feature-glow {
  position: absolute;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, oklch(60% 0.2 270 / 0.3) 0%, transparent 70%);
  filter: blur(20px);
  animation: pulse-glow 4s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.feature-card p {
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.7;
}

/* --- Showcase ---------------------------------------- */
.showcase {
  padding: 140px 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}
.showcase .container {
  position: relative;
  z-index: 1;
}
.showcase .section-header {
  text-align: left;
  margin-bottom: 60px;
}
.showcase .section-desc {
  margin-inline: 0;
}

.showcase__points {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 400px;
  position: relative;
}
.showcase__points::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 50px;
  bottom: 50px;
  width: 2px;
  background: linear-gradient(180deg, oklch(60% 0.15 270 / 0.3), oklch(60% 0.15 270 / 0.1));
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 1s var(--ease-out-quint);
}
.showcase__points.visible::before {
  transform: scaleY(1);
}
.point {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.6s var(--ease-out-quint);
}
.point.visible {
  opacity: 1;
  transform: translateX(0);
}
.point:nth-child(1) { transition-delay: 0.2s; }
.point:nth-child(2) { transition-delay: 0.4s; }
.point:nth-child(3) { transition-delay: 0.6s; }

.point__marker {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: oklch(60% 0.15 270);
  background: oklch(60% 0.15 270 / 0.1);
  border: 1px solid oklch(60% 0.15 270 / 0.2);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
  transition: all 0.3s var(--ease-spring);
}
.point:hover .point__marker {
  background: oklch(60% 0.15 270 / 0.2);
  border-color: oklch(60% 0.15 270 / 0.4);
  transform: scale(1.1);
}
.point__text h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
  transition: color 0.3s;
}
.point:hover .point__text h4 {
  color: oklch(80% 0.1 270);
}
.point__text p {
  font-size: 15px;
  color: var(--color-muted);
}

/* Orbit Animation */
.showcase__orbit {
  position: absolute;
  right: -200px;
  top: 50%;
  transform: translateY(-50%);
  width: 800px;
  height: 800px;
}
.orbit-ring {
  position: absolute;
  border: 1px solid oklch(100% 0 0 / 0.08);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.orbit-ring--1 {
  width: 300px;
  height: 300px;
  animation: rotate 30s linear infinite;
}
.orbit-ring--2 {
  width: 500px;
  height: 500px;
  animation: rotate 50s linear infinite reverse;
}
.orbit-ring--3 {
  width: 700px;
  height: 700px;
  animation: rotate 70s linear infinite;
}
.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, oklch(55% 0.18 270), oklch(65% 0.2 300));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 1px oklch(100% 0 0 / 0.1),
    0 0 60px oklch(55% 0.18 270 / 0.4);
}
.orbit-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

@keyframes rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* --- Download ---------------------------------------- */
.download {
  padding: 140px 0;
  position: relative;
  z-index: 1;
}
.download__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}
.download__content h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -1.5px;
  color: #fff;
  margin-bottom: 20px;
}
.download__content p {
  font-size: 18px;
  color: var(--color-muted);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.download__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.download__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.qr-code {
  width: 160px;
  height: 160px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.4s var(--ease-out-quint), box-shadow 0.4s var(--ease-out-quint);
}
.qr-code::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, oklch(55% 0.18 270), oklch(65% 0.2 300));
  border-radius: calc(var(--radius-md) + 2px);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
}
.qr-code:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px oklch(55% 0.15 270 / 0.3);
}
.qr-code:hover::before {
  opacity: 1;
}
.qr-pattern {
  width: 100%;
  height: 100%;
  background-image:
    repeating-linear-gradient(0deg, #000 0, #000 20%, transparent 20%, transparent 40%),
    repeating-linear-gradient(90deg, #000 0, #000 20%, transparent 20%, transparent 40%);
  background-size: 20px 20px;
  mask-image: radial-gradient(circle at 30% 30%, black 8px, transparent 8px),
              radial-gradient(circle at 70% 30%, black 8px, transparent 8px),
              radial-gradient(circle at 30% 70%, black 8px, transparent 8px);
  animation: qr-shimmer 3s ease-in-out infinite;
}
@keyframes qr-shimmer {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 1; }
}
.download__qr span {
  font-size: 13px;
  color: var(--color-muted);
  transition: color 0.3s;
}
.download__qr:hover span {
  color: var(--color-text);
}

/* --- Footer ---------------------------------------- */
.footer {
  border-top: 1px solid var(--color-border);
  padding-top: 60px;
  padding-bottom: 40px;
  position: relative;
  z-index: 1;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-border);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer__brand .navbar__logo {
  flex-shrink: 0;
}
.footer__brand p {
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 280px;
}

.footer__legal {
  display: flex;
  gap: 32px;
}
.footer__legal a {
  font-size: 14px;
  color: var(--color-muted);
  transition: color 0.2s;
}
.footer__legal a:hover { color: var(--color-text); }

.footer__bottom {
  padding-top: 32px;
  text-align: center;
}
.footer__bottom p {
  font-size: 14px;
  color: var(--color-muted);
}

/* --- Responsive ---------------------------------------- */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__content {
    order: 2;
  }
  .hero__visual {
    order: 1;
    min-height: 400px;
  }
  .hero__subtitle {
    margin-inline: auto;
  }
  .hero__actions {
    justify-content: center;
  }
  .hero__stats {
    justify-content: center;
  }

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

  .showcase__orbit {
    display: none;
  }
  .showcase .section-header {
    text-align: center;
  }
  .showcase .section-desc {
    margin-inline: auto;
  }
  .showcase__points {
    margin-inline: auto;
  }

  .download__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .download__content p {
    margin-inline: auto;
  }
  .download__actions {
    justify-content: center;
  }
  .download__qr {
    order: -1;
  }
}

@media (max-width: 680px) {
  .navbar__links, .navbar__cta { display: none; }
  .navbar__hamburger { display: flex; }

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

  .phone-mockup {
    width: 240px;
    height: 480px;
  }

  .preview-strip__track {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 0 24px;
    scrollbar-width: none;
  }
  .preview-strip__track::-webkit-scrollbar {
    display: none;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }
  .footer__brand {
    flex-direction: column;
  }
  .footer__legal {
    gap: 24px;
  }
}

/* --- Legal Pages (Privacy Policy, Terms) ---------------------------------------- */
.legal-page {
  padding: calc(var(--nav-h) + 80px) 0 100px;
  position: relative;
  z-index: 1;
}

.legal-page__header {
  text-align: center;
  margin-bottom: 60px;
}

.legal-page__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -1.5px;
  color: #fff;
  margin-bottom: 12px;
}

.legal-page__updated {
  font-size: 14px;
  color: var(--color-muted);
}

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

.legal-section {
  margin-bottom: 48px;
}

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

.legal-section h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.legal-section p {
  font-size: 16px;
  color: var(--color-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-section ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-section li {
  font-size: 16px;
  color: var(--color-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-section li:last-child {
  margin-bottom: 0;
}

.legal-section strong {
  color: var(--color-text);
  font-weight: 600;
}

.legal-section a {
  color: oklch(70% 0.12 270);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.legal-section a:hover {
  color: oklch(80% 0.1 270);
}

@media (max-width: 680px) {
  .legal-page {
    padding: calc(var(--nav-h) + 60px) 0 80px;
  }

  .legal-page__content {
    padding: 0 16px;
  }

  .legal-section h2 {
    font-size: 22px;
  }

  .legal-section p,
  .legal-section li {
    font-size: 15px;
  }
}


.hero__title {
  opacity: 0;
  transform: translateY(30px);
  animation: hero-entrance 0.8s var(--ease-out-quint) 0.2s forwards;
}

.hero__subtitle {
  opacity: 0;
  transform: translateY(30px);
  animation: hero-entrance 0.8s var(--ease-out-quint) 0.3s forwards;
}

.hero__actions {
  opacity: 0;
  transform: translateY(30px);
  animation: hero-entrance 0.8s var(--ease-out-quint) 0.4s forwards;
}

.hero__visual {
  opacity: 0;
  transform: scale(0.95) translateY(40px);
  animation: hero-visual-entrance 1s var(--ease-out-quint) 0.3s forwards;
}

@keyframes hero-entrance {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-visual-entrance {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(40px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
