/* ===== Tokens ===== */
:root{
  --bg: #0A0E1A;
  --bg-alt: #0D1220;
  --surface: #121A2E;
  --surface-2: #16203A;

  --primary: #3B82F6;
  --primary-dark: #1D4ED8;
  --accent: #22D3EE;

  --text: #F1F5F9;
  --text-muted: #93A4C3;

  --border: rgba(148, 197, 255, 0.28);
  --border-strong: rgba(148, 197, 255, 0.55);

  --shadow-color: #142046;
  --shadow-sm: 4px 4px 0 0 var(--shadow-color);
  --shadow-md: 6px 6px 0 0 var(--shadow-color);
  --shadow-lg: 10px 10px 0 0 var(--shadow-color);
  --shadow-accent: 6px 6px 0 0 var(--primary-dark);

  --radius: 14px;
  --radius-sm: 8px;

  --font-head: 'Cabinet Grotesk', 'Satoshi', system-ui, sans-serif;
  --font-body: 'Satoshi', system-ui, sans-serif;

  --container: 1180px;
}

/* ===== Reset ===== */
*, *::before, *::after{ box-sizing: border-box; margin:0; padding:0; }
html{ scroll-behavior: smooth; }
body{
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style:none; }
button{ font: inherit; cursor:pointer; }
svg{ width:100%; height:100%; }

.skip-link{
  position:absolute; left:-999px; top:0; background:var(--primary); color:#fff;
  padding:.75rem 1rem; z-index:200;
}
.skip-link:focus{ left:1rem; top:1rem; }

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

h1,h2,h3,h4{
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* ===== Reveal on scroll ===== */
.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }
.reveal--delay{ transition-delay: .15s; }

/* ===== Buttons ===== */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:.5rem;
  padding: 0.9rem 1.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: transform .18s cubic-bezier(.175,.885,.32,1.275), box-shadow .18s ease, background .2s ease;
  white-space: nowrap;
}
.btn--primary{
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #06101F;
  border-color: var(--text);
  box-shadow: var(--shadow-accent);
}
.btn--primary:hover{ transform: translate(4px,4px); box-shadow: 0 0 0 0 transparent; }

.btn--ghost{
  background: transparent;
  color: var(--accent);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}
.btn--ghost:hover{ transform: translate(4px,4px); box-shadow: 0 0 0 0 transparent; background: rgba(34,211,238,0.06); }

.btn--sm{ padding: 0.6rem 1.1rem; font-size: 0.85rem; }
.btn--lg{ padding: 1.05rem 2rem; font-size: 1rem; }
.btn--block{ width:100%; }

/* ===== Header ===== */
.header{
  position: fixed; top:0; left:0; right:0; z-index: 100;
  background: rgba(10,14,26,0.75);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--border);
}
.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  height: 76px;
}
.logo{
  display:flex; align-items:center; gap:.6rem;
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem;
}
.logo__mark{
  width: 34px; height:34px; border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display:flex; align-items:center; justify-content:center;
  color:#06101F;
  border: 2px solid var(--text);
}
.nav{ display:flex; gap: 2rem; }
.nav a{
  font-weight: 500; color: var(--text-muted); font-size: .95rem;
  transition: color .2s ease;
}
.nav a:hover{ color: var(--accent); }

.header__actions{ display:flex; align-items:center; gap: 1rem; }

.nav-toggle{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width: 40px; height: 40px; background: transparent; border: 2px solid var(--border-strong);
  border-radius: 8px;
}
.nav-toggle span{ display:block; height:2px; background: var(--text); margin: 0 8px; }

