:root {
  --bg: #f6f6f3;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --text: #0e0e0e;
  --muted: #545454;
  --line: rgba(0, 0, 0, 0.08);
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.08);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.06);
  --radius: 28px;
  --radius-sm: 18px;
  --container: min(1180px, calc(100vw - 40px));
}

:root[data-theme="dark"] {
  --bg: #070707;
  --surface: rgba(18, 18, 18, 0.78);
  --surface-strong: rgba(22, 22, 22, 0.92);
  --text: #f6f6f6;
  --muted: #b8b8b8;
  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.36);
  --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background 0.45s ease, color 0.45s ease;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(0, 0, 0, 0.06), transparent 22%),
    radial-gradient(circle at 90% 14%, rgba(0, 0, 0, 0.04), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: -3;
}

:root[data-theme="dark"] body::before {
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.06), transparent 22%),
    radial-gradient(circle at 90% 14%, rgba(255, 255, 255, 0.04), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

.noise {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(0, 0, 0, 0.03) 0.6px, transparent 0.6px);
  background-size: 10px 10px;
  opacity: 0.5;
  pointer-events: none;
  z-index: -2;
}

:root[data-theme="dark"] .noise {
  background-image: radial-gradient(rgba(255, 255, 255, 0.035) 0.6px, transparent 0.6px);
}

.theme-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.22;
  pointer-events: none;
  z-index: -1;
  animation: drift 14s ease-in-out infinite alternate;
}

.orb-1 {
  width: 320px;
  height: 320px;
  top: 80px;
  left: -40px;
  background: rgba(0, 0, 0, 0.12);
}

.orb-2 {
  width: 280px;
  height: 280px;
  right: -50px;
  top: 280px;
  background: rgba(0, 0, 0, 0.1);
  animation-duration: 18s;
}

:root[data-theme="dark"] .orb-1,
:root[data-theme="dark"] .orb-2 {
  background: rgba(255, 255, 255, 0.08);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.glass {
  background: var(--surface);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

.section {
  padding: 56px 0;
}

.header {
  position: sticky;
  top: 16px;
  z-index: 30;
  width: var(--container);
  margin: 18px auto 0;
  border-radius: 999px;
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 20px;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: lowercase;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links a,
.footer-links a,
.footer-social a,
.platform-sidebar a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover,
.footer-links a:hover,
.footer-social a:hover,
.platform-sidebar a:hover {
  color: var(--text);
  transform: translateY(-2px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle,
.theme-toggle,
.btn {
  border: 1px solid var(--line);
  font: inherit;
}

.lang-toggle {
  background: var(--surface-strong);
  color: var(--text);
  min-width: 90px;
  height: 44px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.theme-toggle {
  background: var(--surface-strong);
  height: 44px;
  width: 74px;
  border-radius: 999px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.theme-toggle-track {
  width: 54px;
  height: 26px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  position: relative;
}

:root[data-theme="dark"] .theme-toggle-track {
  background: rgba(255, 255, 255, 0.12);
}

.theme-toggle-thumb {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--text);
  top: 3px;
  left: 4px;
  transition: transform 0.3s ease, background 0.3s ease;
}

:root[data-theme="dark"] .theme-toggle-thumb {
  transform: translateX(26px);
}

.hero {
  padding-top: 72px;
}

.hero-grid,
.split-grid,
.footer-grid {
  display: grid;
  gap: 28px;
}

.hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.hero-title,
.section-head h2,
.split-copy h2 {
  margin: 0;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.hero-title {
  font-size: clamp(3rem, 9vw, 6rem);
  max-width: 11ch;
}

.animated-line {
  display: block;
  min-height: 1.15em;
  overflow: hidden;
}

.swap-word {
  display: inline-block;
  position: relative;
  animation: riseIn 0.65s cubic-bezier(.2,.65,.18,1);
}

.eyebrow,
.section-kicker,
.tiny-label,
.video-tag,
.platform-badge,
.floating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
}

.eyebrow,
.section-kicker,
.platform-badge,
.video-tag,
.floating-badge,
.tiny-label {
  color: var(--muted);
}

.hero-text,
.section-head p,
.split-copy p,
.footer-brand p,
.footer-note,
.feature-card p,
.review-panel p,
.video-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 58ch;
  margin: 22px 0 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.36) 50%, transparent 100%);
  transform: translateX(-130%);
  transition: transform 0.7s ease;
}

.btn:hover::after {
  transform: translateX(130%);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
}

.btn-secondary {
  color: var(--text);
  background: var(--surface-strong);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 680px;
}

.stat {
  padding: 18px;
  border-radius: 22px;
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.stat-label,
.mini-title {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
}

.device-card,
.feature-card,
.video-card,
.review-panel,
.community-shell,
.platform-shell,
.point,
.platform-card {
  border-radius: var(--radius);
}

.device-card {
  padding: 18px;
}

.device-top {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.device-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
}

:root[data-theme="dark"] .device-top span {
  background: rgba(255, 255, 255, 0.16);
}

.device-body {
  position: relative;
  min-height: 520px;
  border-radius: 28px;
  overflow: hidden;
  padding: 22px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.035), rgba(0, 0, 0, 0.06));
}

:root[data-theme="dark"] .device-body {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.06));
}

.floating-badge {
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--surface-strong);
  margin-bottom: 18px;
}

.wave-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(transparent 0 97%, rgba(0, 0, 0, 0.06) 97% 100%),
    linear-gradient(90deg, transparent 0 97%, rgba(0, 0, 0, 0.06) 97% 100%);
  background-size: 46px 46px;
  opacity: 0.55;
  mask-image: radial-gradient(circle at 50% 40%, black 36%, transparent 76%);
}

