@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

:root {
  --a: #5b5ef4;
  --a2: #4a4de3;
  --a3: #7c7ff7;
  --a-glow: rgba(91,94,244,.18);
  --a-bg: #f0f0fe;
  --ok: #16a34a;
  --bg: #08080c;
  --bg2: #0d0d14;
  --bg3: #12121c;
  --surface: rgba(255,255,255,.04);
  --surface2: rgba(255,255,255,.07);
  --b: rgba(255,255,255,.08);
  --b2: rgba(255,255,255,.14);
  --t: #f0f0f8;
  --t2: #9898b8;
  --t3: #5a5a7a;
  --r: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--t);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: default;
}

/* ── Noise overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: .4;
}

/* ── Grid bg ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(91,94,244,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,94,244,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ── Orbs ── */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: orb-drift 20s ease-in-out infinite alternate;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(91,94,244,.12) 0%, transparent 70%);
  top: -200px; left: -100px;
  animation-delay: 0s;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,127,247,.10) 0%, transparent 70%);
  bottom: -100px; right: -100px;
  animation-delay: -8s;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(22,163,74,.08) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -4s;
}
@keyframes orb-drift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.08); }
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8,8,12,.7);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border-bottom: 1px solid var(--b);
}

.nav-brand {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--t);
  letter-spacing: -.3px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-brand-dot {
  width: 8px; height: 8px;
  background: var(--a);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--a);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 6px var(--a); }
  50%       { box-shadow: 0 0 16px var(--a), 0 0 30px rgba(91,94,244,.3); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--t2);
  text-decoration: none;
  padding: 7px 13px;
  border-radius: 8px;
  transition: all .15s;
}
.nav-link:hover { color: var(--t); background: var(--surface2); }

.nav-cta {
  font-size: 13px;
  font-weight: 700;
  font-family: 'Syne', sans-serif;
  color: #fff;
  background: var(--a);
  border: none;
  padding: 9px 18px;
  border-radius: 9px;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all .15s;
  box-shadow: 0 0 0 1px rgba(91,94,244,.3), 0 4px 12px rgba(91,94,244,.25);
}
.nav-cta:hover {
  background: var(--a2);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(91,94,244,.4), 0 8px 20px rgba(91,94,244,.35);
}

/* ── SECTIONS ── */
section { position: relative; z-index: 1; }

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(91,94,244,.1);
  border: 1px solid rgba(91,94,244,.2);
  color: var(--a3);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 32px;
  letter-spacing: .4px;
  text-transform: uppercase;
  opacity: 0;
  animation: fade-up .6s ease .1s forwards;
}
.hero-badge-dot {
  width: 5px; height: 5px;
  background: var(--a);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -3px;
  color: var(--t);
  max-width: 900px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fade-up .7s ease .2s forwards;
}

.hero-title .accent {
  background: linear-gradient(135deg, var(--a3), var(--a), #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .accent-2 {
  color: var(--ok);
  -webkit-text-fill-color: initial;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 300;
  color: var(--t2);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 44px;
  opacity: 0;
  animation: fade-up .7s ease .3s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 60px;
  opacity: 0;
  animation: fade-up .7s ease .4s forwards;
}

.btn-hero-chrome {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--a);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
  box-shadow: 0 0 0 1px rgba(91,94,244,.4), 0 8px 28px rgba(91,94,244,.3);
  position: relative;
  overflow: hidden;
}
.btn-hero-chrome::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.12) 0%, transparent 60%);
}
.btn-hero-chrome:hover {
  background: var(--a2);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(91,94,244,.5), 0 16px 40px rgba(91,94,244,.4);
}

.btn-hero-firefox {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,.06);
  color: var(--t);
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 12px;
  border: 1px solid var(--b2);
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
}
.btn-hero-firefox:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.2);
}

.hero-browsers {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--t3);
  opacity: 0;
  animation: fade-up .7s ease .5s forwards;
}
.hero-browsers svg { opacity: .5; }

/* ── PRODUCT SHOWCASE ── */
.showcase {
  padding: 40px 40px 100px;
  max-width: 1100px;
  margin: 0 auto;
  opacity: 0;
  animation: fade-up .8s ease .6s forwards;
}

.showcase-window {
  background: var(--bg2);
  border: 1px solid var(--b);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.04),
    0 40px 80px rgba(0,0,0,.6),
    0 0 120px rgba(91,94,244,.08);
}

.showcase-bar {
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid var(--b);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.w-dots {
  display: flex;
  gap: 6px;
}
.w-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.w-dot:nth-child(1) { background: #ff5f56; }
.w-dot:nth-child(2) { background: #ffbd2e; }
.w-dot:nth-child(3) { background: #27c93f; }

.w-url {
  flex: 1;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 7px;
  padding: 5px 12px;
  font-size: 11px;
  color: var(--t3);
  letter-spacing: .2px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.w-url svg { opacity: .5; flex-shrink: 0; }

.showcase-body {
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.sc-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 20px;
  transition: all .2s;
}
.sc-card:hover {
  background: rgba(255,255,255,.05);
  border-color: rgba(91,94,244,.2);
  transform: translateY(-2px);
}

.sc-card-type {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--t3);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sc-card-type .type-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--a);
}

.sc-card-title {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--t);
  margin-bottom: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sc-card-price {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--t);
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.sc-card-price span {
  font-size: 14px;
  color: var(--t3);
  font-weight: 400;
}

.sc-card-link {
  font-size: 11px;
  color: var(--a3);
  background: rgba(91,94,244,.1);
  padding: 5px 10px;
  border-radius: 6px;
  display: inline-block;
  font-weight: 500;
  margin-bottom: 14px;
  border: 1px solid rgba(91,94,244,.15);
}

.sc-card-stats {
  display: flex;
  gap: 14px;
}
.sc-stat {
  font-size: 11px;
  color: var(--t3);
  display: flex;
  align-items: center;
  gap: 4px;
}
.sc-stat svg { opacity: .6; }
.sc-stat strong { color: var(--t2); font-weight: 600; }

.sc-locked-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  background: rgba(22,163,74,.12);
  color: #4ade80;
  border: 1px solid rgba(22,163,74,.2);
  padding: 3px 9px;
  border-radius: 99px;
  margin-top: 8px;
}

/* ── HOW IT WORKS ── */
.how {
  padding: 80px 40px 100px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--a3);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--a);
  display: block;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
  color: var(--t);
  margin-bottom: 14px;
}

