/* ===== Design tokens — from the logo palette ===== */
:root {
  --cyan:   #57c6e8;
  --blue:   #5b8def;
  --violet: #7a6ff0;
  --purple: #6a3de8;
  --purple-deep: #4b1fb0;

  --grad: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 55%, var(--purple) 100%);
  --grad-soft: linear-gradient(135deg, rgba(87,198,232,.15), rgba(106,61,232,.15));

  --bg:        #0a0a16;
  --bg-2:      #0f1024;
  --surface:   rgba(255,255,255,.04);
  --surface-2: rgba(255,255,255,.06);
  --border:    rgba(255,255,255,.10);
  --text:      #eef0fb;
  --muted:     #a7abc7;

  --radius: 18px;
  --radius-lg: 26px;
  --container: 1140px;
  --shadow: 0 18px 50px -18px rgba(106,61,232,.45);
}

/* ===== Reset ===== */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,.brand__text { font-family: "Sora", sans-serif; line-height: 1.12; letter-spacing: -.02em; }
a { color: inherit; text-decoration: none; }
img,svg { display: block; }
.container { width: min(100% - 2.4rem, var(--container)); margin-inline: auto; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== Background orbs ===== */
.bg-orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.bg-orbs::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(106,61,232,.20), transparent 60%),
              radial-gradient(900px 500px at 0% 10%, rgba(87,198,232,.14), transparent 55%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.orb-1 { width: 380px; height: 380px; background: var(--purple); top: -80px; right: -60px; animation: float 14s ease-in-out infinite; }
.orb-2 { width: 300px; height: 300px; background: var(--cyan);  bottom: 10%; left: -80px; animation: float 18s ease-in-out infinite reverse; }
.orb-3 { width: 260px; height: 260px; background: var(--violet); top: 45%; right: 15%; animation: float 20s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-40px)} }

/* ===== Navbar ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,10,22,.72);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .55rem; }
.brand__logo svg { filter: drop-shadow(0 4px 12px rgba(106,61,232,.5)); display: block; }
/* Wordmark — matches the logo's heavy slab lettering, tuned for the dark UI */
.brand__word {
  font-family: "Alfa Slab One", "Sora", serif;
  font-size: 1.25rem; letter-spacing: .02em; color: var(--text);
  transform: skewX(-4deg); position: relative; white-space: nowrap;
}
.brand__dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--purple); margin-left: 4px; vertical-align: baseline; }
/* Legal entity suffix — smaller so the wordmark still reads as the logo */
.brand__suffix {
  font-family: "Sora", sans-serif; font-size: .5em; font-weight: 700;
  letter-spacing: .14em; color: var(--muted); margin-left: .5rem; vertical-align: .1em;
}

.nav__links { display: flex; align-items: center; gap: .4rem; }
.nav__links a {
  padding: .5rem .85rem; border-radius: 10px; font-weight: 500; font-size: .95rem;
  color: var(--muted); transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--text); background: var(--surface); }
.nav__cta {
  background: var(--grad); color: #fff !important; font-weight: 600;
  box-shadow: var(--shadow);
}
.nav__cta:hover { filter: brightness(1.08); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: .98rem;
  cursor: pointer; border: 1px solid transparent; transition: transform .2s, box-shadow .2s, filter .2s, background .2s;
}
.btn--primary { background: var(--grad); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn--ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn--ghost:hover { background: var(--surface-2); transform: translateY(-2px); }
.btn--block { width: 100%; }

/* ===== Hero ===== */
.hero { padding: clamp(3.5rem, 9vw, 7rem) 0 3rem; text-align: center; }
.hero__inner { max-width: 820px; margin-inline: auto; }
.eyebrow {
  display: inline-block; padding: .4rem 1rem; border-radius: 999px;
  background: var(--grad-soft); border: 1px solid var(--border);
  color: var(--text); font-size: .85rem; font-weight: 500; margin-bottom: 1.4rem;
}
.hero__title { font-size: clamp(2.4rem, 6.5vw, 4.4rem); font-weight: 800; }
.hero__sub { color: var(--muted); font-size: clamp(1rem, 2.4vw, 1.18rem); margin: 1.4rem auto 0; max-width: 640px; }
.hero__actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

.hero__stats {
  list-style: none; display: flex; gap: clamp(1.5rem, 5vw, 3.5rem); justify-content: center;
  flex-wrap: wrap; margin-top: 3rem;
}
.hero__stats strong { display: block; font-family: "Sora", sans-serif; font-size: 2.2rem; font-weight: 800; }
.hero__stats strong { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__stats span { color: var(--muted); font-size: .9rem; }

/* ===== Expertise chips ===== */
.expertise { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; padding-bottom: 1.5rem; }
.chip {
  padding: .55rem 1.1rem; border-radius: 999px; font-size: .9rem; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border); transition: .25s;
}
.chip:hover { color: var(--text); border-color: rgba(122,111,240,.6); transform: translateY(-2px); }

/* ===== Sections ===== */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(15,16,36,.6), transparent); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.kicker { text-transform: uppercase; letter-spacing: .25em; font-size: .78rem; font-weight: 600; color: var(--violet); margin-bottom: .6rem; }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); font-weight: 800; }

/* ===== Glass card ===== */
.glass-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem; overflow: hidden; backdrop-filter: blur(8px);
}
.glass-card__glow { position: absolute; inset: -40% -20% auto; height: 200px; background: var(--grad); filter: blur(80px); opacity: .22; }

