/* Nice Place — Premium Landing Page */
:root {
  --bg: #05070A;
  --bg-elevated: #0A0D12;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-glass: rgba(10, 13, 18, 0.72);
  --green: #16A34A;
  --green-light: #22C55E;
  --green-dim: #15803D;
  --green-glow: rgba(22, 163, 74, 0.35);
  --green-subtle: rgba(22, 163, 74, 0.12);
  --white: #FFFFFF;
  --text: #E8ECF1;
  --muted: #8B95A5;
  --dim: #5C6678;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(22, 163, 74, 0.3);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --header-h: 80px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --container: min(1200px, calc(100% - 48px));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

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

/* ── Cursor glow ── */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  will-change: transform;
}

body.is-pointer-fine .cursor-glow { opacity: 1; }

/* ── Background ── */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
}

.page-bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}

.page-bg__orb--1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--green-glow), transparent 65%);
  top: -250px;
  right: -200px;
  animation: orbDrift 14s ease-in-out infinite;
}

.page-bg__orb--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.15), transparent 65%);
  bottom: 20%;
  left: -180px;
  animation: orbDrift 18s ease-in-out infinite reverse;
}

.page-bg__orb--3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.08), transparent 65%);
  top: 45%;
  right: 10%;
  animation: orbDrift 20s ease-in-out infinite 2s;
}

@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-30px, 25px) scale(1.05); }
  66% { transform: translate(20px, -15px) scale(0.98); }
}

.page-wrap { position: relative; z-index: 1; }

/* ── Brand ── */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: opacity 0.25s;
}

.brand:hover { opacity: 0.85; }

.brand__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.25);
}

.brand--footer .brand__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.brand__name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}

/* ── Header ── */
.header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-h);
  z-index: 1000;
  transition: background 0.4s var(--ease-out), backdrop-filter 0.4s, border-color 0.4s;
}

.header.is-scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}

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

.header__nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.header__nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  transition: color 0.25s;
}

.header__nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--green);
  transition: width 0.3s var(--ease-out);
}

.header__nav a:hover,
.header__nav a.is-active { color: var(--white); }

.header__nav a:hover::after,
.header__nav a.is-active::after { width: 100%; }

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

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.25s, border-color 0.25s;
}

.menu-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
}

.menu-btn.is-open span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-btn.is-open span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  background: rgba(5, 7, 10, 0.97);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s var(--ease-out), opacity 0.35s, visibility 0.35s;
}

.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-size: 1.25rem;
  font-weight: 600;
  padding: 18px 12px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.02em;
  transition: color 0.25s, padding-left 0.25s;
}

.mobile-menu a:hover {
  color: var(--green-light);
  padding-left: 20px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s, background 0.25s, border-color 0.25s;
}

.btn--ghost {
  padding: 11px 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--white);
}

.btn--ghost:hover {
  background: rgba(22, 163, 74, 0.12);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  color: #0A0A0A;
  padding: 12px 24px 12px 18px;
  border-radius: 14px;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.play-badge:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
}

.play-badge:active { transform: translateY(-1px) scale(0.99); }

.play-badge--lg {
  padding: 14px 28px 14px 20px;
  border-radius: 16px;
}

.play-badge__icon { width: 32px; height: 32px; flex-shrink: 0; }
.play-badge--lg .play-badge__icon { width: 36px; height: 36px; }

.play-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.play-badge__text small {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  color: #555;
}

.play-badge__text strong {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.play-badge--lg .play-badge__text strong { font-size: 1.2rem; }

/* ── Android phone mockup ── */
.phone {
  position: relative;
  width: var(--phone-w, 280px);
}

.phone__shadow {
  position: absolute;
  inset: 10% 5% -5%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.5), transparent 70%);
  filter: blur(24px);
  z-index: 0;
}

.phone__shadow--lg { filter: blur(40px); inset: 8% 0 -8%; }

.phone--android .phone__device {
  position: relative;
  z-index: 1;
  background: linear-gradient(160deg, #2a2d33 0%, #14161a 45%, #0a0b0e 100%);
  border-radius: calc(var(--phone-w, 280px) * 0.09);
  padding: calc(var(--phone-w, 280px) * 0.022);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.6) inset,
    0 32px 72px rgba(0, 0, 0, 0.55),
    0 0 48px rgba(22, 163, 74, 0.06);
}

