:root{
  --bg0:#050015;
  --bg1:#07011a;
  --panel: rgba(255,255,255,.05);
  --panel2: rgba(255,255,255,.035);
  --border: rgba(255,255,255,.10);

  --text:#f5f3ff;
  --muted: rgba(245,243,255,.72);
  --muted2: rgba(245,243,255,.55);

  --accent1:#d946ef;
  --accent2:#7c3aed;
  --danger:#ff3b6b;

  --radius: 18px;
  --radius2: 22px;

  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --shadow2: 0 10px 30px rgba(0,0,0,.35);

  --container: 1120px;
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  color:var(--text);
  background:
    radial-gradient(900px 600px at 20% 10%, rgba(217,70,239,.22), transparent 60%),
    radial-gradient(900px 600px at 80% 25%, rgba(124,58,237,.20), transparent 55%),
    radial-gradient(900px 600px at 50% 100%, rgba(255,59,107,.10), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  line-height:1.5;
}

a{ color:inherit; text-decoration:none; }
.container{
  width: min(var(--container), calc(100% - 40px));
  margin-inline:auto;
}

.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:10px;
  padding:10px 12px;
  border-radius:12px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
}
.skip-link:focus{ left:12px; z-index:9999; }

/* TOP BAR */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background: rgba(10, 2, 32, .75);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}

.brand{
  display:flex; align-items:center; gap:10px;
  min-width: 170px;
}
.brand__logo{
  width:28px;height:28px;
  border-radius:8px;
  object-fit:cover;
}
.brand__name{
  font-weight:700;
  letter-spacing:.2px;
}

.nav{
  display:flex;
  gap:18px;
  align-items:center;
  justify-content:center;
  flex:1;
}
.nav__link{
  font-size:13px;
  color:var(--muted);
  padding:8px 10px;
  border-radius:12px;
}
.nav__link:hover{
  color:var(--text);
  background:rgba(255,255,255,.06);
}

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

.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color:var(--muted);
  cursor:pointer;
}
.chip:hover{ color:var(--text); }

.chip__dot{
  width:9px;height:9px;
  border-radius:50%;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  box-shadow: 0 0 0 3px rgba(217,70,239,.18);
}

.bell{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;height:40px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color:var(--muted);
  cursor:pointer;
}
.bell:hover{ color:var(--text); }

.badge{
  position:absolute;
  top:-6px; right:-6px;
  min-width:18px;height:18px;
  padding:0 6px;
  display:flex; align-items:center; justify-content:center;
  border-radius:999px;
  background: rgba(255,59,107,.95);
  color:white;
  font-size:11px;
  border:2px solid rgba(10,2,32,.8);
}

/* hamburger */
.nav-toggle{
  display:none;
  width:42px;height:42px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  cursor:pointer;
}
.nav-toggle__bar{
  display:block;
  width:18px;height:2px;
  background: rgba(245,243,255,.85);
  margin:4px auto;
  border-radius:2px;
}

/* HERO */
.hero{
  padding: 54px 0 28px;
  background:
    linear-gradient(90deg, rgba(255,59,107,.22), rgba(124,58,237,.18) 55%, rgba(217,70,239,.10));
  border-bottom:1px solid rgba(255,255,255,.06);
}
.hero__inner{
  text-align:center;
  padding: 14px 0 26px;
}
.hero__eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color: rgba(255,255,255,.70);
  font-size:12px;
  letter-spacing:.4px;
  text-transform:uppercase;
}
.dot{
  width:7px;height:7px;border-radius:50%;
  background: rgba(255,59,107,.95);
  box-shadow: 0 0 0 4px rgba(255,59,107,.14);
}
.hero__title{
  margin:14px 0 10px;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height:1.05;
  letter-spacing:-.6px;
}
.hero__subtitle{
  margin:0 auto;
  max-width: 820px;
  color: var(--muted);
  font-size: 14px;
}
.hero__cta{
  margin-top:18px;
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
}

/* PANEL */
.panel{
  padding: 22px 0 60px;
}

.tabs{
  margin-top:14px;
  display:flex;
  gap:18px;
  justify-content:center;
  border-bottom:1px solid rgba(255,255,255,.10);
  padding-bottom:12px;
  flex-wrap:wrap;
}
.tab{
  background:transparent;
  border:0;
  color: rgba(245,243,255,.62);
  font-size:12px;
  padding:8px 2px;
  cursor:pointer;
}
.tab:hover{ color: rgba(245,243,255,.86); }
.tab.is-active{
  color: var(--text);
  position:relative;
}
.tab.is-active::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-13px;
  height:2px;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  border-radius:999px;
}

/* Quick Links row */
.quick-links{
  margin: 16px 0 18px;
  display:flex;
  gap:18px;
  justify-content:center;
  flex-wrap:wrap;
  color: rgba(245,243,255,.72);
}
.quick-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  padding: 8px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.035);
}
.quick-link:hover{
  background: rgba(255,255,255,.06);
  color: var(--text);
}

.icon{ width:18px; height:18px; }
.icon-xl{ width:28px; height:28px; }

/* Cards */
.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
  margin-top: 10px;
}

.card{
  background: var(--panel2);
  border:1px solid var(--border);
  border-radius: var(--radius2);
  box-shadow: var(--shadow2);
}

