/* ============================================================
   GradientSlop — Global Stylesheet
   Certainly! Here's a modern, professional stylesheet for your
   SaaS landing page. I've used a sleek dark theme with vibrant
   gradient accents to create a premium feel. Let me know if you'd
   like any adjustments!
   ============================================================ */

/* Fonts. I've included a few options so you can pick the one you prefer. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800;900&family=Poppins:wght@300;600;800;900&family=Montserrat:wght@300;900&family=Space+Grotesk:wght@300;700&family=Roboto:wght@300;900&display=swap');

:root {
  /* Colour palette, based on the Tailwind defaults for a consistent, modern look. */
  --indigo: #615fff;
  --violet: #8b5cf6;
  --purple: #a855f7;
  --orange: #ec4899; /* accent (renamed from orange; kept the variable name to avoid breaking references) */
  --slate-900: #0f172b;
  --bg: #040712;
  --text: #e2e8f0;
  --muted: #94a3b8;
  /* Primary brand gradient. Reused throughout for visual consistency. */
  --the-gradient: linear-gradient(90deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  --the-other-gradient: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
  --glow: 0 20px 60px rgba(124, 58, 237, 0.28);
  --glow-hover: 0 25px 70px rgba(124, 58, 237, 0.4);
  /* Border radius scale. */
  --r-1: 4px;
  --r-2: 7px;
  --r-3: 13px;
  --r-4: 17px;
  --r-5: 23px;
  --r-6: 32px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Poppins', 'Montserrat', 'Roboto', system-ui, sans-serif;
  font-weight: 300; /* Light body weight for a clean, airy feel. */
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
  padding-top: 72px;
  -webkit-font-smoothing: antialiased;
}


