/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

:root {
  --black:   #04040C;
  --surface: #0C0C18;
  --card:    #111122;
  --border:  #1E1E36;
  --violet:  #7B5CF0;
  --cyan:    #06EFC5;
  --white:   #F2F0FF;
  --muted:   #6B6A80;
  --radius:  16px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
}

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 99;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 60px;
  background: rgba(4,4,12,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem; font-weight: 800;
  color: var(--white); text-decoration: none;
  letter-spacing: -0.5px;
}
.nav-logo em { color: var(--violet); font-style: normal; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-link {
  color: var(--muted); font-size: 0.85rem; font-weight: 500;
  text-decoration: none; padding: 6px 12px; border-radius: 8px;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--white); }
.nav-cta {
  background: var(--violet); color: #fff;
  border: none; border-radius: 50px;
  padding: 8px 20px; font-size: 0.85rem; font-weight: 700;
  cursor: pointer; transition: opacity 0.2s;
  font-family: 'Inter', sans-serif;
  text-decoration: none; display: inline-block;
}
.nav-cta:hover { opacity: 0.85; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 80px 24px 60px;
  position: relative; overflow: hidden;
}

/* ambient glow */
.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(123,92,240,0.18) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  pointer-events: none;
}

.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(123,92,240,0.12);
  border: 1px solid rgba(123,92,240,0.3);
  border-radius: 50px; padding: 6px 14px;
  font-size: 0.75rem; font-weight: 600; color: #a78bfa;
  margin-bottom: 28px; position: relative;
}
.pill-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.4rem, 8vw, 4.8rem);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 20px;
  max-width: 800px;
  position: relative;
}
.hero h1 .grad {
  background: linear-gradient(135deg, var(--violet) 20%, var(--cyan) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: var(--muted); line-height: 1.7;
  max-width: 480px; margin-bottom: 36px;
  position: relative;
}

/* ── DEMO BOX ── */
.demo-box {
  width: 100%; max-width: 560px;
  background: var(--card);
  border: 1px solid rgba(123,92,240,0.35);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 32px;
  position: relative;
  box-shadow: 0 0 40px rgba(123,92,240,0.12);
}
.demo-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
}
.demo-dots { display: flex; gap: 6px; }
.demo-dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.demo-dots span:nth-child(1) { background: #ff5f57; }
.demo-dots span:nth-child(2) { background: #febc2e; }
.demo-dots span:nth-child(3) { background: #28c840; }
.demo-url {
  flex: 1; background: rgba(255,255,255,0.05);
  border: 1px solid var(--border); border-radius: 6px;
  padding: 5px 12px; font-size: 0.75rem; color: var(--muted);
  text-align: center;
}
.demo-body { padding: 20px 18px; text-align: left; }
.demo-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 10px;
}
.demo-text {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem; color: var(--white); line-height: 1.6;
  min-height: 52px;
  background: transparent; border: none; outline: none;
  resize: none; display: block;
}
.demo-text::placeholder { color: var(--muted); }
.demo-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; margin-top: 14px;
  border-top: 1px solid var(--border);
}
.demo-hint { font-size: 0.75rem; color: var(--muted); }
.demo-btn {
  background: linear-gradient(135deg, var(--violet), #5b3fe8);
  color: #fff; border: none; border-radius: 50px;
  padding: 8px 20px; font-size: 0.82rem; font-weight: 700;
  cursor: pointer; font-family: 'Inter', sans-serif;
  transition: transform 0.15s;
}
.demo-btn:hover { transform: translateY(-1px); }

/* ── CTA BUTTONS ── */
.hero-btns {
  display: flex; gap: 12px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 48px;
}
.btn-main {
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  color: #04040C; border: none; border-radius: 50px;
  padding: 14px 28px; font-size: 0.95rem; font-weight: 700;
  cursor: pointer; font-family: 'Inter', sans-serif;
  box-shadow: 0 4px 24px rgba(123,92,240,0.4);
  transition: transform 0.15s, box-shadow 0.2s;
  text-decoration: none; display: inline-block;
}
.btn-main:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(123,92,240,0.5); }
.btn-ghost {
  background: transparent; color: var(--white);
  border: 1px solid var(--border); border-radius: 50px;
  padding: 14px 28px; font-size: 0.95rem; font-weight: 600;
  cursor: pointer; font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
  text-decoration: none; display: inline-block;
}
.btn-ghost:hover { border-color: var(--violet); color: var(--violet); }

/* ── TRUST ── */
.trust {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap; justify-content: center;
  position: relative;
}
.trust-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.8rem; color: var(--muted); font-weight: 500;
}
.trust-icon { font-size: 1rem; }
.trust-sep { color: var(--border); }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 24px;
  display: flex; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.stat-item {
  text-align: center;
  padding: 8px 40px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem; font-weight: 800;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 0.75rem; color: var(--muted); margin-top: 2px; }