/* ===== About ===== */
.about { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about__media h3 { font-size: 1.5rem; }
.about__media p { color: var(--muted); margin-top: .4rem; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: 1.5rem; }
.mini-grid span {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px;
  padding: .7rem .9rem; font-size: .88rem; font-weight: 500;
}
.about__text h2 { margin: .3rem 0 1.1rem; }
.about__text p { color: var(--muted); margin-bottom: 1rem; }

/* ===== Products ===== */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.product-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem; transition: transform .3s, border-color .3s, box-shadow .3s;
  overflow: hidden;
}
.product-card::before {
  content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit;
  background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card:hover::before { opacity: 1; }
.product-card h3 { font-size: 1.7rem; margin: .8rem 0 .8rem; }
.product-card p { color: var(--muted); }
.product-card__badge {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem .75rem; border-radius: 999px;
}
.product-card__badge.live { background: rgba(52,211,153,.15); color: #46e0a8; border: 1px solid rgba(52,211,153,.35); }
.product-card__badge.soon { background: rgba(122,111,240,.15); color: var(--violet); border: 1px solid rgba(122,111,240,.4); }
.product-card__foot { display: flex; gap: .5rem; margin-top: 1.3rem; }
.tag { font-size: .8rem; padding: .3rem .8rem; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); }

/* ===== Services ===== */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.service {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem; transition: transform .3s, border-color .3s, background .3s;
}
.service:hover { transform: translateY(-5px); border-color: rgba(122,111,240,.55); background: var(--surface-2); }
.service__icon {
  width: 54px; height: 54px; display: grid; place-items: center; font-size: 1.5rem;
  border-radius: 14px; background: var(--grad-soft); border: 1px solid var(--border); margin-bottom: 1.1rem;
}
.service h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.service p { color: var(--muted); font-size: .95rem; }

/* ===== Subscription plans ===== */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.plans__note { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 1.6rem; }

/* ===== Contact ===== */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.contact__intro > p { color: var(--muted); margin: 1rem 0 1.8rem; }
.contact__intro h2 { margin-top: .3rem; }
.contact__info { list-style: none; display: grid; gap: 1.2rem; }
.contact__info li { display: flex; gap: .9rem; align-items: flex-start; }
.contact__ico {
  width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; font-size: 1.2rem;
  border-radius: 12px; background: var(--grad-soft); border: 1px solid var(--border);
}
.contact__info b { display: block; font-family: "Sora", sans-serif; }
.contact__info a, .contact__info div > span { color: var(--muted); }
.contact__info a:hover { color: var(--text); }

.contact__cta { text-align: center; display: grid; gap: 1rem; place-items: center; padding: 2.6rem 2rem; }
.contact__cta h3 { font-size: 1.6rem; }
.contact__cta p { color: var(--muted); max-width: 340px; }
.contact__cta .btn { max-width: 300px; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); padding-top: 3rem; margin-top: 2rem; background: rgba(15,16,36,.5); }
.footer__inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; }
.footer__brand p { color: var(--muted); max-width: 320px; margin-top: .9rem; font-size: .95rem; }
.footer__col { display: flex; flex-direction: column; gap: .7rem; }
.footer__col h4 { font-family: "Sora", sans-serif; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text); margin-bottom: .2rem; }
.footer__col a { color: var(--muted); font-size: .95rem; }
.footer__col a:hover { color: var(--text); }

.footer__copy {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid var(--border); padding: 1.4rem 0; color: var(--muted); font-size: .87rem;
}

/* ===== Legal pages ===== */
.legal { padding: clamp(2.5rem, 7vw, 5rem) 0 4rem; }
.legal__head { max-width: 760px; margin: 0 auto 2.5rem; text-align: center; }
.legal__head h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; }
.legal__head p { color: var(--muted); margin-top: .8rem; }
.legal__body { max-width: 820px; margin: 0 auto; }
.legal__body .glass-card { padding: clamp(1.6rem, 4vw, 2.6rem); }
.legal__body h2 {
  font-size: 1.3rem; font-weight: 700; margin: 2rem 0 .8rem;
  padding-top: 1.4rem; border-top: 1px solid var(--border);
}
.legal__body h2:first-of-type { margin-top: .3rem; padding-top: 0; border-top: 0; }
.legal__body p { color: var(--muted); margin-bottom: 1rem; }
.legal__body ul { list-style: none; display: grid; gap: .55rem; margin: 0 0 1.2rem; }
.legal__body li { color: var(--muted); position: relative; padding-left: 1.4rem; }
.legal__body li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.legal__body a { color: var(--violet); }
.legal__body a:hover { color: var(--text); }
.legal__intro { font-size: 1.05rem; color: var(--text) !important; }
.legal__updated { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 2rem; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; inset: 72px 0 auto; flex-direction: column; align-items: stretch;
    gap: .3rem; padding: 1rem 1.2rem 1.6rem; background: rgba(10,10,22,.96);
    backdrop-filter: blur(14px); border-bottom: 1px solid var(--border);
    transform: translateY(-140%); transition: transform .35s ease; box-shadow: var(--shadow);
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: .9rem 1rem; }
  .nav__cta { text-align: center; margin-top: .4rem; }

  .about, .contact { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr; }
  .services, .plans { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .brand__word { font-size: 1.05rem; }
  .brand__logo svg { width: 38px; height: 34px; }
  .services, .plans { grid-template-columns: 1fr; }
  .footer__copy { justify-content: center; text-align: center; }
  .hero__actions .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
