/* ===== Tokens ===== */
:root {
  --bg: #06070d;
  --bg-alt: #0a0c17;
  --panel: rgba(255,255,255,0.035);
  --panel-border: rgba(255,255,255,0.09);
  --text: #f4f5fa;
  --muted: #9aa0b4;
  --violet: #7c5cff;
  --cyan: #33e6c8;
  --blue: #4d7dff;
  --magenta: #ff5cf0;
  --grad: linear-gradient(135deg, var(--violet), var(--cyan));
  --radius: 20px;
  --container: 1180px;
  --ease: cubic-bezier(.16,.84,.44,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--muted); }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ===== Grain texture (breaks up flat gradients) ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: .035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ===== Starfield canvas ===== */
#stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: .6;
}

/* ===== Reveal-on-scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .97rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #06070d;
  box-shadow: 0 0 0 0 rgba(124,92,255,.5);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -6px rgba(124,92,255,.55);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--panel-border);
}
.btn-ghost:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}
.btn-small { padding: 10px 20px; font-size: .85rem; }
.btn-full { width: 100%; padding: 15px; border: none; font-size: 1rem; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: padding .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(6,7,13,.75);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--panel-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
}
.brand em { font-style: normal; color: var(--cyan); }
.main-nav {
  display: flex;
  gap: 32px;
}
.main-nav a {
  font-size: .92rem;
  color: var(--muted);
  transition: color .2s;
  position: relative;
}
.main-nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  overflow: hidden;
  z-index: 1;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -1;
  opacity: .45;
}
.hero-glow-a {
  width: 520px; height: 520px;
  background: var(--violet);
  top: -120px; left: -120px;
  animation: drift1 18s ease-in-out infinite;
}
.hero-glow-b {
  width: 480px; height: 480px;
  background: var(--cyan);
  bottom: -160px; right: -100px;
  animation: drift2 22s ease-in-out infinite;
}
@keyframes drift1 {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(60px, 40px); }
}
@keyframes drift2 {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(-50px, -30px); }
}

.hero-visual {
  position: absolute;
  top: 50%;
  right: -6%;
  width: 62vw;
  max-width: 980px;
  min-width: 520px;
  transform: translateY(-50%);
  z-index: -1;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at center, #000 40%, transparent 78%);
  mask-image: radial-gradient(ellipse 60% 55% at center, #000 40%, transparent 78%);
  opacity: .92;
  pointer-events: none;
  animation: heroFloat 10s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50% { transform: translateY(calc(-50% - 12px)) scale(1.015); }
}

.orbit-dot-wrap {
  position: absolute;
  top: 50%; right: 12%;
  width: 420px; height: 420px;
  transform: translateY(-50%);
  z-index: -1;
}
.orbit-dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px 3px var(--cyan);
  top: 50%; left: 50%;
  margin: -5px 0 0 -5px;
  animation: orbit 12s linear infinite;
}
@keyframes orbit {
  from { transform: rotate(0deg) translateX(210px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(210px) rotate(-360deg); }
}

.hero-inner { max-width: 720px; position: relative; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 18px 7px 14px;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  font-size: .8rem;
  letter-spacing: .06em;
  color: var(--cyan);
  margin-bottom: 22px;
}
.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(51,230,200,.6);
  animation: pulse 2s ease-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(51,230,200,.55); }
  70% { box-shadow: 0 0 0 7px rgba(51,230,200,0); }
  100% { box-shadow: 0 0 0 0 rgba(51,230,200,0); }
}
.hero-title {
  font-size: clamp(2.8rem, 6.4vw, 4.9rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.hero-sub {
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: .85rem;
  color: var(--muted);
  letter-spacing: .01em;
}
.hero-meta-sep {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--panel-border);
}

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--panel-border);
  border-radius: 20px;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--cyan);
  border-radius: 2px;
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 20px; }
  100% { opacity: 0; top: 8px; }
}

/* ===== Marquee ===== */
.marquee-section {
  position: relative;
  z-index: 1;
  padding: 60px 0 80px;
  text-align: center;
}
.marquee-label {
  font-size: .78rem;
  letter-spacing: .14em;
  color: var(--muted);
  margin-bottom: 28px;
}
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px 10px 10px;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  background: var(--panel);
  white-space: nowrap;
  transition: border-color .25s, transform .25s var(--ease);
}
.chip:hover { border-color: rgba(255,255,255,.22); transform: translateY(-2px); }
.chip-plain { padding: 10px 22px; color: var(--muted); font-weight: 400; }

/* ===== Stats ===== */
.stats-section { position: relative; z-index: 1; padding: 20px 0 130px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.stat-card {
  padding: 40px 28px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel);
  text-align: center;
  transition: transform .3s var(--ease), border-color .3s;
}
.stat-card:hover { transform: translateY(-4px); border-color: rgba(124,92,255,.35); }
.stat-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  display: block;
  margin-top: 12px;
  font-size: .88rem;
  color: var(--muted);
}

/* ===== Sections ===== */
.section { position: relative; z-index: 1; padding: 130px 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(124,92,255,.04), transparent); }
.section-eyebrow {
  color: var(--cyan);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title { font-size: clamp(2rem, 4vw, 2.8rem); max-width: 640px; margin-bottom: .4em; }
.section-sub { max-width: 560px; font-size: 1.05rem; margin-bottom: 64px; }

.grid { display: grid; gap: 28px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  padding: 40px 30px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(124,92,255,.4);
  box-shadow: 0 20px 40px -20px rgba(124,92,255,.35);
}
.card-icon {
  width: 56px; height: 56px;
  margin-bottom: 24px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(124,92,255,.18), rgba(51,230,200,.12));
  border: 1px solid var(--panel-border);
}
.card-icon svg { width: 26px; height: 26px; display: block; }
.card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.card p { font-size: .92rem; margin-bottom: 0; }
.card-plain { background: transparent; padding: 8px 4px; }
.card-plain:hover { transform: none; box-shadow: none; }