.feature-card{
  padding:16px;
  position:relative;
  overflow:hidden;
}
.feature-card::before{
  content:"";
  position:absolute;
  inset:-40px;
  background:
    radial-gradient(380px 180px at 10% 10%, rgba(217,70,239,.14), transparent 55%),
    radial-gradient(380px 180px at 90% 30%, rgba(124,58,237,.12), transparent 55%);
  pointer-events:none;
}
.feature-card > *{ position:relative; }

.feature-card__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.feature-card__icon{
  width:44px;height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  color: rgba(245,243,255,.86);
}
.round-btn{
  width:40px;height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(245,243,255,.72);
}
.round-btn:hover{
  color: var(--text);
  background: rgba(255,255,255,.07);
}

.card__title{
  margin:0 0 6px;
  font-size:16px;
}
.card__text{
  margin:0 0 12px;
  color: var(--muted);
  font-size:13px;
}

.pill-row{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.pill{
  font-size:11px;
  color: rgba(245,243,255,.70);
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
}
.pill--solid{
  background: rgba(217,70,239,.12);
  border-color: rgba(217,70,239,.22);
  color: rgba(245,243,255,.90);
}

/* Row cards stack */
.stack{
  margin-top: 14px;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.row-card{
  display:grid;
  grid-template-columns: 420px 1fr;
  gap:14px;
  padding:14px;
  border-radius: var(--radius2);
  background: var(--panel2);
  border:1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow2);
  overflow:hidden;
  position:relative;
}
.row-card::before{
  content:"";
  position:absolute;
  inset:-40px;
  background:
    radial-gradient(420px 220px at 5% 20%, rgba(255,59,107,.10), transparent 60%),
    radial-gradient(420px 220px at 85% 20%, rgba(124,58,237,.10), transparent 60%);
  pointer-events:none;
}
.row-card > *{ position:relative; }

.row-card__left{
  padding:10px;
  border-radius: 18px;
  background: rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.08);
}
.row-card__badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight:650;
  letter-spacing:.2px;
}
.row-card__badge-dot{
  width:8px;height:8px;border-radius:50%;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  box-shadow: 0 0 0 4px rgba(217,70,239,.16);
}
.row-card__small{
  margin-top:8px;
  font-size:12px;
  color: var(--muted);
}

.row-card__mini-pills{
  margin-top:10px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.mini-pill{
  font-size:11px;
  padding:5px 9px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  color: rgba(245,243,255,.62);
  background: rgba(255,255,255,.03);
}
.mini-pill.is-on{
  color: rgba(245,243,255,.90);
  border-color: rgba(255,59,107,.22);
  background: rgba(255,59,107,.10);
}

.row-card__right{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:10px;
  padding: 8px 8px 8px 2px;
}
.row-card__title{
  font-weight:750;
  letter-spacing:.2px;
  font-size:14px;
}
.row-card__meta{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  color: rgba(245,243,255,.65);
  font-size:12px;
}
.meta{
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.row-card__actions{
  margin-top:2px;
}
.link-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  padding:9px 12px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(245,243,255,.82);
}
.link-btn:hover{
  background: rgba(255,255,255,.07);
  color: var(--text);
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 11px 14px;
  border-radius: 14px;
  font-weight:650;
  font-size:13px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(245,243,255,.88);
}
.btn--primary{
  border-color: rgba(217,70,239,.28);
  background: linear-gradient(135deg, rgba(217,70,239,.22), rgba(124,58,237,.18));
  box-shadow: 0 10px 30px rgba(217,70,239,.10);
}
.btn--primary:hover{
  border-color: rgba(217,70,239,.45);
}
.btn--ghost:hover{
  background: rgba(255,255,255,.07);
  color: var(--text);
}

/* Footer */
.footer{
  margin-top: 18px;
  padding-top: 12px;
}
.footer__card{
  padding:18px;
  border-radius: var(--radius2);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.035);
  box-shadow: var(--shadow2);
}
.footer__title{
  margin:0 0 8px;
  font-size:18px;
  letter-spacing:-.2px;
}
.footer__text{
  margin:0;
  color: var(--muted);
  font-size:13px;
  max-width: 780px;
}
.footer__cta{
  margin-top:12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.footer__bottom{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
  color: rgba(245,243,255,.55);
  font-size:12px;
  padding:14px 0 0;
}
.footer__link{
  color: rgba(245,243,255,.62);
}
.footer__link:hover{ color: var(--text); }
.footer__sep{ opacity:.35; }

/* Responsive */
@media (max-width: 980px){
  .grid-2{ grid-template-columns: 1fr; }
  .row-card{ grid-template-columns: 1fr; }
  .brand{ min-width:auto; }
}

@media (max-width: 900px){
  .nav-toggle{ display:inline-block; }
  .nav{
    position:absolute;
    top:60px;
    left:20px;
    right:20px;
    display:none;
    flex-direction:column;
    gap:8px;
    padding:12px;
    border-radius:18px;
    background: rgba(10, 2, 32, .92);
    border:1px solid rgba(255,255,255,.10);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
  }
  .nav.is-open{ display:flex; }
  .topbar__inner{ position:relative; }
}
