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

:root {
  --bg: #060a13;
  --bg-alt: #0c1220;
  --surface: #111827;
  --border: #1e293b;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --accent: #3b82f6;
  --accent-glow: rgba(59, 130, 246, 0.15);
  --accent-bright: #60a5fa;
  --ice: #e0f2fe;
  --red: #ef4444;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 1140px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ── Nav ──────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(6, 10, 19, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em;
}
.accent { color: var(--accent); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--accent) !important; color: #fff !important;
  padding: 8px 20px; border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--accent-bright) !important; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.nav-toggle span {
  width: 22px; height: 2px; background: var(--text);
  border-radius: 2px; transition: 0.2s;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh; display: flex;
  align-items: center; justify-content: center; text-align: center;
  padding: 120px 24px 80px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, var(--accent-glow), transparent),
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(59, 130, 246, 0.06), transparent);
}
.hero-content { position: relative; max-width: 720px; }
.hero-pre {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem); font-weight: 800;
  line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.2rem; color: var(--text-muted); max-width: 520px;
  margin: 0 auto 40px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-note {
  margin-top: 48px; font-size: 0.8rem; color: var(--text-muted);
  font-style: italic; opacity: 0.7;
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; border-radius: 10px; font-weight: 600;
  font-size: 0.95rem; transition: all 0.25s; cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.3);
}
.btn-primary:hover {
  background: var(--accent-bright);
  box-shadow: 0 4px 32px rgba(59, 130, 246, 0.45);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent; color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--text-muted); }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }

/* ── Rink Glow ────────────────────────────────────────────────── */
.hero-visual {
  position: absolute; bottom: -120px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 400px; pointer-events: none;
}
.rink-glow {
  width: 100%; height: 100%; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  filter: blur(40px);
}

/* ── Sections ─────────────────────────────────────────────────── */
.section { padding: 120px 0; }
.section-dark { background: var(--bg-alt); }
.section-pre {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
  text-align: center;
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800;
  letter-spacing: -0.02em; text-align: center; margin-bottom: 20px;
  line-height: 1.15;
}
.section-desc {
  text-align: center; color: var(--text-muted); max-width: 560px;
  margin: 0 auto 64px; font-size: 1.05rem;
}

/* ── Steps ─────────────────────────────────────────────────────── */
.steps {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 0; margin-top: 64px;
}
.step {
  text-align: center; max-width: 280px; padding: 0 20px; position: relative;
}
.step-num {
  font-size: 0.7rem; font-weight: 700; color: var(--accent);
  letter-spacing: 0.1em; margin-bottom: 20px;
}
.step-icon {
  width: 64px; height: 64px; margin: 0 auto 24px;
  color: var(--accent-bright); opacity: 0.8;
}
.step-icon svg { width: 100%; height: 100%; }
.step h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.step p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
.step-connector {
  flex: 0 0 60px; height: 2px; margin-top: 52px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.3;
}

/* ── Cards ─────────────────────────────────────────────────────── */
.cards {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; margin-top: 64px;
}
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 40px 32px;
  transition: border-color 0.3s, transform 0.3s;
}
.card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-2px);
}
.card-icon {
  width: 48px; height: 48px; margin-bottom: 24px;
  color: var(--accent-bright); opacity: 0.8;
}
.card-icon svg { width: 100%; height: 100%; }
.card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }

/* ── Features Grid ────────────────────────────────────────────── */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; margin-top: 64px;
}
.feature {
  padding: 32px 24px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color 0.3s;
}
.feature:hover { border-color: rgba(59, 130, 246, 0.3); }
.feature-bar {
  width: 32px; height: 3px; background: var(--accent);
  border-radius: 2px; margin-bottom: 20px;
}
.feature h4 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.feature p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; }

/* ── CTA Block ────────────────────────────────────────────────── */
.cta-block {
  text-align: center; max-width: 620px; margin: 0 auto;
}
.cta-block h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: 24px; line-height: 1.2;
}
.cta-desc {
  color: var(--text-muted); font-size: 1.05rem; margin-bottom: 16px;
  line-height: 1.7;
}
.cta-block .btn { margin-top: 24px; }
.cta-note {
  margin-top: 20px; font-size: 0.8rem; color: var(--text-muted); opacity: 0.6;
}

/* ── Footer ───────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border); padding: 48px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.footer-brand p { color: var(--text-muted); font-size: 0.8rem; margin-top: 8px; }
.footer-links a {
  font-size: 0.85rem; color: var(--text-muted); transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-legal { text-align: right; }
.footer-legal p { font-size: 0.75rem; color: var(--text-muted); opacity: 0.6; }

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

/* ── Mobile ───────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 64px; left: 0; right: 0; background: var(--bg);
    border-bottom: 1px solid var(--border); padding: 24px;
    gap: 20px;
  }
  .nav-toggle { display: flex; }
  .steps { flex-direction: column; align-items: center; gap: 40px; }
  .step-connector { width: 2px; height: 40px; flex: 0 0 40px;
    background: linear-gradient(180deg, var(--accent), transparent);
    margin-top: 0;
  }
  .cards { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-legal { text-align: center; }
  .hero { min-height: auto; padding: 140px 24px 80px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.4rem; }
  .section { padding: 80px 0; }
  .card { padding: 28px 20px; }
}