:root[data-theme="dark"] .wave-grid {
  background:
    linear-gradient(transparent 0 97%, rgba(255, 255, 255, 0.08) 97% 100%),
    linear-gradient(90deg, transparent 0 97%, rgba(255, 255, 255, 0.08) 97% 100%);
}

.video-frame,
.video-screen,
.platform-player-screen {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.7), transparent 30%),
    linear-gradient(135deg, rgba(0,0,0,0.06), rgba(0,0,0,0.18));
}

:root[data-theme="dark"] .video-frame,
:root[data-theme="dark"] .video-screen,
:root[data-theme="dark"] .platform-player-screen {
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.14), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.12));
}

.video-frame {
  height: 280px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.play-button {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  position: relative;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.12);
  animation: pulseRing 2.4s infinite;
}

.play-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 53%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent var(--text);
}

.mini-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mini-card {
  padding: 16px;
  border-radius: 20px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.mini-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1.4rem;
}

.section-head {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-head h2,
.split-copy h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 16px;
}

.cards.three-up {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 250px;
  padding: 24px;
}

.card-index {
  display: inline-block;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 28px;
}

.feature-card h3,
.video-card h3,
.video-card h4,
.review-panel h3,
.platform-card h4,
.platform-player-overlay h3 {
  margin-top: 0;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.split-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  width: fit-content;
}

.video-stack {
  display: grid;
  gap: 18px;
}

.video-card {
  padding: 22px;
}

.video-card-main {
  min-height: 350px;
}

.video-tag {
  display: inline-flex;
  margin-bottom: 18px;
}

.video-screen {
  height: 190px;
  margin-bottom: 22px;
}

.video-card-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.review-grid {
  display: grid;
  gap: 18px;
}

.review-panel {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 20px;
  align-items: center;
  padding: 24px;
}

.rating-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  font-size: 2rem;
  font-weight: 900;
}

.marquee {
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding: 16px 0;
  animation: marquee 24s linear infinite;
}

.marquee-track span {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  font-weight: 700;
  text-transform: lowercase;
}

.split-grid.alt {
  grid-template-columns: 0.9fr 1.1fr;
}

.community-shell {
  min-height: 420px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.community-topline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 0 0 rgba(0,0,0,0.35);
  animation: ping 1.8s infinite;
}

:root[data-theme="dark"] .pulse-dot {
  box-shadow: 0 0 0 0 rgba(255,255,255,0.25);
}

.community-bubbles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
}

.bubble {
  padding: 22px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  font-weight: 800;
  min-height: 110px;
  display: flex;
  align-items: end;
}

.bubble-lg { min-height: 170px; }
.bubble-md { min-height: 130px; }
.bubble-sm { min-height: 96px; }

.community-points {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.point {
  padding: 18px 20px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.point strong {
  font-size: 1.1rem;
}

.platform-shell {
  padding: 18px;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 18px;
}

.platform-sidebar {
  border-radius: 24px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.platform-main {
  display: grid;
  gap: 18px;
}

.platform-player {
  position: relative;
  min-height: 360px;
  border-radius: 28px;
  overflow: hidden;
}

.platform-player-screen {
  position: absolute;
  inset: 0;
}

.platform-player-overlay {
  position: relative;
  min-height: 360px;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}

.platform-player-overlay h3 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  max-width: 12ch;
}

.platform-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.platform-card {
  padding: 22px;
}

.platform-card span {
  color: var(--muted);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.footer {
  padding: 24px 0 44px;
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr 1fr;
  align-items: start;
  padding: 28px;
  border-radius: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.brand-footer {
  display: inline-block;
  margin-bottom: 12px;
}

.footer-links,
.footer-social {
  display: grid;
  gap: 12px;
}

.footer-title {
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.84rem;
}

.footer-note {
  font-size: 0.88rem;
}

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  filter: blur(10px);
  transition: opacity 0.9s cubic-bezier(.2,.65,.18,1), transform 0.9s cubic-bezier(.2,.65,.18,1), filter 0.9s cubic-bezier(.2,.65,.18,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

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

.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.18s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.tilt-card:hover {
  box-shadow: var(--shadow);
}

.magnetic {
  transition: transform 0.18s ease;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(40px, -24px, 0) scale(1.08); }
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.12); }
  70% { box-shadow: 0 0 0 20px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(40px) skewY(8deg);
    filter: blur(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0) skewY(0deg);
    filter: blur(0);
  }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(0,0,0,0.35); }
  70% { box-shadow: 0 0 0 14px rgba(0,0,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); }
}

@media (max-width: 1080px) {
  .nav {
    min-height: auto;
    flex-wrap: wrap;
    padding: 16px 18px;
  }

  .hero-grid,
  .split-grid,
  .split-grid.alt,
  .footer-grid,
  .platform-shell {
    grid-template-columns: 1fr;
  }

  .cards.three-up,
  .platform-cards,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .video-card-row,
  .community-bubbles {
    grid-template-columns: 1fr 1fr;
  }

  .platform-player-overlay {
    flex-direction: column;
    align-items: flex-start;
    justify-content: end;
  }
}

@media (max-width: 760px) {
  .header {
    top: 10px;
    border-radius: 24px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 34px;
  }

  .section {
    padding: 42px 0;
  }

  .hero-stats,
  .video-card-row,
  .community-bubbles,
  .platform-cards {
    grid-template-columns: 1fr;
  }

  .review-panel {
    grid-template-columns: 1fr;
  }

  .device-body,
  .community-shell,
  .platform-player-overlay {
    min-height: auto;
  }

  .platform-player,
  .platform-player-overlay {
    min-height: 280px;
  }

  .footer-grid {
    padding: 22px;
  }
}
