:root {
  --pink: #e84393;
  --purple: #8b5cf6;
  --deep: #1a0533;
  --surface: rgba(255, 255, 255, 0.06);
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --text: #f8f4ff;
  --text-muted: rgba(248, 244, 255, 0.55);
  --max-w: 1100px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--deep);
  overflow-x: hidden;
}

/* ── Animated background ── */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-glow .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  animation: drift 18s ease-in-out infinite alternate;
}

.bg-glow .orb-1 {
  width: 600px; height: 600px;
  background: var(--pink);
  top: -10%; left: -10%;
  animation-delay: 0s;
}

.bg-glow .orb-2 {
  width: 500px; height: 500px;
  background: var(--purple);
  bottom: -8%; right: -8%;
  animation-delay: -6s;
}

.bg-glow .orb-3 {
  width: 350px; height: 350px;
  background: #6366f1;
  top: 40%; left: 50%;
  opacity: 0.2;
  animation-delay: -12s;
}

@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
  100% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ── Layout ── */
.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.wrap {
  width: min(var(--max-w), calc(100% - 40px));
  margin: 0 auto;
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 0 20px;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
}

.site-header.scrolled {
  background: rgba(26, 5, 51, 0.72);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.site-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  width: 36px; height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.brand-title {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.nav-links a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

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

.header-cta {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(232, 67, 147, 0.25);
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(232, 67, 147, 0.35);
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
}

.hero-inner {
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 32px;
  backdrop-filter: blur(12px);
}

.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #34d399;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.hero h1 {
  font-family: "Sora", sans-serif;
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--pink), var(--purple), #60a5fa);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 40px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 16px 48px rgba(232, 67, 147, 0.3);
}

.btn-download:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 56px rgba(232, 67, 147, 0.4);
}

.btn-download svg {
  width: 20px; height: 20px;
  fill: currentColor;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

/* ── Scroll indicator ── */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
}

.scroll-hint .line {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Sections ── */
.section {
  padding: 100px 20px;
  position: relative;
}

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pink);
  margin-bottom: 16px;
}

.section h2 {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 600px;
}

.section > .wrap > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 48px;
}

/* ── Feature cards ── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  padding: 32px 28px;
  border-radius: 24px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  transition: transform 0.35s ease, border-color 0.35s;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
  width: 44px; height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.feature-icon.pink { background: rgba(232, 67, 147, 0.15); }
.feature-icon.purple { background: rgba(139, 92, 246, 0.15); }
.feature-icon.blue { background: rgba(96, 165, 250, 0.15); }

.feature h3 {
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

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

/* ── How it works ── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}

.step {
  counter-increment: step;
  position: relative;
  padding-top: 48px;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  font-family: "Sora", sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.5;
}

.step h3 {
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

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

/* ── Divider ── */
.divider {
  width: min(var(--max-w), calc(100% - 40px));
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--glass-border), transparent);
}

/* ── CTA banner ── */
.cta-section {
  padding: 100px 20px;
  text-align: center;
}

.cta-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 40px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(232, 67, 147, 0.12), rgba(139, 92, 246, 0.12));
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
}

.cta-card h2 {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  max-width: none;
}

.cta-card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 32px;
}

/* ── Footer ── */
.site-footer {
  padding: 48px 20px 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-left img {
  width: 28px; height: 28px;
  border-radius: 8px;
}

.footer-left span {
  font-weight: 600;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.footer-links a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

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

/* ── Fade-in on scroll ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }

  .hero { padding: 100px 20px 60px; min-height: 90vh; }
  .hero h1 { font-size: 2.4rem; }

  .features,
  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-cta-group { flex-direction: column; width: 100%; }
  .btn-download, .btn-ghost { width: 100%; justify-content: center; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 16px; }

  .cta-card { padding: 40px 24px; }

  .scroll-hint { display: none; }
}

/* ── Subpage shared styles ── */
.page-hero-sub {
  padding: 140px 20px 60px;
}

.page-hero-sub h1 {
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.page-hero-sub p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 580px;
}

.content-section {
  padding: 40px 20px 80px;
}

.content-card {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px;
  border-radius: 28px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
}

.content-card h2 {
  font-family: "Sora", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  max-width: none;
}

.content-card p,
.content-card li {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.content-card ul {
  padding-left: 20px;
  margin-top: 12px;
}

.content-card ul li {
  margin-bottom: 8px;
}

.content-card + .content-card {
  margin-top: 20px;
}

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