.section-sub {
  font-size: 16px;
  color: var(--t2);
  font-weight: 300;
  margin-bottom: 60px;
  max-width: 500px;
  line-height: 1.7;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--b);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--b);
}

.step {
  background: var(--bg2);
  padding: 32px 28px;
  transition: background .2s;
  position: relative;
  overflow: hidden;
}
.step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--a), transparent);
  opacity: 0;
  transition: opacity .2s;
}
.step:hover { background: var(--bg3); }
.step:hover::before { opacity: 1; }

.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: rgba(91,94,244,.12);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -2px;
}

.step-icon {
  width: 44px; height: 44px;
  background: rgba(91,94,244,.1);
  border: 1px solid rgba(91,94,244,.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--a3);
  margin-bottom: 16px;
}

.step-title {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--t);
  margin-bottom: 8px;
  letter-spacing: -.3px;
}

.step-text {
  font-size: 13px;
  color: var(--t2);
  line-height: 1.7;
  font-weight: 300;
}

/* ── FEATURES ── */
.features {
  padding: 80px 40px 100px;
  max-width: 1100px;
  margin: 0 auto;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feat {
  background: var(--bg2);
  border: 1px solid var(--b);
  border-radius: 16px;
  padding: 28px;
  transition: all .2s;
  position: relative;
  overflow: hidden;
}
.feat::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(91,94,244,.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s;
}
.feat:hover {
  border-color: rgba(91,94,244,.2);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0,0,0,.3), 0 0 0 1px rgba(91,94,244,.08);
}
.feat:hover::after { opacity: 1; }

.feat-icon {
  width: 48px; height: 48px;
  background: rgba(91,94,244,.1);
  border: 1px solid rgba(91,94,244,.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--a3);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.feat-title {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--t);
  margin-bottom: 8px;
  letter-spacing: -.3px;
  position: relative;
  z-index: 1;
}

.feat-text {
  font-size: 13px;
  color: var(--t2);
  line-height: 1.7;
  font-weight: 300;
  position: relative;
  z-index: 1;
}

.feat.feat-large {
  grid-column: span 2;
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.feat.feat-large .feat-content { flex: 1; }
.feat.feat-large .feat-visual {
  flex: 1;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--b);
  border-radius: 10px;
  padding: 16px;
  font-size: 11px;
  color: var(--t3);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(91,94,244,.1);
  border: 1px solid rgba(91,94,244,.15);
  color: var(--a3);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 99px;
  letter-spacing: .3px;
}

/* ── CONTENT TYPES ── */
.content-types {
  padding: 80px 40px 100px;
  max-width: 1100px;
  margin: 0 auto;
}

.types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.type-card {
  background: var(--bg2);
  border: 1px solid var(--b);
  border-radius: 14px;
  padding: 22px 20px;
  transition: all .2s;
  text-align: center;
}
.type-card:hover {
  border-color: rgba(91,94,244,.25);
  background: var(--bg3);
  transform: translateY(-2px);
}

.type-emoji {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}

.type-name {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--t);
  margin-bottom: 6px;
  letter-spacing: -.2px;
}

.type-desc {
  font-size: 11px;
  color: var(--t3);
  line-height: 1.6;
}

/* ── CTA ── */
.cta-section {
  padding: 100px 40px 120px;
  text-align: center;
  position: relative;
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center 30%, rgba(91,94,244,.07) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section .section-title { margin-bottom: 12px; }

.cta-section .section-sub {
  margin: 0 auto 40px;
  text-align: center;
}

.cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--b);
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.footer-brand {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--t3);
  letter-spacing: -.2px;
}
.footer-brand span { color: var(--a3); }

.footer-links {
  display: flex;
  gap: 20px;
}
.footer-link {
  font-size: 12px;
  color: var(--t3);
  text-decoration: none;
  transition: color .15s;
}
.footer-link:hover { color: var(--t2); }

.footer-note {
  font-size: 11px;
  color: var(--t3);
  font-style: italic;
}

/* ── UTILS ── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── DIVIDER ── */
.divider {
  max-width: 1100px;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--b), transparent);
  position: relative;
  z-index: 1;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hero { padding: 100px 24px 60px; }
  .showcase-body { grid-template-columns: 1fr; padding: 20px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat.feat-large { grid-column: span 1; flex-direction: column; }
  .feat.feat-large .feat-visual { display: none; }
  .types-grid { grid-template-columns: repeat(2, 1fr); }
  .how, .features, .content-types { padding: 60px 24px 80px; }
  .cta-section { padding: 60px 24px 80px; }
  footer { flex-direction: column; gap: 14px; text-align: center; }
  .footer-links { display: none; }
}