.phone--android .phone__device::before {
  content: "";
  position: absolute;
  right: calc(var(--phone-w, 280px) * -0.006);
  top: 18%;
  width: 3px;
  height: calc(var(--phone-w, 280px) * 0.12);
  background: linear-gradient(180deg, #3a3d44, #1e2024);
  border-radius: 0 2px 2px 0;
  box-shadow: 0 calc(var(--phone-w, 280px) * 0.14) 0 0 #2a2d33;
}

.phone--android .phone__device--lg {
  padding: calc(var(--phone-w, 280px) * 0.02);
}

.phone--android .phone__screen {
  position: relative;
  aspect-ratio: 390 / 844;
  border-radius: calc(var(--phone-w, 280px) * 0.075);
  overflow: hidden;
  background: #000;
  line-height: 0;
}

.phone__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.hero__phone-parallax,
.preview__phone-parallax {
  will-change: transform;
}

.phone--hero { --phone-w: 300px; animation: phoneFloat 6s ease-in-out infinite; }
.phone--preview { --phone-w: 320px; }
.phone--download { --phone-w: 220px; }

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

/* ── Hero ── */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 48px) 0 80px;
  position: relative;
}

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

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 28px;
}

.hero__eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green-glow);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero__title {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 28px;
}

.hero__title-line {
  display: block;
}

.hero__title-line--accent {
  background: linear-gradient(135deg, var(--white) 30%, var(--green-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__glow {
  position: absolute;
  width: 80%;
  height: 70%;
  background: radial-gradient(ellipse, var(--green-glow), transparent 65%);
  filter: blur(60px);
  z-index: 0;
}

.hero__float {
  position: absolute;
  z-index: 2;
  color: var(--green);
  opacity: 0.5;
}

.hero__float--pin {
  top: 8%;
  right: 5%;
  width: 36px;
  animation: floatPin 5s ease-in-out infinite;
}

.hero__float--dot {
  bottom: 18%;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 20px var(--green-glow);
  animation: floatPin 4s ease-in-out infinite 1s;
}

@keyframes floatPin {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--dim);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--green), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.4; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ── Sections ── */
.section { padding: 140px 0; }

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

.section-header--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}

.section-title em {
  font-style: normal;
  color: var(--muted);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 520px;
}

.section-header--left .section-desc { margin: 0; }

/* ── Animations ── */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-animate="scale-in"] {
  transform: translateY(40px) scale(0.96);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }

/* ── Preview ── */
.preview__showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.preview__tabs {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 6px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.preview__tab {
  padding: 11px 22px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: color 0.3s, background 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-spring);
}

.preview__tab:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.preview__tab.is-active {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 4px 20px rgba(22, 163, 74, 0.35);
}

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

.preview__stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
  width: 100%;
}

.preview__screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
  pointer-events: none;
}

.preview__screen.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.preview__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
  pointer-events: none;
}

.preview__ring--1 {
  width: 480px;
  height: 480px;
  animation: ringPulse 4s ease-in-out infinite;
}

.preview__ring--2 {
  width: 620px;
  height: 620px;
  opacity: 0.5;
  animation: ringPulse 4s ease-in-out infinite 0.5s;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.03); opacity: 0.7; }
}

/* ── Features ── */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  backdrop-filter: blur(12px);
  transition: transform 0.4s var(--ease-out), border-color 0.35s, box-shadow 0.35s, background 0.35s;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(22, 163, 74, 0.08);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-subtle);
  border-radius: 16px;
  color: var(--green-light);
  margin-bottom: 24px;
  transition: transform 0.35s var(--ease-spring), background 0.3s;
}

.feature-card:hover .feature-card__icon {
  transform: scale(1.08);
  background: rgba(22, 163, 74, 0.2);
}

.feature-card__icon svg { width: 24px; height: 24px; }

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--dim);
  line-height: 1.65;
}

/* ── Why ── */
.why__layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.why__story p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

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