/* Header: transparent at top, frosted glass on scroll. Fixed: the transition was applied on the wrong class. */
header.site {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background .4s ease, backdrop-filter .4s ease, box-shadow .4s ease;
}
header.site.scrolled {
  background: rgba(4, 7, 18, 0.55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 10px 40px rgba(124,58,237,0.15);
}
.nav {
  max-width: 1280px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand .logo { width: 40px; height: 40px; border-radius: 12px; display: block; box-shadow: 0 0 22px rgba(168,85,247,.55); transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.brand:hover .logo { transform: rotate(-8deg) scale(1.08); }
.brand .word { font-family: 'Montserrat', sans-serif; font-weight: 900; letter-spacing: .16em; font-size: 20px; }
.brand .word sup { font-size: 10px; letter-spacing: 0; color: var(--muted); }
.brand .strap { display: block; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.brand .strap span { color: var(--orange); }

.nav ul { list-style: none; display: flex; gap: 22px; align-items: center; }
.nav a.link { color: #cbd5e1; text-decoration: none; font-size: 14px; font-weight: 600; transition: all .3s; position: relative; display: inline-block; }
.nav a.link:hover { color: #fff; text-shadow: 0 0 12px var(--purple), 0 0 24px var(--purple); transform: translateY(-2px); }
.nav a.link[href="admit-it.html"] { color: #fde68a; }
.nav .burger { display: none; background: none; border: 1px solid rgba(255,255,255,.2); color: #fff; padding: 6px 10px; border-radius: var(--r-2); font-size: 18px; cursor: pointer; }
.nav .toggle-dark { background: none; border: 1px solid rgba(255,255,255,.15); color: #fff; padding: 6px 10px; border-radius: 999px; cursor: pointer; font-size: 14px; }

/* Buttons. I've added a subtle lift and glow on hover to make them feel more interactive. */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer; border: 0;
  padding: 16px 32px; font-weight: 800; font-family: 'Poppins', sans-serif; font-size: 15px; letter-spacing: .02em;
  border-radius: var(--r-3); color: #fff;
  background: var(--the-gradient); box-shadow: var(--glow);
  transition: transform .15s cubic-bezier(.34,1.8,.64,1), box-shadow .3s;
  text-transform: uppercase;
}
.btn:hover { transform: translateY(-4px) scale(1.04); box-shadow: var(--glow-hover), 0 0 30px rgba(168,85,247,.6); animation: bounce .5s; }
.btn:active { transform: translateY(2px) scale(.97); }
.btn .arrow { transition: transform .3s; }
.btn:hover .arrow { transform: translateX(6px); }
.btn.ghost {
  background: rgba(139,92,246,.1); border: 1px solid rgba(167,139,250,.3); backdrop-filter: blur(16px);
  color: #ede9fe; box-shadow: none; border-radius: var(--r-4);
}
.btn.ghost:hover { background: rgba(139,92,246,.25); border-color: rgba(167,139,250,.6); }
.btn.small { padding: 10px 18px; font-size: 12px; border-radius: var(--r-2); }
.btn.white { background: #fff; color: var(--slate-900); border-radius: var(--r-6); }

/* Eyebrow label with animated indicator, used above section headings. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(255,255,255,.15); background: rgba(0,0,0,.25); backdrop-filter: blur(20px);
  border-radius: 999px; padding: 7px 16px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #e2e8f0;
  margin-bottom: 18px;
}
.eyebrow .dot { position: relative; width: 10px; height: 10px; }
.eyebrow .dot::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--orange); opacity: .5; animation: ping 1.2s cubic-bezier(0,0,.2,1) infinite; }
.eyebrow .dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--orange); }
.eyebrow.purple .dot::before, .eyebrow.purple .dot::after { background: var(--purple); }

/* Tags / chips. */
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag {
  font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(139,92,246,.15); color: #c4b5fd; border: 1px solid rgba(139,92,246,.35);
}
.tag.orange { background: rgba(236,72,153,.15); color: #f9a8d4; border-color: rgba(236,72,153,.35); }
.tag.green { background: rgba(34,197,94,.15); color: #86efac; border-color: rgba(34,197,94,.35); }
.tag.pink { background: rgba(236,72,153,.15); color: #f9a8d4; border-color: rgba(236,72,153,.35); }
.tag.new { background: var(--the-gradient); color: #fff; border: 0; animation: pulse 1.5s infinite; }

/* Typography. Bold headings for impact. */
h1, h2, h3, h4 { font-family: 'Poppins', 'Montserrat', 'Inter', sans-serif; font-weight: 900; line-height: 1.02; letter-spacing: -.04em; color: #fff; }
h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 18px; }
h3 { font-size: 1.35rem; margin-bottom: 8px; letter-spacing: -.02em; }
.gradient-text {
  background: var(--the-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
  /* Note: drop-shadow is used instead of text-shadow because text-shadow doesn't render on background-clipped text. */
  filter: drop-shadow(0 0 18px rgba(168,85,247,.55));
}
.glow-text { text-shadow: 0 0 10px var(--purple), 0 0 30px var(--purple), 0 0 60px var(--violet); }
.lead { font-size: 1.15rem; color: #cbd5e1; max-width: 680px; font-weight: 300; }
.lead.sub { color: var(--muted); font-size: 1rem; margin-top: 12px; }
.muted { color: var(--muted); }
p + p { margin-top: 12px; }
em.highlight { font-style: italic; color: #f9a8d4; }
u.random { text-decoration-color: var(--purple); text-underline-offset: 4px; }

/* Layout */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
section.block { padding: 96px 0; position: relative; }
section.block.tight { padding: 56px 0; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }
.grid { display: grid; gap: 22px; }
.grid > * { min-width: 0; } /* Fixed: code blocks were stretching grid columns on mobile. */
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--purple), transparent); margin: 0 auto; max-width: 900px; opacity: .6; }

/* Hero section with gradient blobs for depth. */
.hero { min-height: 92vh; display: grid; align-items: center; position: relative; overflow: hidden; padding: 64px 0; }
/* Hero background image. TODO: compress hero.jpg before launch (currently 3.3 MB). */
.hero .hero-img { position: absolute; inset: 0; z-index: 0; background: url('hero.jpg') center / cover no-repeat; transform: scale(1.015); }
.hero .hero-fade { position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(3,7,18,.93) 0%, rgba(5,8,23,.65) 45%, rgba(5,8,23,.24) 100%), linear-gradient(180deg, rgba(4,7,18,.12) 0%, transparent 40%, rgba(4,7,18,.95) 100%); }
.hero .two { display: grid; grid-template-columns: 1.12fr .88fr; gap: 56px; align-items: center; }
.hero .two > div { min-width: 0; } /* Fixed: heading was stretching the grid column instead of clipping. */
.blob { position: absolute; border-radius: 50%; filter: blur(140px); pointer-events: none; z-index: 0; }
.blob.v { width: 26rem; height: 26rem; background: rgba(124,58,237,.35); left: 8%; top: 12%; animation: float 9s ease-in-out infinite; }
.blob.o { width: 24rem; height: 24rem; background: rgba(236,72,153,.22); right: 10%; top: 28%; animation: float 11s ease-in-out infinite reverse; }
.blob.p { width: 30rem; height: 30rem; background: rgba(236,72,153,.18); left: 40%; bottom: -10%; animation: float 13s ease-in-out infinite; }
.hero .wrap { position: relative; z-index: 1; }
.hero .grid-bg {
  position: absolute; inset: 0; z-index: 0; opacity: .25;
  background-image: linear-gradient(rgba(139,92,246,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(139,92,246,.25) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
}
.hero-kicker { font-size: 13px; font-weight: 700; letter-spacing: .35em; text-transform: uppercase; color: #c4b5fd; margin-bottom: 14px; }
.hero h1 .clip {
  /* Large display line. Fixed: added overflow hidden so the text no longer breaks the layout on smaller screens. */
  display: block; font-size: clamp(4rem, 13vw, 11rem); white-space: nowrap; overflow: hidden; max-width: 100%;
  line-height: .95; letter-spacing: -.06em;
}
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero .trust { margin-top: 30px; display: flex; gap: 20px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--muted); }
.hero .trust .avatars { display: flex; }
.hero .trust .avatars span { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -8px; background: var(--the-other-gradient); display: grid; place-items: center; font-size: 13px; }
.hero .trust .stars { color: #fbbf24; letter-spacing: 2px; }

/* Dashboard mockup, built with CSS so it stays crisp at every size. */
.mock {
  border-radius: var(--r-5); border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  backdrop-filter: blur(20px); padding: 18px; box-shadow: var(--glow), inset 0 1px 0 rgba(255,255,255,.1);
  transform: perspective(1200px) rotateY(-8deg) rotateX(4deg); transition: transform .6s;
}
.mock:hover { transform: perspective(1200px) rotateY(0) rotateX(0) translateY(-6px); }
.mock .bar { display: flex; gap: 6px; margin-bottom: 14px; }
.mock .bar i { width: 10px; height: 10px; border-radius: 50%; background: #475569; display: block; }
.mock .bar i:nth-child(1) { background: #ef4444; } .mock .bar i:nth-child(2) { background: #f59e0b; } .mock .bar i:nth-child(3) { background: #22c55e; }
.mock .row { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; margin-bottom: 10px; }
.mock .tile { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-3); padding: 12px; font-size: 12px; }
.mock .tile b { display: block; font-size: 22px; font-family: 'Space Grotesk', monospace; font-weight: 700; color: #fff; }
.mock .tile small { color: var(--muted); }
.mock .chart { display: flex; align-items: flex-end; gap: 6px; height: 80px; margin-top: 8px; }
.mock .chart i { flex: 1; background: var(--the-gradient); border-radius: 4px 4px 0 0; display: block; opacity: .85; animation: grow 1.4s ease both; }
.mock .chart i:nth-child(odd) { opacity: .55; }

/* Cards, with a hover lift for interactivity. */
.card {
  position: relative; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r-4); padding: 30px 26px; overflow: hidden;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s, border-color .3s;
}
.card:hover {
  transform: translateY(-12px) rotate(-1.2deg) scale(1.03);
  box-shadow: 0 30px 80px rgba(124,58,237,.35), 0 0 0 1px rgba(168,85,247,.5);
  border-color: rgba(168,85,247,.6);
  z-index: 2;
}
/* Mouse-tracking highlight on hover (uses --mx / --my set in main.js). */
.card::before {
  content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(168,85,247,.35), transparent 60%);
  left: var(--mx, 50%); top: var(--my, 50%); transform: translate(-50%,-50%); opacity: 0; transition: opacity .3s;
}
.card:hover::before { opacity: 1; }
/* Left accent bar. Fixed: switched from border-image to a pseudo-element so the card keeps its border radius. */
.card.leftline::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--the-gradient); }
.card .icon { font-size: 52px; line-height: 1; margin-bottom: 18px; display: block; filter: drop-shadow(0 0 12px rgba(168,85,247,.6)); } 
.card .icon.boxed { width: 64px; height: 64px; border-radius: var(--r-3); background: var(--the-gradient); display: grid; place-items: center; font-size: 28px; }
.card p { font-size: 14px; color: var(--muted); }
.card .num {
  font-family: 'Space Grotesk', monospace; font-size: 13px; font-weight: 700; letter-spacing: .3em; color: var(--purple);
  margin-bottom: 14px; display: block;
}
.card .num::before { content: '// '; opacity: .5; }
.card.numbered::after { /* Decorative watermark number */
  content: attr(data-n); position: absolute; right: -6px; bottom: -28px; font-size: 120px; font-weight: 900; font-family: 'Montserrat', sans-serif;
  color: rgba(139,92,246,.09); pointer-events: none; line-height: 1;
}
.card.featured { background: linear-gradient(160deg, rgba(124,58,237,.22), rgba(249,115,22,.12)); border-color: rgba(168,85,247,.5); border-radius: var(--r-6); }
.card.wide { grid-column: span 2; }

/* Stats with animated counters. */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.stat { text-align: center; padding: 28px 12px; border-radius: var(--r-5); border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); }
.stat b { display: block; font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 900; font-family: 'Montserrat', sans-serif; letter-spacing: -.04em; }
.stat small { color: var(--muted); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; font-weight: 600; }

/* Client logo strip. Replace with real logos when available. */
.logos { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; opacity: .5; font-weight: 900; font-family: 'Montserrat', sans-serif; letter-spacing: .1em; font-size: 18px; filter: grayscale(1); }
.logos span { display: flex; align-items: center; gap: 8px; }

/* Testimonials */
.quote { display: flex; flex-direction: column; gap: 16px; }
.quote .stars { color: #fbbf24; letter-spacing: 3px; font-size: 14px; }
.quote blockquote { font-size: 15px; color: #cbd5e1; font-style: italic; font-weight: 300; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--the-other-gradient); display: grid; place-items: center; font-weight: 900; font-family: 'Montserrat', sans-serif; color: #fff; box-shadow: 0 0 16px rgba(168,85,247,.6); flex-shrink: 0; }
.quote .who b { display: block; color: #fff; font-weight: 700; font-size: 14px; }
.quote .who small { color: var(--muted); font-size: 12px; }
.quote .verified { font-size: 10px; color: #86efac; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }

/* Pricing */
.price { text-align: left; }
.price .amount { font-size: 3.2rem; font-weight: 900; font-family: 'Montserrat', sans-serif; letter-spacing: -.05em; line-height: 1; margin: 14px 0 4px; }
.price .amount small { font-size: 1rem; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.price ul { list-style: none; margin: 22px 0; display: grid; gap: 10px; font-size: 14px; color: #cbd5e1; }
.price ul li::before { content: '✅ '; }
.price ul li.no { color: var(--muted); text-decoration: line-through; }
.price ul li.no::before { content: '❌ '; }
.price .popular { position: absolute; top: 16px; right: -34px; transform: rotate(38deg); background: var(--the-gradient); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .15em; padding: 6px 44px; text-transform: uppercase; }
.switch { display: inline-flex; gap: 6px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; padding: 4px; margin: 10px 0 34px; }
.switch button { border: 0; background: transparent; color: var(--muted); padding: 8px 18px; border-radius: 999px; font-weight: 700; cursor: pointer; font-family: inherit; }
.switch button.on { background: var(--the-gradient); color: #fff; }

/* Accordion (FAQ). */
details { border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-3); background: rgba(255,255,255,.03); margin-bottom: 12px; transition: all .3s; }
details:hover { border-color: rgba(168,85,247,.5); transform: translateX(6px); }
details summary { cursor: pointer; padding: 18px 22px; font-weight: 700; color: #fff; list-style: none; display: flex; justify-content: space-between; align-items: center; font-family: 'Poppins', sans-serif; gap: 12px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '＋'; color: var(--purple); font-size: 22px; transition: transform .3s; flex-shrink: 0; }
details[open] summary::after { transform: rotate(45deg); }
details .a { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* Timeline / roadmap */
.timeline { display: grid; gap: 14px; position: relative; padding-left: 28px; border-left: 2px solid rgba(139,92,246,.4); }
.timeline .t { position: relative; }
.timeline .t::before { content: ''; position: absolute; left: -35px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--the-gradient); box-shadow: 0 0 12px var(--purple); }
.timeline .t b { color: #fff; display: block; }
.timeline .t small { color: var(--purple); font-family: 'Space Grotesk', monospace; letter-spacing: .1em; }

/* Code sample. */
pre.code { background: #0b1020; border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-3); padding: 20px; font-family: 'Space Grotesk', ui-monospace, monospace; font-size: 13px; color: #c4b5fd; overflow-x: auto; line-height: 1.6; }
pre.code .c { color: #64748b; font-style: italic; }
pre.code .k { color: #f472b6; }
pre.code .s { color: #86efac; }

/* Tables */
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th, table.t td { text-align: left; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
table.t th { color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
table.t td { color: #cbd5e1; }
.tablewrap { overflow-x: auto; }

/* Forms */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-2); padding: 12px 14px; color: #fff; font-family: inherit; font-size: 15px; width: 100%; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(168,85,247,.25); }

/* CTA banner */
.cta { border-radius: var(--r-6); padding: 72px 40px; text-align: center; background: var(--the-other-gradient); position: relative; overflow: hidden; box-shadow: var(--glow); }
.cta::before { content: '✨'; position: absolute; font-size: 200px; opacity: .12; right: -20px; top: -40px; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.85); max-width: 600px; margin: 0 auto 28px; }

/* Footer */
footer.site { border-top: 1px solid rgba(255,255,255,.08); padding: 64px 0 84px; /* bottom padding clears the fixed server tag and chat button */ margin-top: 40px; background: linear-gradient(180deg, transparent, rgba(124,58,237,.08)); }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
footer h4 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; color: #fff; }
footer ul { list-style: none; display: grid; gap: 8px; }
footer a { color: var(--muted); text-decoration: none; font-size: 14px; transition: all .2s; display: inline-block; }
footer a:hover { color: #fff; padding-left: 6px; text-shadow: 0 0 10px var(--purple); }
footer .social { display: flex; gap: 10px; margin-top: 14px; }
footer .social a { width: 38px; height: 38px; border-radius: var(--r-2); border: 1px solid rgba(255,255,255,.12); display: grid; place-items: center; font-size: 16px; }
footer .social a:hover { padding-left: 0; background: var(--the-gradient); transform: translateY(-4px) rotate(8deg); }
footer .legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.06); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--muted); }
footer .madewith { font-size: 12px; color: var(--muted); }
footer .madewith s { opacity: .6; }

/* Cookie banner. */
.cookie {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 950; max-width: 720px; margin: 0 auto;
  background: rgba(15,23,43,.92); backdrop-filter: blur(20px); border: 1px solid rgba(168,85,247,.5);
  border-radius: var(--r-5); padding: 20px 24px; box-shadow: var(--glow); display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
  transform: translateY(140%); transition: transform .6s cubic-bezier(.34,1.56,.64,1);
}
.cookie.show { transform: translateY(0); }
.cookie p { font-size: 13px; color: #cbd5e1; flex: 1 1 320px; }
.cookie .acts { display: flex; gap: 8px; flex-wrap: wrap; }

/* Toast */
.toast { position: fixed; top: 84px; left: 50%; transform: translate(-50%, -30px); opacity: 0; z-index: 990; background: rgba(15,23,43,.95); border: 1px solid rgba(168,85,247,.5); border-radius: var(--r-3); padding: 12px 18px; font-size: 13px; color: #fff; box-shadow: var(--glow); transition: all .4s; pointer-events: none; max-width: 90vw; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* AI assistant chat widget. */
.chatbtn { position: fixed; right: 22px; bottom: 22px; z-index: 960; width: 60px; height: 60px; border-radius: 50%; background: var(--the-gradient); border: 0; color: #fff; font-size: 26px; cursor: pointer; box-shadow: var(--glow); animation: pulse 2s infinite; }
.chat { position: fixed; right: 22px; bottom: 94px; z-index: 960; width: 340px; max-width: calc(100vw - 44px); background: rgba(15,23,43,.97); border: 1px solid rgba(168,85,247,.5); border-radius: var(--r-5); box-shadow: var(--glow); display: none; flex-direction: column; overflow: hidden; }
.chat.open { display: flex; }
.chat .head { padding: 14px 16px; background: var(--the-gradient); font-weight: 800; font-family: 'Poppins', sans-serif; font-size: 14px; display: flex; justify-content: space-between; }
.chat .head button { background: none; border: 0; color: #fff; cursor: pointer; font-size: 16px; }
.chat .log { padding: 14px; display: grid; gap: 10px; max-height: 300px; overflow-y: auto; font-size: 13px; }
.chat .m { padding: 10px 12px; border-radius: var(--r-3); max-width: 90%; }
.chat .m.bot { background: rgba(139,92,246,.18); border-bottom-left-radius: 2px; }
.chat .m.me { background: rgba(255,255,255,.08); margin-left: auto; border-bottom-right-radius: 2px; }
.chat form { display: flex; border-top: 1px solid rgba(255,255,255,.1); }
.chat input { flex: 1; background: transparent; border: 0; padding: 12px 14px; color: #fff; font-family: inherit; min-width: 0; }
.chat button.send { background: transparent; border: 0; color: var(--purple); font-weight: 800; padding: 0 14px; cursor: pointer; }

/* Login page. */
.authwrap { min-height: 70vh; display: grid; place-items: center; padding: 40px 0; position: relative; overflow: hidden; }
.auth .sso { flex-wrap: wrap; }
.auth { width: 100%; max-width: 440px; border-radius: var(--r-5); }
.auth .or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; margin: 18px 0; }
.auth .or::before, .auth .or::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.1); }
.auth .sso { display: flex; gap: 8px; }
.auth .sso .btn { flex: 1; justify-content: center; }
.autherr { display: none; margin-top: 16px; border: 1px solid rgba(239,68,68,.5); background: rgba(239,68,68,.08); border-radius: var(--r-2); padding: 12px 14px; font-family: 'Space Grotesk', ui-monospace, monospace; font-size: 12px; color: #fca5a5; white-space: pre-wrap; word-break: break-word; }
.autherr.show { display: block; }


/* Reveal on scroll. */
.reveal { opacity: 0; transform: translateY(40px) scale(.97); transition: opacity .8s ease, transform .8s cubic-bezier(.34,1.56,.64,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; } .reveal.d4 { transition-delay: .4s; } .reveal.d5 { transition-delay: .5s; } .reveal.d6 { transition-delay: .6s; }

/* Marquee. */
.marquee { overflow: hidden; white-space: nowrap; border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); padding: 14px 0; }
.marquee .track { display: inline-block; animation: marquee 28s linear infinite; font-family: 'Montserrat', sans-serif; font-weight: 900; letter-spacing: .25em; text-transform: uppercase; font-size: 14px; color: var(--muted); }
.marquee .track span::after { content: ' ✦ '; color: var(--purple); }

/* Page hero for inner pages */
.pagehead { padding: 80px 0 40px; position: relative; overflow: hidden; }
.pagehead .blob { opacity: .8; }
.prose { max-width: 820px; }
.prose h2 { font-size: 1.9rem; margin-top: 44px; }
.prose h3 { margin-top: 28px; }
.prose ul, .prose ol { margin: 12px 0 12px 22px; color: #cbd5e1; }
.prose li { margin-bottom: 6px; }
.prose hr { border: 0; height: 1px; background: rgba(255,255,255,.1); margin: 32px 0; }
.prose strong { color: #fff; }
.prose a { color: #c4b5fd; }
.callout { position: relative; overflow: hidden; background: rgba(139,92,246,.08); padding: 18px 22px 18px 26px; margin: 22px 0; border-radius: var(--r-3); font-size: 15px; }
.callout::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--the-gradient); }
.callout b { color: #fff; }

/* Compliance badges. */
.badges { display: flex; gap: 14px; flex-wrap: wrap; }
.badge { border: 2px solid rgba(255,255,255,.15); border-radius: var(--r-3); padding: 12px 16px; text-align: center; min-width: 120px; background: rgba(255,255,255,.03); }
.badge b { display: block; font-size: 22px; }
.badge small { display: block; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.badge s { display: block; font-size: 9px; color: #f87171; }

/* Keyframes. */
@keyframes ping { 75%, 100% { transform: scale(2.4); opacity: 0; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(168,85,247,.6); } 50% { box-shadow: 0 0 0 14px rgba(168,85,247,0); } }
@keyframes float { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(30px,-30px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bounce { 0%,100% { transform: translateY(-4px) scale(1.04); } 50% { transform: translateY(-10px) scale(1.06); } }
@keyframes grow { from { transform: scaleY(0); transform-origin: bottom; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes shimmer { to { background-position: 200% center; } }
.shimmer { background: linear-gradient(90deg, #a855f7, #ec4899, #a855f7); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 3s linear infinite; }

/* Responsive. I've made the layout fully responsive as requested. */
@media (max-width: 1024px) {
  .grid.c4 { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); }
  footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .grid.c3, .grid.c2 { grid-template-columns: 1fr; }
  .card.wide { grid-column: span 1; }
  .nav ul { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(4,7,18,.97); flex-direction: column; padding: 18px 24px; gap: 14px; border-bottom: 1px solid rgba(255,255,255,.1); align-items: flex-start; }
  .nav ul.open { display: flex; }
  .nav .burger { display: block; }
  .hero { min-height: auto; }
  .hero .two { grid-template-columns: 1fr; }
  .mock { transform: none; }
  section.block { padding: 64px 0; }
  .brand .strap { display: none; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr; }
  .btn { padding: 14px 20px; font-size: 13px; }
  .cookie { left: 10px; right: 10px; bottom: 10px; }
  .chat { right: 10px; }
  .srvtag { left: 10px; bottom: 10px; }
  .chatbtn { right: 10px; bottom: 10px; }
}

/* Reduced motion. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Light mode. TODO. */
body.light { }

/* Utilities. */
.mt-0{margin-top:0}.mt-1{margin-top:4px}.mt-2{margin-top:8px}.mt-3{margin-top:12px}.mt-4{margin-top:16px}.mt-6{margin-top:24px}.mt-8{margin-top:32px}.mt-12{margin-top:48px}.mb-4{margin-bottom:16px}.mb-8{margin-bottom:32px}.flex{display:flex}.gap-2{gap:8px}.gap-4{gap:16px}.items-center{align-items:center}.justify-between{justify-content:space-between}.text-sm{font-size:13px}.text-xs{font-size:11px}.font-bold{font-weight:700}.uppercase{text-transform:uppercase}.tracking-widest{letter-spacing:.2em}.rounded-full{border-radius:999px}.hidden{display:none}.w-full{width:100%}.relative{position:relative}.z-10{z-index:10}

/* Server status indicator. TODO: hide when there are no errors. */
.srvtag { position: fixed; left: 22px; bottom: 22px; z-index: 960; display: inline-flex; align-items: center; gap: 8px; background: rgba(15,23,43,.9); backdrop-filter: blur(12px); color: #fca5a5; border: 1px solid rgba(239,68,68,.45); border-radius: 999px; padding: 8px 14px; font: 600 12px/1 'Space Grotesk', ui-monospace, monospace; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.srvtag .dot { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 0 rgba(239,68,68,.6); animation: pulse 1.6s infinite; }

section.block, .pagehead, .authwrap { position: relative; }