/* ── HOW IT WORKS ── */
.how {
  padding: 80px 24px;
  max-width: 1000px; margin: 0 auto;
}
.section-eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--cyan);
  margin-bottom: 12px;
}
.section-h {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800; letter-spacing: -0.5px;
  margin-bottom: 10px; line-height: 1.2;
}
.section-sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 48px; line-height: 1.7; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.step:hover { border-color: var(--violet); transform: translateY(-3px); }
.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem; font-weight: 800;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px; line-height: 1;
}
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }

/* ── FEATURES ── */
.features {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 24px;
}
.features-inner { max-width: 1000px; margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 48px;
}
.feature {
  background: var(--surface);
  padding: 28px 24px;
  transition: background 0.2s;
}
.feature:hover { background: rgba(123,92,240,0.06); }
.feat-icon { font-size: 1.5rem; margin-bottom: 14px; display: block; }
.feat-h { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.feat-p { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }

/* ── TEMPLATES PREVIEW ── */
.tpl-section {
  padding: 80px 24px;
  max-width: 1000px; margin: 0 auto;
}
.tpl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px; margin-top: 36px;
}
.tpl-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s;
}
.tpl-card:hover { border-color: var(--violet); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.tpl-img {
  width: 100%; height: 160px; object-fit: cover;
}
.tpl-img img { width: 100%; height: 100%; object-fit: cover; }
.tpl-body { padding: 16px; }
.tpl-cat { font-size: 0.68rem; font-weight: 700; color: var(--cyan); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 5px; }
.tpl-name { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.tpl-desc { font-size: 0.8rem; color: var(--muted); line-height: 1.5; margin-bottom: 14px; }
.tpl-footer { display: flex; align-items: center; justify-content: space-between; }
.tpl-free { background: rgba(6,239,197,0.12); color: var(--cyan); border-radius: 50px; padding: 3px 10px; font-size: 0.7rem; font-weight: 700; }
.tpl-btn {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--white); border-radius: 50px;
  padding: 6px 14px; font-size: 0.78rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}
.tpl-btn:hover { border-color: var(--violet); color: var(--violet); }

/* ── CTA SECTION ── */
.cta-section {
  padding: 80px 24px;
}
.cta-inner {
  max-width: 700px; margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(123,92,240,0.12), transparent);
  pointer-events: none;
}
.cta-inner h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 800; letter-spacing: -1px;
  margin-bottom: 14px; position: relative;
  line-height: 1.15;
}
.cta-inner h2 .grad {
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-inner p { color: var(--muted); font-size: 0.95rem; margin-bottom: 32px; position: relative; }
.email-row {
  display: flex; gap: 10px; max-width: 420px; margin: 0 auto;
  position: relative;
}
.email-row input {
  flex: 1; min-width: 0;
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 13px 18px;
  color: var(--white);
  font-family: 'Inter', sans-serif; font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.email-row input:focus { border-color: var(--violet); }
.email-row input::placeholder { color: var(--muted); }
.email-row button {
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  color: #04040C; border: none; border-radius: 50px;
  padding: 13px 22px; font-weight: 700; font-size: 0.88rem;
  cursor: pointer; white-space: nowrap;
  font-family: 'Inter', sans-serif;
  transition: transform 0.15s;
}
.email-row button:hover { transform: translateY(-1px); }
.cta-note { font-size: 0.75rem; color: var(--muted); margin-top: 12px; position: relative; }
.success-bar {
  display: none;
  background: rgba(6,239,197,0.1);
  border: 1px solid rgba(6,239,197,0.3);
  border-radius: 12px; padding: 12px 18px;
  color: var(--cyan); font-size: 0.88rem; font-weight: 600;
  margin-top: 14px; position: relative;
}

/* ── FOOTER ── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem; font-weight: 800;
  color: var(--white); text-decoration: none;
}
.footer-logo em { color: var(--violet); font-style: normal; }
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  color: var(--muted); font-size: 0.82rem;
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
footer p { color: var(--muted); font-size: 0.78rem; }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .nav-link { display: none; }
  .stat-item { padding: 8px 20px; border-right: none; border-bottom: 1px solid var(--border); width: 50%; }
  .stat-item:last-child, .stat-item:nth-last-child(2) { border-bottom: none; }
  .stats-bar { flex-wrap: wrap; }
  .email-row { flex-direction: column; }
  .email-row input, .email-row button { width: 100%; }
  .cta-inner { padding: 40px 24px; }
  footer { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { justify-content: center; }
}
