:root {
  --bg: #050505;
  --bg-elev: #0f0c0a;
  --bg-card: #16110d;
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --text-dim: #a8a29e;
  --text-mute: #6b6660;
  --accent: #ff9500;
  --accent-2: #ff5a1f;
  --accent-glow: rgba(255, 140, 26, 0.45);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1120px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(ellipse at top, #1a0f08 0%, var(--bg) 55%) no-repeat fixed;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

/* ===== Header ===== */
.site-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 32px;
  max-width: var(--maxw);
  margin: 0 auto;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(5, 5, 5, 0.6);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(255, 140, 26, 0.25);
}

.brand-name {
  font-size: 18px;
}

.site-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
  color: var(--text-dim);
}

.site-nav a {
  transition: color 0.2s var(--ease);
}

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

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.02);
}

.lang-btn {
  background: transparent;
  border: 0;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 999px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.lang-btn[aria-pressed="true"] {
  color: var(--text);
  background: rgba(255, 149, 0, 0.18);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  text-align: center;
  padding: 96px 24px 88px;
  max-width: 820px;
  margin: 0 auto;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -20% 10% auto 10%;
  height: 380px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

.hero-icon {
  width: 110px;
  height: 110px;
  border-radius: 24px;
  box-shadow: 0 18px 60px rgba(255, 140, 26, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06);
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(48px, 8vw, 84px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  padding-bottom: 0.08em;
  background: linear-gradient(180deg, #ffffff 0%, #c2b7a7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-tagline {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  margin-top: 18px;
  color: var(--text);
}

.hero-sub {
  margin-top: 14px;
  font-size: 17px;
  color: var(--text-dim);
  max-width: 580px;
  margin-inline: auto;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 10px 40px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 50px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  text-align: left;
}

.btn-primary-text small {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.btn-primary-text strong {
  font-size: 18px;
  font-weight: 700;
}

.hero-platform {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-mute);
}

/* ===== Sections ===== */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px 32px;
}

.section-alt {
  background: linear-gradient(180deg, transparent 0%, rgba(255, 140, 26, 0.025) 50%, transparent 100%);
  max-width: none;
  padding-inline: 0;
}

.section-alt > * {
  max-width: var(--maxw);
  margin-inline: auto;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
}

.section-lead {
  text-align: center;
  color: var(--text-dim);
  font-size: 17px;
  margin-top: 12px;
  margin-bottom: 56px;
}

/* ===== How it works ===== */
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.step {
  position: relative;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.step:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.step-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 18px;
}

.step h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.step p {
  margin-top: 10px;
  color: var(--text-dim);
  font-size: 15px;
}

/* ===== Features grid ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  padding-inline: 32px;
}

.feature {
  padding: 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.feature:hover {
  border-color: var(--border-strong);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 149, 0, 0.18), rgba(255, 90, 31, 0.08));
  color: var(--accent);
  margin-bottom: 18px;
}

.feature h3 {
  font-size: 18px;
  font-weight: 700;
}

.feature p {
  margin-top: 8px;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
}

/* ===== Privacy banner ===== */
.privacy-banner-inner {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 36px;
  background: linear-gradient(135deg, rgba(255, 149, 0, 0.08) 0%, rgba(255, 90, 31, 0.04) 100%);
  border: 1px solid rgba(255, 149, 0, 0.18);
  border-radius: var(--radius);
}

.privacy-banner-icon {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 149, 0, 0.15);
  color: var(--accent);
}

.privacy-banner-inner h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.privacy-banner-inner p {
  margin-top: 8px;
  color: var(--text-dim);
  font-size: 15px;
}

.link-arrow {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
  transition: color 0.2s var(--ease);
}

.link-arrow:hover {
  color: #ffb04d;
}

/* ===== Contact ===== */
.contact {
  text-align: center;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
  margin-top: 8px;
}

.btn-secondary:hover {
  background: rgba(255, 149, 0, 0.1);
  border-color: rgba(255, 149, 0, 0.4);
  transform: translateY(-1px);
}

.btn-secondary svg {
  color: var(--accent);
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 40px 32px 28px;
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

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

.footer-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}

.footer-name {
  font-weight: 700;
}

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

.footer-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
  color: var(--text-dim);
}

.footer-nav a {
  transition: color 0.2s var(--ease);
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-copy {
  max-width: var(--maxw);
  margin: 28px auto 0;
  text-align: center;
  font-size: 12px;
  color: var(--text-mute);
}

/* ===== Legal page ===== */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 32px 80px;
}

.back-link {
  display: inline-block;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 32px;
  transition: color 0.2s var(--ease);
}

.back-link:hover {
  color: #ffb04d;
}

.legal h1 {
  font-size: clamp(32px, 5vw, 44px);
  letter-spacing: -0.02em;
  font-weight: 800;
}

.legal-meta {
  margin-top: 8px;
  margin-bottom: 40px;
  color: var(--text-mute);
  font-size: 14px;
}

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

.legal h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--accent);
}

.legal p,
.legal li {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
}

.legal ul {
  margin: 0;
  padding-left: 22px;
}

.legal ul li {
  margin-bottom: 6px;
}

.legal .btn-secondary {
  margin-top: 14px;
}

/* ===== Responsive ===== */
@media (max-width: 720px) {
  .site-header {
    flex-wrap: wrap;
    gap: 14px;
    padding: 14px 20px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    margin: 0;
    justify-content: space-between;
    flex-wrap: wrap;
  }

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

  .hero {
    padding: 64px 20px 64px;
  }

  .section {
    padding: 60px 20px;
  }

  .features {
    padding-inline: 20px;
  }

  .privacy-banner-inner {
    flex-direction: column;
    padding: 28px;
  }

  .footer-inner {
    justify-content: center;
    text-align: center;
  }

  .footer-nav {
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}
