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

:root {
  --purple:  #7060E0;
  --violet:  #A385F5;
  --cyan:    #61C7F8;
  --bg:      #160840;
  --bg-card: rgba(255,255,255,0.05);
  --bg-card-border: rgba(255,255,255,0.09);
  --text:    #F0EEFF;
  --muted:   rgba(240,238,255,0.55);
  --radius:  18px;
  --max:     1060px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

img { display: block; }

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

/* ─── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--violet));
  color: #fff;
  box-shadow: 0 8px 30px rgba(112,96,224,0.4);
}

.btn-primary svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  flex-shrink: 0;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.875rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text);
  border-radius: 50px;
}

.btn-sm:hover { background: rgba(255,255,255,0.16); }

/* ─── Nav ──────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  background: rgba(22,8,64,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.nav-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

/* ─── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 90px;
  text-align: center;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.35;
}
.glow-1 {
  width: 600px; height: 600px;
  background: var(--purple);
  top: -180px; left: 50%;
  transform: translateX(-60%);
}
.glow-2 {
  width: 400px; height: 400px;
  background: var(--cyan);
  bottom: -120px; right: -60px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero-icon {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  margin-bottom: 32px;
  box-shadow: 0 24px 64px rgba(112,96,224,0.5);
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff 20%, var(--violet) 70%, var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions { margin-bottom: 18px; }

.hero-note {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

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

.section-alt {
  background: rgba(255,255,255,0.025);
  border-top: 1px solid var(--bg-card-border);
  border-bottom: 1px solid var(--bg-card-border);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 56px;
}

/* ─── Steps ────────────────────────────────────────────────────── */
.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 640px;
  margin: 0 auto;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius);
  padding: 28px 28px;
}

.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  box-shadow: 0 4px 16px rgba(112,96,224,0.35);
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.step p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── Features Grid ────────────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(163,133,245,0.35);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── Platform Grid ────────────────────────────────────────────── */
.platform-grid {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 700px;
  margin: 0 auto;
}

.platform-grid li {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 50px;
  padding: 10px 22px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}

.platform-grid li:hover {
  border-color: var(--violet);
  background: rgba(163,133,245,0.1);
}

/* ─── CTA ──────────────────────────────────────────────────────── */
.cta-section {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(112,96,224,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.cta-icon {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  margin-bottom: 28px;
  box-shadow: 0 16px 48px rgba(112,96,224,0.45);
}

.cta-section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.cta-section p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 36px;
  max-width: 440px;
}

/* ─── Footer ───────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--bg-card-border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
}

.footer-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}

.footer-links, .footer-copy {
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-links a, .footer-copy a {
  color: var(--violet);
  text-decoration: none;
}

.footer-links a:hover, .footer-copy a:hover {
  text-decoration: underline;
}

/* ─── Responsive ───────────────────────────────────────────────── */
@media (max-width: 600px) {
  .hero { padding: 70px 0 60px; }
  .section { padding: 64px 0; }
  .hero-icon { width: 96px; height: 96px; border-radius: 22px; }
  .step { padding: 20px; }
  .feature-card { padding: 24px 20px; }
  .btn { padding: 13px 22px; font-size: 0.95rem; }
}
