/* VK Analytics – Core Styles */
:root {
  --bg: #0e0f17;
  --bg-alt: #161827;
  --bg-soft: #1f2233;
  --text: #d9deef;
  --text-dim: #9aa3bf;
  --primary: #6366f1;
  --primary-accent: #818cf8;
  --danger: #ef4444;
  --accent: linear-gradient(90deg,#6366f1,#a855f7,#ec4899);
  --radius-sm: 4px;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 4px 16px -4px rgba(0,0,0,.4),0 2px 4px -1px rgba(0,0,0,.3);
  --gradient-text: linear-gradient(90deg,#6366f1,#a855f7 40%,#ec4899 80%);
  --max-width: 1200px;
  --transition: 0.25s cubic-bezier(.4,.2,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin:0; font-family:'Inter',system-ui,sans-serif; background:var(--bg); color:var(--text); -webkit-font-smoothing:antialiased;
}
img { max-width:100%; display:block; }
a { color:var(--primary-accent); text-decoration:none; }
a:hover { text-decoration:underline; }

/* Layout */
.container { width:100%; max-width:var(--max-width); margin:0 auto; padding:0 2rem; }
.flex-between { display:flex; align-items:center; justify-content:space-between; }
.two-col { display:grid; grid-template-columns:repeat(auto-fit,minmax(340px,1fr)); gap:3rem; align-items:start; }

/* Header */
header { padding: 10px 0px; }
.site-header { position:sticky; top:0; z-index:50; background:rgba(14,15,23,.85); backdrop-filter:saturate(180%) blur(14px); border-bottom:1px solid #202431; }
.site-header.minimal { background:rgba(14,15,23,.95); }
.logo { font-weight:700; font-size:1.3rem; letter-spacing:.5px; }
.logo span { background:var(--accent); -webkit-background-clip:text; background-clip:text; color:transparent; }
.main-nav { height: fit-content; display:flex; gap:1.4rem; align-items:center; }
.main-nav a { font-weight:500; font-size:.95rem; color:var(--text-dim); position:relative; }
.main-nav a:hover { color:var(--text); }
.nav-toggle { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; }
.nav-toggle span { width:26px; height:2px; background:#fff; transition:var(--transition); }
.nav-close { display:none; position:absolute; top:1.1rem; right:1.1rem; background:#20263a; border:1px solid #2f364a; color:#fff; font-size:1rem; width:38px; height:38px; border-radius:50%; cursor:pointer; align-items:center; justify-content:center; font-weight:600; letter-spacing:.5px; }
.nav-close:hover { background:#2a3145; }

/* Hero */
.hero { position:relative; padding:7.5rem 0 5rem; overflow:hidden; }
.hero .container { position:relative; z-index:2; }
.hero-bg-overlay { position:absolute; inset:0; background:radial-gradient(circle at 30% 20%,#3b3f72 0%,transparent 60%),radial-gradient(circle at 80% 70%,#452f52 0%,transparent 65%),radial-gradient(circle at 60% 40%,#2a2f55 0%,transparent 65%); opacity:.55; }
.hero h1 { font-size:clamp(2.6rem,5vw,3.8rem); line-height:1.1; margin:0 0 1.3rem; font-weight:800; }
.hero h1 .gradient { background:var(--gradient-text); -webkit-background-clip:text; background-clip:text; color:transparent; }
.lead { font-size:1.15rem; max-width:760px; color:var(--text-dim); line-height:1.55; }
.hero-cta { margin-top:2rem; display:flex; gap:1rem; flex-wrap:wrap; }
.swim-lanes { display:flex; gap:.75rem; margin-top:3rem; flex-wrap:wrap; }
.swim-lanes .lane { background:var(--bg-soft); padding:.55rem 1rem; border-radius:999px; font-size:.75rem; letter-spacing:.5px; text-transform:uppercase; font-weight:600; color:var(--text-dim); border:1px solid #262b3d; }

/* Buttons */
.btn { --btn-bg:var(--bg-soft); display:inline-flex; align-items:center; justify-content:center; padding:.75rem 1.2rem; border-radius:var(--radius-sm); font-weight:600; font-size:.9rem; color:#fff; background:var(--btn-bg); border:1px solid #2a3145; text-decoration:none; position:relative; overflow:hidden; transition:var(--transition); }
.btn.small { padding:.55rem .9rem; font-size:.75rem; }
.btn.primary { --btn-bg:var(--accent); border:none; }
.btn.ghost { background:transparent; border:1px solid #333a52; color:var(--text-dim); }
.btn:hover { filter:brightness(1.15); text-decoration:none; color:#fff; }

/* Sections */
.section { padding:5rem 0; position:relative; }
.section.alt { background:var(--bg-alt); }
.section-title { font-size:2.1rem; margin:0 0 2.5rem; font-weight:700; }

.grid { display:grid; gap:2rem; }
.features-grid { grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); }
.feature-card { background:var(--bg-soft); padding:1.4rem 1.3rem 1.6rem; border-radius:var(--radius); position:relative; border:1px solid #262c3e; box-shadow:var(--shadow); }
.feature-card h3 { margin:.2rem 0 .6rem; font-size:1.05rem; }
.feature-card p { margin:0; font-size:.85rem; line-height:1.5; color:var(--text-dim); }

/* Process Card */
.card.stack { background:var(--bg-soft); padding:1.8rem 1.6rem; border-radius:var(--radius-lg); border:1px solid #262c3e; box-shadow:var(--shadow); display:flex; flex-direction:column; gap:.8rem; }
.mini-step { background:#20263a; padding:.75rem .9rem; border-radius:var(--radius-sm); font-size:.8rem; display:flex; gap:.6rem; align-items:center; letter-spacing:.3px; }
.mini-step span { width:20px; height:20px; display:inline-flex; align-items:center; justify-content:center; background:var(--primary); color:#fff; font-size:.65rem; font-weight:600; border-radius:50%; }

/* Comparison */
.comparison { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:2rem; }
.comparison .col { background:var(--bg-soft); padding:1.6rem 1.4rem; border-radius:var(--radius); border:1px solid #262c3e; }
.comparison .col.ai { background:linear-gradient(145deg,#23283a 0%,#2d2742 60%); }
.comparison h3 { margin-top:0; }
.comparison ul { margin:0; padding-left:1.1rem; display:flex; flex-direction:column; gap:.45rem; font-size:.85rem; color:var(--text-dim); }
.note { margin-top:1.5rem; font-size:.8rem; color:var(--text-dim); }

/* Ethics */
.ethics-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:.85rem; margin:2rem 0 0; padding:0; list-style:none; }
.ethics-list li { background:var(--bg-soft); padding:.85rem 1rem; border-radius:var(--radius-sm); font-size:.8rem; border:1px solid #262c3e; color:var(--text-dim); }

/* Contact */
.contact .narrow { max-width:600px; text-align:center; }
.big-email { font-size:1.3rem; font-weight:600; display:inline-block; margin:1rem 0 1.2rem; background:var(--gradient-text); -webkit-background-clip:text; background-clip:text; color:transparent; }
.small-print { font-size:.7rem; color:var(--text-dim); }

/* Footer */
.site-footer { background:#0b0c13; padding:3.2rem 0 1.5rem; margin-top:2rem; border-top:1px solid #202431; }
.site-footer.minimal { padding:1.5rem 0; }
.footer-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:2rem; }
.footer-bottom { margin-top:2.5rem; font-size:.7rem; text-align:center; color:#5f6680; }
.tagline { font-size:.75rem; color:var(--text-dim); max-width:180px; }

/* Legal Pages */
.legal-page main { padding-top:4rem; }
.legal h1 { font-size:2.4rem; margin:.5rem 0 1rem; }
.effective-date { font-size:.75rem; letter-spacing:.5px; text-transform:uppercase; color:var(--text-dim); margin-top:-.5rem; }
.legal h2 { margin:2.4rem 0 1rem; font-size:1.15rem; }
.legal h3 { margin:1.8rem 0 .5rem; font-size:1rem; }
.legal p, .legal ul { font-size:.85rem; line-height:1.55; color:var(--text-dim); max-width:860px; }
.legal ul { padding-left:1.2rem; }
.return-link { margin:3rem 0 2rem; }

/* Utilities */
.narrow { max-width:760px; margin:0 auto; }
.section.contact { background:linear-gradient(160deg,#161827,#1e2132 60%,#231d33); position:relative; }
.section.contact:before { content:""; position:absolute; inset:0; background:radial-gradient(circle at 70% 30%,rgba(99,102,241,.15),transparent 60%),radial-gradient(circle at 20% 70%,rgba(236,72,153,.15),transparent 65%); opacity:.7; }

/* Responsive Nav */
@media (max-width: 880px) {
  .main-nav { position:fixed; inset:0; background:rgba(14,15,23,.97); backdrop-filter:saturate(180%) blur(18px); flex-direction:column; padding:6rem 2rem 2.5rem; gap:1.4rem; transform:translateY(-100%); transition:var(--transition); box-shadow:0 8px 32px -8px rgba(0,0,0,.6); }
  .main-nav.open { transform:translateY(0); }
  .nav-toggle { display:flex; }
  body.nav-open { overflow:hidden; }
  .nav-close { display:flex; }
}

/* Mobile tweaks */
@media (max-width:600px) {
  .hero { padding:6.2rem 0 4rem; }
  .hero h1 { font-size:clamp(2.2rem,9vw,3.2rem); }
  .hero-cta { flex-direction:column; align-items:stretch; }
}