.why__quote {
  margin-top: 40px;
  padding: 28px 32px;
  border-left: 3px solid var(--green);
  background: var(--green-subtle);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.why__quote p {
  font-size: 1.15rem;
  font-weight: 600;
  font-style: italic;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.5;
}

.why__visual {
  position: relative;
  min-height: 420px;
}

.why__card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s var(--ease-out);
}

.why__card:hover { transform: translateY(-4px) scale(1.02); }

.why__card img { border-radius: 12px; }

.why__card svg { color: var(--green-light); flex-shrink: 0; }

.why__card strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.why__card span {
  font-size: 0.8rem;
  color: var(--dim);
}

.why__card--1 { top: 0; left: 0; animation: cardFloat 6s ease-in-out infinite; }
.why__card--2 { top: 38%; right: 0; animation: cardFloat 7s ease-in-out infinite 1s; }
.why__card--3 { bottom: 0; left: 10%; animation: cardFloat 5.5s ease-in-out infinite 0.5s; }

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ── Download ── */
.download__card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  padding: 64px 72px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.download__glow {
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(22, 163, 74, 0.12), transparent 60%);
  pointer-events: none;
}

.download__content { position: relative; z-index: 1; }

.download__icon {
  border-radius: 18px;
  margin-bottom: 28px;
  box-shadow: 0 8px 32px rgba(22, 163, 74, 0.3);
}

.download__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 16px;
}

.download__desc {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 420px;
  line-height: 1.7;
}

.download__phone {
  position: relative;
  z-index: 1;
  transform: rotate(3deg);
  animation: phoneFloat 7s ease-in-out infinite;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 72px 0 36px;
  margin-top: 40px;
}

.footer__top {
  margin-bottom: 48px;
}

.footer__tagline {
  margin-top: 16px;
  color: var(--dim);
  font-size: 0.95rem;
  max-width: 320px;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  margin-bottom: 56px;
  max-width: 480px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.footer__col a {
  font-size: 0.95rem;
  color: var(--dim);
  transition: color 0.25s;
}

.footer__col a:hover { color: var(--green-light); }

.footer__bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--dim);
}

/* ── Legal pages ── */
.legal {
  padding: calc(var(--header-h) + 64px) 0 100px;
}

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

.legal__hero {
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.legal__hero h1 {
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 12px;
}

.legal__meta {
  font-size: 0.9rem;
  color: var(--dim);
}

.legal__body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin: 48px 0 16px;
}

.legal__body h2:first-child { margin-top: 0; }

.legal__body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin: 28px 0 12px;
}

.legal__body p,
.legal__body li {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.legal__body p { margin-bottom: 16px; }

.legal__body ul,
.legal__body ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal__body ul { list-style: disc; }
.legal__body ol { list-style: decimal; }

.legal__body li { margin-bottom: 6px; }

.legal__body a {
  color: var(--green-light);
  transition: color 0.25s;
}

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

.legal__body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

.legal__body strong { color: var(--white); font-weight: 600; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero__layout { grid-template-columns: 1fr; gap: 56px; }
  .hero__visual { order: -1; }
  .hero__subtitle { max-width: 560px; }
  .phone--hero { --phone-w: 260px; }
  .why__layout { grid-template-columns: 1fr; gap: 56px; }
  .why__visual { min-height: 360px; }
  .download__card { grid-template-columns: 1fr; padding: 48px 40px; text-align: center; }
  .download__desc { margin-inline: auto; }
  .download__phone { display: none; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 100px 0; }
  .header__nav,
  .header__right .btn--ghost { display: none; }
  .menu-btn { display: flex; }
  .hero__scroll { display: none; }
  .hero__title { font-size: clamp(2.25rem, 9vw, 3rem); }
  .features__grid { grid-template-columns: 1fr; }
  .preview__stage { min-height: 460px; }
  .preview__tabs { gap: 4px; padding: 4px; }
  .preview__tab { padding: 10px 16px; font-size: 0.8rem; }
  .phone--preview { --phone-w: 260px; }
  .preview__ring--1 { width: 340px; height: 340px; }
  .preview__ring--2 { width: 420px; height: 420px; }
  .why__card--2 { right: auto; left: 20%; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  :root { --container: calc(100% - 32px); }
  .download__card { padding: 36px 24px; }
  .feature-card { padding: 28px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-animate] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .cursor-glow { display: none; }
}
