/* ViralGrowth — site styles */
:root {
  --bg: #07060b;
  --bg-2: #0e0c16;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --text: #f4f2fa;
  --muted: #a29fb3;
  --faint: #6f6b82;
  --violet: #8b5cf6;
  --pink: #ec4899;
  --orange: #fb923c;
  --grad: linear-gradient(120deg, #8b5cf6 0%, #ec4899 55%, #fb923c 100%);
  --radius: 20px;
  --max: 1160px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Ambient background */
.glow {
  position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(600px 400px at 85% -5%, rgba(236, 72, 153, 0.18), transparent 70%),
    radial-gradient(700px 500px at 5% 10%, rgba(139, 92, 246, 0.20), transparent 70%),
    radial-gradient(600px 400px at 50% 110%, rgba(251, 146, 60, 0.10), transparent 70%);
}
.grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  background: rgba(7, 6, 11, 0.65);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.logo svg { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.menu-toggle { display: none; background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; }
.menu-toggle svg { width: 24px; height: 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 30px -8px rgba(236, 72, 153, 0.6); }
.btn-primary:hover { box-shadow: 0 12px 40px -8px rgba(236, 72, 153, 0.75); }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.nav-links .btn { color: #fff; }

/* Hero */
.hero { position: relative; padding: 96px 0 80px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 24px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.15); margin-left: 4px; }
.hero h1 { font-size: clamp(42px, 6.2vw, 76px); margin-bottom: 24px; }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 540px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 48px; color: var(--faint); font-size: 14px; }
.hero-meta span { display: flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--muted); }

/* Phone mockups */
.phones { position: relative; height: 560px; }
.phone {
  position: absolute; width: 250px; height: 520px; border-radius: 42px;
  background: linear-gradient(160deg, #1c1828, #0d0b14);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.8), inset 0 0 0 6px #050409;
  padding: 18px; overflow: hidden;
}
.phone::before {
  content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 24px; border-radius: 20px; background: #050409; z-index: 2;
}
.phone-a { right: 120px; top: 0; transform: rotate(-6deg); z-index: 2; animation: float 7s ease-in-out infinite; }
.phone-b { right: 0; top: 40px; transform: rotate(7deg); opacity: .9; animation: float 8s ease-in-out infinite reverse; }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.screen { position: relative; height: 100%; border-radius: 28px; overflow: hidden; padding: 52px 16px 16px; }
.screen-a { background: radial-gradient(120% 70% at 50% 0%, rgba(236,72,153,.45), transparent 60%), #0f0b18; }
.screen-b { background: radial-gradient(120% 70% at 50% 0%, rgba(139,92,246,.45), transparent 60%), #0d0b16; }
.app-title { font-size: 26px; font-weight: 800; letter-spacing: -0.04em; margin-bottom: 4px; }
.app-sub { font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.skeleton { border-radius: 14px; background: rgba(255,255,255,0.06); margin-bottom: 10px; }
.skeleton.hl { background: var(--grad); opacity: .85; }
.pill-row { display: flex; gap: 6px; margin-bottom: 14px; }
.pill-row span { height: 22px; border-radius: 999px; background: rgba(255,255,255,0.08); flex: 1; }
.pill-row span:first-child { background: rgba(236,72,153,.5); }

/* Sections */
section { position: relative; }
.section { padding: 110px 0; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.section h2 { font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 18px; }
.section-head p { color: var(--muted); font-size: 18px; }

/* Marquee strip */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 22px 0; overflow: hidden; background: rgba(255,255,255,0.015); }
.strip-track { display: flex; gap: 56px; width: max-content; animation: marquee 32s linear infinite; }
.strip-track span { display: flex; align-items: center; gap: 56px; color: var(--faint); font-weight: 600; font-size: 15px; letter-spacing: 0.02em; white-space: nowrap; }
.strip-track span::after { content: "✦"; color: var(--pink); opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Cards */
.cards { display: grid; gap: 20px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px; overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.card:hover { border-color: rgba(255,255,255,0.16); transform: translateY(-2px); }
.card h3 { font-size: 22px; margin-bottom: 10px; letter-spacing: -0.02em; }
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(139,92,246,.25), rgba(236,72,153,.2));
  border: 1px solid rgba(255,255,255,0.1); margin-bottom: 22px;
}
.icon svg { width: 22px; height: 22px; color: #fff; }

/* App cards */
.app-card { padding: 40px; min-height: 340px; display: flex; flex-direction: column; }
.app-card::before {
  content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%;
  top: -180px; right: -120px; filter: blur(60px); opacity: .45; z-index: 0;
}
.app-card.hyped::before { background: var(--pink); }
.app-card.next::before { background: var(--violet); }
.app-card > * { position: relative; z-index: 1; }
.app-icon {
  width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center;
  font-weight: 800; font-size: 30px; letter-spacing: -0.04em; margin-bottom: 28px;
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.6);
}
.hyped .app-icon { background: var(--grad); }
.next .app-icon { background: linear-gradient(135deg, #312e81, #6d28d9); border: 1px dashed rgba(255,255,255,0.3); }
.badge {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(251, 146, 60, 0.12); color: #fdba74; border: 1px solid rgba(251, 146, 60, 0.25);
  margin-bottom: 16px;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.app-card h3 { font-size: 34px; margin-bottom: 12px; }
.app-card .foot { margin-top: auto; padding-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.tag { font-size: 13px; color: var(--muted); padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); }

/* Company details */
.company { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.details dl { margin: 0; }
.details .row { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 18px 28px; border-bottom: 1px solid var(--border); }
.details .row:last-child { border-bottom: 0; }
.details dt { color: var(--faint); font-size: 14px; font-weight: 500; }
.details dd { margin: 0; font-weight: 500; }
.details dd a { color: #f9a8d4; border-bottom: 1px solid rgba(249,168,212,.3); }
.status { display: inline-flex; align-items: center; gap: 8px; color: #86efac; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.verify-note { display: flex; gap: 14px; margin-top: 28px; padding: 20px; border-radius: 16px; background: rgba(139,92,246,0.08); border: 1px solid rgba(139,92,246,0.2); color: var(--muted); font-size: 15px; }
.verify-note svg { flex-shrink: 0; width: 22px; height: 22px; color: #c4b5fd; margin-top: 2px; }

/* Contact */
.contact-box {
  position: relative; border-radius: 28px; padding: 72px 48px; text-align: center; overflow: hidden;
  background: radial-gradient(80% 120% at 50% 0%, rgba(236,72,153,.25), transparent 60%), var(--bg-2);
  border: 1px solid var(--border);
}
.contact-box h2 { font-size: clamp(32px, 4.6vw, 56px); margin-bottom: 16px; }
.contact-box p { color: var(--muted); font-size: 18px; max-width: 560px; margin: 0 auto 36px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; text-align: left; }
.contact-item { padding: 22px; border-radius: 16px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); }
.contact-item small { display: block; color: var(--faint); font-size: 13px; margin-bottom: 6px; }
.contact-item a, .contact-item span { font-weight: 600; word-break: break-word; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 64px 0 40px; margin-top: 40px; color: var(--muted); font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-top h4 { color: var(--text); font-size: 14px; font-weight: 600; letter-spacing: 0; margin-bottom: 16px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-top a:hover { color: var(--text); }
.footer-about p { margin-top: 16px; max-width: 320px; }
.footer-legal { border-top: 1px solid var(--border); padding-top: 28px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: var(--faint); font-size: 13px; line-height: 1.7; }
.footer-legal p { margin: 0; max-width: 760px; }

/* Legal pages */
.page-hero { padding: 88px 0 40px; position: relative; }
.page-hero h1 { font-size: clamp(38px, 5.4vw, 60px); margin-bottom: 14px; }
.page-hero p { color: var(--muted); font-size: 17px; }
.legal { display: grid; grid-template-columns: 240px 1fr; gap: 64px; padding: 24px 0 100px; }
.toc { position: sticky; top: 100px; align-self: start; font-size: 14px; }
.toc h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; border-left: 1px solid var(--border); }
.toc a { display: block; padding-left: 16px; color: var(--muted); margin-left: -1px; border-left: 1px solid transparent; }
.toc a:hover { color: var(--text); border-left-color: var(--pink); }
.prose { max-width: 760px; color: #d6d3e2; }
.prose h2 { font-size: 24px; margin: 48px 0 16px; letter-spacing: -0.02em; color: var(--text); scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 28px 0 10px; color: var(--text); }
.prose ul { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose a { color: #f9a8d4; border-bottom: 1px solid rgba(249,168,212,.3); }
.prose strong { color: var(--text); }
.prose .callout { padding: 20px 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); margin: 0 0 28px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { color: var(--text); font-weight: 600; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 4px 24px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 12px; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .phone-a, .phone-b, .strip-track, .badge::before { animation: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-inner, .company { grid-template-columns: 1fr; }
  .phones { height: 480px; max-width: 460px; margin: 0 auto; width: 100%; }
  .phone { width: 220px; height: 450px; }
  .phone-a { right: auto; left: 0; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .legal { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; }
}
@media (max-width: 760px) {
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(7, 6, 11, 0.97); border-bottom: 1px solid var(--border); padding: 8px 24px 24px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-links .btn { margin-top: 16px; border-bottom: 0; }
  .menu-toggle { display: block; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 80px 0; }
  .cards-2, .cards-3, .contact-grid { grid-template-columns: 1fr; }
  .details .row { grid-template-columns: 1fr; gap: 4px; padding: 16px 20px; }
  .contact-box { padding: 56px 24px; }
  .app-card { padding: 32px; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .phones { height: 420px; }
  .phone { width: 190px; height: 390px; border-radius: 36px; }
  .phone-b { top: 30px; }
}

/* Discreet company details in footer */
.footer-legal a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.2); text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--muted); }
