:root {
  --color-bg: #0c0d10;
  --color-bg-elevated: #12141a;
  --color-primary: #4c6b4c;
  --color-primary-bright: #6b8f6b;
  --color-primary-glow: rgba(76, 107, 76, 0.35);
  --color-text: rgba(255, 255, 255, 0.92);
  --color-text-muted: rgba(255, 255, 255, 0.55);
  --color-text-faint: rgba(255, 255, 255, 0.35);
  --color-glass: rgba(255, 255, 255, 0.04);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(255, 255, 255, 0.14);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  --max-width: 1100px;
  --nav-height: 64px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

img {
  display: block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.nav--scrolled {
  background: rgba(12, 13, 16, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--color-border);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  gap: 28px;
  margin-right: auto;
}

.nav__links a {
  font-size: 14px;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

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

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.lang-switch__btn {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-faint);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.lang-switch__btn:hover {
  color: var(--color-text-muted);
}

.lang-switch__btn--active {
  color: var(--color-text);
  background: var(--color-glass);
}

.lang-switch__sep {
  font-size: 12px;
  color: var(--color-text-faint);
  user-select: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 500;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-primary-bright);
  box-shadow: 0 0 24px var(--color-primary-glow);
  transform: translateY(-1px);
}

.btn--sm {
  font-size: 13px;
  padding: 8px 18px;
}

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

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: calc(var(--nav-height) + 48px) 24px 80px;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero__glow--left {
  width: 400px;
  height: 400px;
  background: rgba(76, 107, 76, 0.18);
  top: 10%;
  left: -10%;
}

.hero__glow--right {
  width: 300px;
  height: 300px;
  background: rgba(76, 107, 76, 0.08);
  bottom: 20%;
  right: 0;
}

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

.hero__title {
  margin-bottom: 20px;
}

.hero__title-line {
  display: block;
  font-size: clamp(52px, 7vw, 80px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero__subtitle {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 420px;
  margin-bottom: 24px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.badge {
  font-size: 12px;
  color: var(--color-text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: var(--color-glass);
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.hero__trial {
  font-size: 14px;
  color: var(--color-text-faint);
}

/* Mockup */
.hero__mockup {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.mockup__hint {
  font-size: 13px;
  color: var(--color-text-faint);
  font-style: italic;
}

.mockup {
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-strong);
  background: var(--color-bg-elevated);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.5),
    0 0 60px var(--color-primary-glow);
}

.mockup__toolbar {
  display: flex;
  gap: 7px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--color-border);
}

.mockup__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.mockup__screen {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(160deg, #1a1c22 0%, #0a0b0e 100%);
}

.mockup__video {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(76, 107, 76, 0.15) 0%, transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
}

.mockup__subs {
  position: absolute;
  bottom: 16%;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  text-align: center;
}

.mockup__sub {
  display: inline-block;
  font-size: clamp(11px, 2vw, 14px);
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.72);
  padding: 6px 14px;
  border-radius: 6px;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(8px);
  animation: subIn 0.6s ease forwards;
}

.mockup__sub--1 { animation-delay: 0.4s; }
.mockup__sub--2 { animation-delay: 1.2s; }
.mockup__sub--3 { animation-delay: 2.0s; }

@keyframes subIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Flow */
.flow {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px 80px;
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.flow__lead {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 36px;
}

.flow__steps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 4px;
}

.flow__steps li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--color-text-muted);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: var(--color-glass);
}

.flow__icon {
  color: var(--color-primary-bright);
  font-size: 12px;
}

/* Features */
.features {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

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

.feature--reverse .feature__text {
  order: 2;
}

.feature--reverse .feature__visual {
  order: 1;
}

.feature__text h2,
.feature__text h3 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.feature__text p {
  font-size: 16px;
  color: var(--color-text-muted);
  max-width: 400px;
}

.glass {
  background: var(--color-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.feature__visual {
  padding: 48px 32px;
  text-align: center;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.feature__icon {
  font-size: 48px;
  color: var(--color-primary-bright);
  line-height: 1;
}

.feature__caption {
  font-size: 13px;
  color: var(--color-text-faint);
}

/* Trust */
.trust {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px;
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.trust__text {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 28px;
}

.trust__pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.trust__pills li {
  font-size: 13px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  background: var(--color-glass);
}

/* FAQ */
.faq {
  max-width: 680px;
  margin: 0 auto;
  padding: 80px 24px;
}

.faq__title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.faq__item dt {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.faq__item dd {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* CTA final */
.cta-final {
  text-align: center;
  padding: 80px 24px 100px;
  border-top: 1px solid var(--color-border);
}

.cta-final h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.cta-final__note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--color-text-faint);
}

/* Footer */
.footer {
  text-align: center;
  padding: 24px;
  border-top: 1px solid var(--color-border);
}

.footer p {
  font-size: 13px;
  color: var(--color-text-faint);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: calc(var(--nav-height) + 32px);
  }

  .hero__subtitle,
  .hero__text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__badges,
  .hero__actions {
    justify-content: center;
  }

  .hero__mockup {
    order: -1;
  }

  .feature,
  .feature--reverse {
    grid-template-columns: 1fr;
  }

  .feature--reverse .feature__text,
  .feature--reverse .feature__visual {
    order: unset;
  }

  .feature__text p {
    max-width: none;
  }

  .nav__links {
    display: none;
  }

  .lang-switch {
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .mockup__sub {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn--primary:hover {
    transform: none;
  }
}
