:root{
  --bg:#0B0B0F;
  --bg-2:#101016;
  --panel:#15151C;
  --text:#EDEDF2;
  --muted:#B6B6C7;
  --purple:#7E3ACE;
  --purple-2:#5C2D91;
  --white:#FFFFFF;
  --shadow-glow:0 0 24px rgba(126,58,206,.25);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Poppins,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
}

/* Background decorations */
.bg-grid{
  position:fixed; inset:0; z-index:-2;
  background-image:radial-gradient(circle at 1px 1px, rgba(255,255,255,.06) 1px, transparent 0);
  background-size:24px 24px;
}
.bg-glow{
  position:fixed; inset:-20%;
  background:radial-gradient(40% 40% at 70% 10%, rgba(126,58,206,.12), transparent 60%),
             radial-gradient(45% 45% at 10% 90%, rgba(92,45,145,.10), transparent 60%);
  filter:blur(10px);
  z-index:-3;
}

/* Containers */
.container{max-width:1180px; margin-inline:auto; padding:0 20px}

/* Header */
.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(1.2) blur(8px);
  background:rgba(16,16,22,.75);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.header__row{display:flex; align-items:center; justify-content:space-between; height:72px}

/* Brand */
.brand{display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--text)}
.brand__mark{
  width:36px; height:36px; display:grid; place-items:center;
  border-radius:12px; border:1px solid rgba(126,58,206,.45);
  background:linear-gradient(180deg, rgba(126,58,206,.15), rgba(126,58,206,.05));
}
.brand__text{font-weight:700; letter-spacing:.2px}

/* Nav */
.nav{display:none; gap:22px; align-items:center}
.nav a{color:var(--text); text-decoration:none; opacity:.85}
.nav a:hover{color:var(--white)}
@media(min-width:880px){ .nav{display:flex} }

