/* ── Reset & tokens ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #000000;
  --bg-card:    #0a0a0a;
  --bg-raised:  #111111;
  --accent:     #2563EB;
  --accent-dim: #1a3a5c;
  --text-1:     #ffffff;
  --text-2:     #cccccc;
  --text-3:     #888888;
  --border:     rgba(74, 144, 226, 0.2);
  --radius:     12px;
  --max-w:      1100px;
  --font:       -apple-system, 'Helvetica Neue', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { opacity: 0.8; }
img { max-width: 100%; display: block; }

/* ── Layout util ────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
  padding: 18px 44px;
  border-radius: var(--radius);
  transition: opacity 0.15s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: #fff;
}

/* ── Nav ────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 16px 32px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  flex: 1;
}
.nav-links a {
  font-size: 0.875rem;
  color: var(--text-2);
  letter-spacing: 0.02em;
}
.nav-links a:hover { color: var(--text-1); }
.nav-lang {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 8px;
}
.nav-lang:hover { color: var(--text-1); border-color: var(--accent); }

/* ── Mobile nav toggle ──────────────────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 53px;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  z-index: 99;
  padding: 8px 0 16px;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-link {
  padding: 16px 24px;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-1);
  border-bottom: 1px solid var(--border);
}
.nav-mobile-link:last-child { border-bottom: none; }
.nav-mobile-link:hover { color: var(--accent); opacity: 1; }

@media (max-width: 640px) {
  .nav { padding: 14px 20px; gap: 16px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding: 120px 8vw;
}
.hero-inner {
  flex: 1;
  max-width: 640px;
}
.hero-headline {
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text-1);
}
.hero-headline em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  color: var(--text-2);
  margin-bottom: 40px;
  line-height: 1.65;
}
.hero-social {
  margin-top: 24px;
  font-size: 0.875rem;
  color: var(--text-3);
  letter-spacing: 0.04em;
}
.hero-visual {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-wheel-img {
  width: clamp(320px, 35vw, 520px);
  height: clamp(320px, 35vw, 520px);
  object-fit: cover;
  border-radius: 50%;
  filter: drop-shadow(0 0 80px rgba(37, 99, 235, 0.35));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column-reverse;
    min-height: auto;
    padding: 72px 24px 56px;
    gap: 48px;
    text-align: center;
  }
  .hero-wheel-img { width: 260px; height: 260px; }
}

/* ── Features ───────────────────────────────────────────────────────── */
.features {
  display: flex;
  flex-direction: column;
}
.feature {
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.feature--reverse { flex-direction: row-reverse; }
.feature-text {
  flex: 1;
  padding: 80px 8vw;
}
.feature-text h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  line-height: 1.15;
}
.feature-text p {
  font-size: clamp(1.0625rem, 1.25vw, 1.25rem);
  color: var(--text-2);
  line-height: 1.7;
  max-width: 480px;
}
.feature-visual {
  flex: 1;
  align-self: stretch;
  overflow: hidden;
  background: var(--bg-card);
}
.feature-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}
.feature-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .feature, .feature--reverse {
    flex-direction: column;
    min-height: auto;
  }
  .feature-text { padding: 56px 24px 40px; }
  .feature-text p { max-width: none; }
  .feature-visual { width: 100%; min-height: 300px; align-self: auto; }
  .feature-img { height: 300px; }
}

/* ── How it works ───────────────────────────────────────────────────── */
.how {
  min-height: 100vh;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 120px 8vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.how-heading {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 80px;
}
.how-steps {
  display: flex;
  gap: 48px;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
}
.step {
  flex: 1;
  max-width: 340px;
  text-align: left;
}
.step-number {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}
.step-title {
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  font-weight: 600;
  margin-bottom: 12px;
}
.step-body {
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  color: var(--text-2);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .how { padding: 72px 24px; min-height: auto; }
  .how-heading { margin-bottom: 56px; }
  .how-steps { flex-direction: column; align-items: flex-start; gap: 48px; }
  .step { max-width: 100%; }
}

/* ── FAQ ────────────────────────────────────────────────────────────── */
.faq {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 8vw;
}
.faq-inner {
  width: 100%;
  max-width: 800px;
}
.faq-heading {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 56px;
  text-align: center;
}
.faq-list { display: flex; flex-direction: column; gap: 4px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s;
}
.faq-item[open] { border-color: var(--accent); }
.faq-q {
  padding: 22px 24px;
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  -webkit-tap-highlight-color: transparent;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s;
  line-height: 1;
}
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-a {
  padding: 0 24px 22px;
  font-size: clamp(0.9375rem, 1vw, 1.0625rem);
  color: var(--text-2);
  line-height: 1.7;
}

@media (max-width: 640px) {
  .faq { padding: 72px 24px; min-height: auto; }
  .faq-heading { margin-bottom: 40px; }
}

/* ── Final CTA ──────────────────────────────────────────────────────── */
.cta-final {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 8vw;
  border-top: 1px solid var(--border);
}
.cta-final h2 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.cta-final p {
  font-size: clamp(1.0625rem, 1.5vw, 1.375rem);
  color: var(--text-2);
  margin-bottom: 40px;
  max-width: 560px;
}

@media (max-width: 640px) {
  .cta-final { padding: 72px 24px; min-height: auto; }
  .cta-final h2 { font-size: 1.75rem; }
  .cta-final .btn-primary { white-space: nowrap; font-size: 1rem; padding: 16px 28px; }
}

/* ── Footer ─────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-3);
}
.footer-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-3);
}
.footer-lang a { color: var(--text-3); }
.footer-lang a.active { color: var(--accent); font-weight: 600; }
.footer-lang a:hover { color: var(--text-1); }