/* ===== Hero ===== */
.hero{
  position: relative;
  padding: 160px 0 90px;
  overflow: hidden;
}
.hero__grid-bg{
  position:absolute; inset:0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(59,130,246,0.18), transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(34,211,238,0.14), transparent 40%),
    linear-gradient(rgba(148,197,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,197,255,0.06) 1px, transparent 1px);
  background-size: auto, auto, 42px 42px, 42px 42px;
  pointer-events:none;
}
.hero__inner{
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}
.badge{
  display:inline-flex; align-items:center; gap:.5rem;
  padding: .5rem 1rem;
  border: 2px solid var(--border-strong);
  border-radius: 999px;
  font-size: .82rem; font-weight: 700; color: var(--accent);
  background: rgba(34,211,238,0.06);
  margin-bottom: 1.5rem;
}
.badge__dot{
  width:8px; height:8px; border-radius:50%; background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.hero__title{
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin-bottom: 1.25rem;
}
.text-outline{
  -webkit-text-stroke: 1.5px var(--accent);
  color: transparent;
}
.hero__subtitle{
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 46ch;
  margin-bottom: 2rem;
}
.hero__cta{ display:flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero__stats{
  display:flex; gap: 2.5rem;
}
.hero__stats div{ display:flex; flex-direction:column; }
.hero__stats strong{ font-family: var(--font-head); font-size: 1.5rem; color: var(--accent); }
.hero__stats span{ font-size: .82rem; color: var(--text-muted); }

/* Mockup */
.mockup{
  background: var(--surface);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mockup__bar{
  display:flex; align-items:center; gap:.5rem;
  padding: .8rem 1rem;
  background: var(--bg-alt);
  border-bottom: 2px solid var(--border);
}
.dot{ width:10px; height:10px; border-radius:50%; }
.dot--red{ background:#ff5f57; }
.dot--yellow{ background:#febc2e; }
.dot--green{ background:#28c840; }
.mockup__url{
  margin-left: .75rem; font-size: .78rem; color: var(--text-muted);
  font-family: monospace;
}
.mockup__body{ padding: 1.25rem; display:flex; flex-direction:column; gap: 1rem; }
.mockup__row{ display:grid; grid-template-columns: 1.4fr 1fr; gap: 1rem; }
.mockup__row:last-child{ grid-template-columns: repeat(3, 1fr); }
.mockup__panel{
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .9rem;
}
.mockup__label{ font-size: .72rem; color: var(--text-muted); margin-bottom: .5rem; text-transform: uppercase; letter-spacing: .04em; }
.mockup__big{ font-family: var(--font-head); font-size: 1.3rem; color: var(--accent); }
.mockup__tag{ margin-top:.35rem; font-size:.72rem; color: var(--text-muted); }
.mockup__chart{
  display:flex; align-items:flex-end; gap:.4rem; height: 60px;
}
.mockup__chart span{
  flex:1; height: var(--h);
  background: linear-gradient(180deg, var(--accent), var(--primary));
  border-radius: 3px 3px 0 0;
}

/* ===== Marquee ===== */
.marquee{
  background: var(--bg-alt);
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
  padding: 1.1rem 0;
  overflow: hidden;
}
.marquee__track{
  display:flex; gap: 3rem; width: max-content;
  animation: scroll 28s linear infinite;
}
.marquee__track span{
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  letter-spacing: .06em;
  color: var(--text-muted);
  opacity: .7;
}
@keyframes scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* ===== Sections ===== */
.section{ padding: 100px 0; }
.section--alt{ background: var(--bg-alt); border-top: 2px solid var(--border); border-bottom: 2px solid var(--border); }
.section--dark{ background: #070A13; }

.section__head{ max-width: 640px; margin: 0 auto 3.5rem; text-align:center; }
.eyebrow{
  display:inline-block; font-size: .8rem; font-weight:700; letter-spacing:.08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .75rem;
}
.section__head h2{ font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: .75rem; }
.section__lede{ color: var(--text-muted); font-size: 1.05rem; }

.grid{ display:grid; gap: 1.5rem; }
.grid--3{ grid-template-columns: repeat(3, 1fr); }
.grid--4{ grid-template-columns: repeat(4, 1fr); }

/* Feature cards */
.card{
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover{ transform: translate(3px,3px); box-shadow: 0 0 0 0 transparent; border-color: var(--border-strong); }
.card__icon{
  width: 46px; height:46px; padding:10px;
  background: var(--surface-2);
  border: 2px solid var(--border);
  border-radius: 10px;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.card h3{ font-size: 1.15rem; margin-bottom: .5rem; }
.card p{ color: var(--text-muted); font-size: .92rem; margin-bottom: 1rem; }

.check-list li{
  position: relative; padding-left: 1.4rem; font-size: .88rem; color: var(--text-muted);
  margin-bottom: .45rem;
}
.check-list li::before{
  content:"✓"; position:absolute; left:0; color: var(--accent); font-weight:700;
}

/* Stat cards */
.stat-card{
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.stat-card__num{
  font-family: var(--font-head); font-size: .85rem; font-weight:700;
  color: var(--primary); opacity:.8;
}
.stat-card h3{ font-size: 1.1rem; margin: .5rem 0; }
.stat-card p{ color: var(--text-muted); font-size: .9rem; }

/* Portfolio cards */
.p-card{
  position: relative;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.p-card:hover{ transform: translate(3px,3px); box-shadow: 0 0 0 0 transparent; }
.p-card__badge{
  position:absolute; top: -12px; right: 1.2rem;
  font-size: .7rem; font-weight:700; padding: .3rem .7rem;
  border-radius: 999px; border: 2px solid var(--bg);
}
.p-card__badge--here{ background: var(--accent); color:#06101F; }
.p-card__badge--popular{ background: var(--primary); color:#fff; }
.p-card__badge--premium{ background: linear-gradient(135deg,var(--primary),var(--accent)); color:#06101F; }
.p-card__badge--new{ background: transparent; border-color: var(--accent); color: var(--accent); }
.p-card__top{ display:flex; align-items:center; gap: .9rem; margin-bottom: .9rem; }
.p-card__icon{ font-size: 1.7rem; }
.p-card__top h3{ font-size: 1.05rem; }
.p-card__cat{ font-size: .78rem; color: var(--text-muted); }
.p-card p{ color: var(--text-muted); font-size: .88rem; margin-bottom: 1rem; }
.p-card__tags{ display:flex; flex-wrap:wrap; gap: .4rem; margin-bottom: 1.1rem; }
.p-card__tags span{
  font-size: .72rem; padding: .25rem .6rem;
  border: 1px solid var(--border); border-radius: 999px; color: var(--text-muted);
}
.p-card__link{ font-weight: 700; font-size: .88rem; color: var(--accent); }
.p-card__link--muted{ color: var(--text-muted); }

/* CTA strip */
.cta-strip{
  margin-top: 3rem;
  display:flex; align-items:center; justify-content:space-between; gap: 2rem; flex-wrap: wrap;
  background: var(--surface);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-md);
}
.cta-strip h3{ font-size: 1.25rem; margin-bottom: .35rem; }
.cta-strip p{ color: var(--text-muted); font-size: .92rem; max-width: 46ch; }

/* Pricing */
.pricing-grid{ align-items: stretch; }
.price-card{
  position: relative;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display:flex; flex-direction:column;
}
.price-card--featured{
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
  background: var(--surface-2);
}
.price-card__ribbon{
  position:absolute; top:-14px; left: 2rem;
  background: linear-gradient(135deg,var(--primary),var(--accent));
  color:#06101F; font-weight:700; font-size:.75rem;
  padding: .35rem .8rem; border-radius: 999px;
  border: 2px solid var(--bg);
}
.price-card__tier{ font-size: .78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.price-card h3{ font-size: 1.3rem; margin: .3rem 0 1rem; }
.price-card__value{ font-family: var(--font-head); font-size: 2.6rem; font-weight:800; margin-bottom:.25rem; color: var(--accent); }
.price-card__value span{ font-size: 1.1rem; vertical-align: super; margin-right: .15rem; color: var(--text-muted); }
.price-card__tagline{ color: var(--text-muted); font-size: .88rem; margin-bottom: 1.5rem; }
.price-card .check-list{ margin-bottom: 1.75rem; flex:1; }

/* Testimonials */
.testimonial{
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem;
  box-shadow: var(--shadow-sm);
}
.testimonial__stars{ color: #FBBF24; letter-spacing: .2em; margin-bottom: 1rem; font-size: .95rem; }
.testimonial p{ color: var(--text); font-size: .95rem; margin-bottom: 1.5rem; font-style: italic; }
.testimonial footer{ display:flex; align-items:center; gap: .8rem; }
.avatar{
  width: 40px; height:40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color:#06101F; font-weight:700; font-size:.85rem;
  display:flex; align-items:center; justify-content:center;
  border: 2px solid var(--text);
}
.testimonial footer div{ display:flex; flex-direction:column; }
.testimonial footer strong{ font-size: .92rem; }
.testimonial footer span{ font-size: .78rem; color: var(--text-muted); }

/* Steps */
.steps{
  display:grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem;
  position: relative;
}
.step{
  text-align:center;
  padding: 1.5rem 1rem;
}
.step__num{
  display:flex; align-items:center; justify-content:center;
  width: 60px; height:60px; margin: 0 auto 1.1rem;
  border-radius: 50%;
  font-family: var(--font-head); font-size:1.3rem; font-weight:800;
  background: var(--surface);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 6px rgba(34,211,238,0.08);
  color: var(--accent);
}
.step h3{ font-size: 1.05rem; margin-bottom: .5rem; }
.step p{ color: var(--text-muted); font-size: .88rem; }

/* Final CTA */
.final-cta{
  padding: 100px 0;
  text-align:center;
  background:
    radial-gradient(circle at 50% 0%, rgba(59,130,246,0.25), transparent 60%),
    var(--bg-alt);
  border-top: 2px solid var(--border);
}
.final-cta h2{ font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.final-cta p{ color: var(--text-muted); font-size: 1.05rem; margin-bottom: 2rem; }

/* ===== Footer ===== */
.footer{ background: #070A13; border-top: 2px solid var(--border); padding-top: 4rem; }
.footer__grid{
  display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem;
}
.footer__brand p{ color: var(--text-muted); font-size: .9rem; margin: 1rem 0 1.25rem; max-width: 32ch; }
.social{ display:flex; gap: .75rem; }
.social a{
  width: 40px; height:40px; padding: 9px;
  display:flex; align-items:center; justify-content:center;
  background: var(--surface); border: 2px solid var(--border);
  border-radius: 8px; color: var(--text-muted);
  transition: all .2s ease;
}
.social a:hover{ color: #06101F; background: var(--accent); border-color: var(--accent); }

.footer__col h4{ font-size: .95rem; margin-bottom: 1.1rem; }
.footer__col{ display:flex; flex-direction:column; gap: .7rem; }
.footer__col a, .footer__col span{ font-size: .88rem; color: var(--text-muted); }
.footer__col a:hover{ color: var(--accent); }

.footer__bottom{
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1rem;
  border-top: 2px solid var(--border);
  padding: 1.5rem 24px;
  font-size: .82rem; color: var(--text-muted);
}
.footer__cta{ color: var(--accent); font-weight:700; }

/* ===== Responsive ===== */
@media (max-width: 1024px){
  .hero__inner{ grid-template-columns: 1fr; }
  .hero__visual{ order: -1; }
  .grid--4{ grid-template-columns: repeat(2,1fr); }
  .grid--3{ grid-template-columns: repeat(2,1fr); }
  .steps{ grid-template-columns: repeat(2,1fr); }
  .footer__grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px){
  .nav{ display:none; }
  .nav-toggle{ display:flex; }
  .header__actions .btn{ display:none; }
  .hero{ padding: 130px 0 60px; }
  .hero__cta{ flex-direction:column; }
  .hero__stats{ flex-wrap:wrap; gap: 1.5rem; }
  .grid--4{ grid-template-columns: 1fr; }
  .grid--3{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .cta-strip{ flex-direction:column; align-items:flex-start; }
  .footer__grid{ grid-template-columns: 1fr; gap: 2rem; }
  .mockup__row{ grid-template-columns: 1fr; }
  .mockup__row:last-child{ grid-template-columns: repeat(3,1fr); }
}

/* Mobile nav open state */
.nav.is-open{
  display:flex; position:fixed; inset: 76px 0 0 0;
  flex-direction:column; align-items:flex-start; gap: 0;
  background: var(--bg); padding: 1rem 24px;
  border-top: 2px solid var(--border);
}
.nav.is-open a{
  width:100%; padding: 1rem 0; border-bottom: 1px solid var(--border);
  font-size: 1.05rem;
}