/* Buttons */
.btn{
  --pad-y:.7rem; --pad-x:1.1rem;
  display:inline-flex; align-items:center; justify-content:center;
  padding:var(--pad-y) var(--pad-x);
  border-radius:14px; text-decoration:none; font-weight:600;
  border:1px solid transparent; cursor:pointer; transition:.2s ease;
}
.btn--sm{ --pad-y:.5rem; --pad-x:.9rem }
.btn--lg{ --pad-y:1rem; --pad-x:1.25rem; font-size:1.05rem }
.btn--primary{
  color:#fff; background:linear-gradient(180deg, var(--purple), var(--purple-2));
  box-shadow:var(--shadow-glow);
}
.btn--primary:hover{ transform:translateY(-1px); filter:brightness(1.05) }
.btn--light{
  color:#000; background:#fff; border-color:rgba(255,255,255,.1)
}
.btn--light:hover{ filter:brightness(.96) }
.btn--ghost{
  color:var(--text); background:transparent; border-color:rgba(255,255,255,.12)
}
.btn--ghost:hover{ border-color:var(--purple); color:#fff; box-shadow:var(--shadow-glow) }

/* Hamburger / mobile nav */
.hamburger{
  background:transparent; border:0; width:44px; height:44px; display:grid; place-items:center; cursor:pointer;
}
.hamburger span{display:block; width:22px; height:2px; background:var(--text); margin:3px 0; border-radius:2px}
@media(min-width:880px){ .hamburger{display:none} }

.mobile-nav{
  display:none; border-top:1px solid rgba(255,255,255,.06); background:rgba(21,21,28,.9);
  padding:14px 20px; gap:10px; flex-direction:column;
}
.mobile-nav a{color:var(--text); text-decoration:none; padding:10px 6px; border-radius:10px}
.mobile-nav a:hover{background:rgba(255,255,255,.05)}

/* Hero */
.section{padding:70px 0}
.section--muted{background:rgba(16,16,22,.6); border-block:1px solid rgba(255,255,255,.06)}
.hero{padding-top:90px}
.hero__grid{display:grid; gap:36px}
@media(min-width:980px){ .hero__grid{grid-template-columns:1.05fr .95fr; align-items:center} }
.hero__title{font-size:2.3rem; line-height:1.15; margin:0}
@media(min-width:720px){ .hero__title{font-size:3rem} }
.accent{color:var(--purple)}
.hero__subtitle{color:var(--muted); margin:14px 0 20px}
.hero__cta{display:flex; gap:12px; flex-wrap:wrap}
.hero__meta{color:#bfbfd1; font-size:.95rem; margin-top:14px; display:flex; align-items:center; gap:10px}
.hero__media{
  background:linear-gradient(180deg, #15151C, #101016);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px; overflow:hidden; box-shadow:var(--shadow-glow);
}
.hero__media img{display:block; width:100%; height:auto}
.hero__media figcaption{font-size:.75rem; color:#9fa0ad; padding:8px 10px}

/* Ring glow */
.ring{
  position:absolute; inset:-40px; z-index:-1;
  background:radial-gradient(60% 60% at 50% 50%, rgba(126,58,206,.18), rgba(126,58,206,.05) 55%, transparent 65%);
  filter:blur(10px); pointer-events:none;
}
.hero__text{position:relative}

/* Sections common */
.section__header{margin-bottom:20px}
.section__header h2{margin:0 0 6px; font-size:1.9rem}
.section__header p{margin:0; color:var(--muted)}

/* Cards grid */
.grid{display:grid; gap:16px}
@media(min-width:720px){ .grid{grid-template-columns:repeat(2,1fr)} }
@media(min-width:1024px){ .grid{grid-template-columns:repeat(3,1fr)} }

.card{
  background:var(--panel);
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  padding:18px;
  transition:border-color .2s, transform .2s, box-shadow .2s;
}
.card:hover{ border-color:var(--purple); transform:translateY(-3px); box-shadow:var(--shadow-glow) }
.card__head{display:flex; align-items:center; justify-content:space-between}
.card__head h3{margin:0; font-size:1.1rem}
.card p{color:var(--muted); margin:10px 0}
.arrow{color:var(--purple)}
.card__foot{display:flex; align-items:center; justify-content:space-between; margin-top:14px}
.price{color:#d7c8ef}

/* Chips */
.chiplist{display:flex; gap:8px; flex-wrap:wrap; list-style:none; padding:0; margin:12px 0 0}
.chip{
  font-size:.8rem; color:#d8d8e6;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  padding:6px 10px; border-radius:999px;
}

/* Steps */
.steps{list-style:none; padding:0; margin:0; display:grid; gap:14px}
@media(min-width:860px){ .steps{grid-template-columns:repeat(4,1fr)} }
.step{
  background:var(--panel); border:1px solid rgba(255,255,255,.08);
  border-radius:16px; padding:16px;
}
.step h3{margin:6px 0 6px}
.step p{margin:0; color:var(--muted)}
.badge{
  display:inline-grid; place-items:center; width:28px; height:28px; border-radius:8px;
  background:linear-gradient(180deg, var(--purple), var(--purple-2));
  color:#fff; font-weight:700; font-size:.9rem;
}

/* Features */
.features{grid-template-columns:1fr; gap:16px}
@media(min-width:860px){ .features{grid-template-columns:repeat(3,1fr)} }
.feature{
  background:var(--panel); border:1px solid rgba(255,255,255,.08);
  border-radius:16px; padding:18px;
}
.icon{
  width:36px; height:36px; display:grid; place-items:center;
  border:1px solid rgba(126,58,206,.4); border-radius:12px;
  background:linear-gradient(180deg, rgba(126,58,206,.15), rgba(126,58,206,.05));
  margin-bottom:10px;
}

/* Contact */
.contact{ text-align:center }
.helptext{ color:#9fa0ad; margin-top:8px; font-size:.85rem }

/* Footer */
.footer{
  background:rgba(16,16,22,.8);
  border-top:1px solid rgba(255,255,255,.06);
}
.footer__row{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:16px 0; color:#bfbfd1; font-size:.95rem;
}
.footer__nav{display:flex; gap:14px; flex-wrap:wrap}
.footer__nav a{color:#bfbfd1; text-decoration:none}
.footer__nav a:hover{color:#fff}

/* Utility */
.divider{opacity:.5}

/* Small smooth anchor offset for sticky header */
:target{
  scroll-margin-top:86px;
}