/* Platform brand badges (Meta / Google / TikTok / Newsbreak / YouTube) */
.platform-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.badge-lg { width: 60px; height: 60px; border-radius: 18px; font-size: 1.7rem; }
.badge-sm { width: 26px; height: 26px; border-radius: 8px; font-size: .82rem; margin-right: 10px; }
.badge-meta { background: linear-gradient(135deg, #0064e0, #0082fb); }
.badge-google { background: #ffffff; }
.badge-google .g-letter {
  background: conic-gradient(from -45deg, #4285F4 0deg 90deg, #34A853 90deg 180deg, #FBBC05 180deg 270deg, #EA4335 270deg 360deg);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}
.badge-tiktok { background: #0a0a0a; }
.badge-tiktok .tiktok-note {
  color: #fff;
  text-shadow: -0.05em -0.03em 0 #25F4EE, 0.05em 0.03em 0 #FE2C55;
}
.badge-newsbreak { background: linear-gradient(135deg, #ff4d1c, #ff9a1c); }
.badge-youtube { background: #ff0000; font-size: .8em; }

/* Platform rows */
.platform-rows { display: flex; flex-direction: column; gap: 24px; margin-top: 24px; }
.platform-row {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 36px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel);
  transition: border-color .3s, transform .3s var(--ease);
}
.platform-row:hover { border-color: rgba(51,230,200,.4); transform: translateX(4px); }
.platform-icon { flex-shrink: 0; }
.platform-copy h3 { margin-bottom: 10px; font-size: 1.25rem; }
.platform-copy p { margin: 0; font-size: .95rem; max-width: 620px; }

/* Timeline */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 32px;
}
.timeline-line {
  position: absolute;
  top: 22px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  opacity: .4;
}
.timeline-step { position: relative; padding-top: 58px; }
.timeline-num {
  position: absolute;
  top: 0; left: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--panel-border);
  color: var(--cyan);
}
.timeline-step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.timeline-step p { font-size: .92rem; }

/* Brands */
.brands-block { margin-top: 112px; }
.brands-heading { font-size: 1.7rem; margin-bottom: 10px; }
.brands-sub { margin-bottom: 40px; }
.grid-brands { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.brand-card {
  padding: 32px 24px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel);
  text-align: center;
  transition: transform .3s var(--ease), border-color .3s;
}
.brand-card:hover { transform: translateY(-4px); border-color: rgba(124,92,255,.35); }
.brand-mark-img {
  width: 60px; height: 60px;
  margin: 0 auto 20px;
  border-radius: 16px;
  display: block;
  object-fit: cover;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.6);
}
.brand-card h4 { font-size: 1rem; margin-bottom: 8px; }
.brand-card p { font-size: .85rem; margin-bottom: 0; }

/* CTA banner */
.cta-banner {
  position: relative;
  z-index: 1;
  padding: 140px 0;
  text-align: center;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 600px; height: 300px;
  transform: translate(-50%,-50%);
  background: var(--grad);
  filter: blur(120px);
  opacity: .22;
  z-index: -1;
}
.cta-banner h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.cta-banner p { max-width: 480px; margin: 0 auto 36px; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.contact-copy .section-title { margin-bottom: 20px; }
.contact-copy .section-sub { margin-bottom: 32px; }
.contact-email {
  display: inline-block;
  margin: 4px 0 18px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  color: var(--cyan);
  border-bottom: 1px solid rgba(51,230,200,.3);
}
.contact-note { font-size: .85rem; opacity: .7; }
.contact-address {
  font-style: normal;
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.7;
}

.contact-form {
  padding: 40px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel);
}
.form-row { margin-bottom: 20px; display: flex; flex-direction: column; gap: 7px; }
.form-row label { font-size: .82rem; color: var(--muted); }
.form-row input, .form-row select, .form-row textarea {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  resize: vertical;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--cyan);
}
.form-success {
  text-align: center;
  color: var(--cyan);
  font-size: .9rem;
  margin: 14px 0 0;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--panel-border);
  padding-top: 64px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 40px;
}
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { color: var(--muted); font-size: .9rem; }
.footer-nav a:hover { color: var(--text); }
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--panel-border);
  border-radius: 50%;
  font-size: .78rem;
  color: var(--muted);
  transition: border-color .2s, color .2s;
}
.footer-social a:hover { border-color: var(--cyan); color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid var(--panel-border);
  padding: 20px 0;
  font-size: .8rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-address { font-style: normal; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .section { padding: 90px 0; }
  .cta-banner { padding: 100px 0; }
  .stats-section { padding: 20px 0 90px; }
  .section-sub { margin-bottom: 48px; }
  .brands-block { margin-top: 80px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline-line { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { opacity: .5; min-width: 0; width: 90vw; right: -20%; }
  .orbit-dot-wrap { display: none; }
}

@media (max-width: 720px) {
  .hero-visual { opacity: .3; width: 130vw; right: -35%; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(6,7,13,.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--panel-border);
    padding: 8px 24px 20px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--panel-border); }
  .main-nav a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-small { display: none; }
  .section { padding: 72px 0; }
  .cta-banner { padding: 80px 0; }
  .stats-section { padding: 16px 0 72px; }
  .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; }
  .platform-row { flex-direction: column; }
  .badge-lg { width: 52px; height: 52px; font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
