@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;700;800&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --black:  #02040a;
  --deep:   #060b16;
  --navy:   #091525;
  --mid:    #0d1f38;
  --blue:   #0066ff;
  --cyan:   #06d6ff;
  --violet: #8b5cf6;
  --green:  #10f5a8;
  --amber:  #fbbf24;
  --red:    #ef4444;
  --white:  #e8f0fe;
  --dim:    #7a8fa8;
  --border: rgba(6,214,255,0.12);
  --card:   rgba(9,21,37,0.75);
  --glow-b: 0 0 40px rgba(0,102,255,0.22);
  --glow-c: 0 0 40px rgba(6,214,255,0.2);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--deep); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 4px; }

/* Noise overlay */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9998; opacity: 0.5;
}

/* Grid background */
.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(6,214,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6,214,255,0.035) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

/* Progress bar */
#pbar { position: fixed; top: 0; left: 0; height: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan), var(--green)); z-index: 9999; transition: width 0.1s; }

/* ── NAVBAR ─────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3.5rem; height: 68px;
  background: rgba(2,4,10,0.88);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
nav.scrolled { background: rgba(2,4,10,0.97); box-shadow: 0 4px 40px rgba(0,0,0,0.6); }
.nav-brand { display: flex; align-items: center; gap: 10px; font-family: 'Outfit', sans-serif; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.nav-brand .lm { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, var(--blue), var(--cyan)); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; font-weight: 700; color: #fff; flex-shrink: 0; }
.nav-brand .dot { color: var(--cyan); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.88rem; font-weight: 500; color: var(--dim); letter-spacing: 0.02em; transition: color 0.2s; position: relative; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -3px; width: 0; height: 1.5px; background: var(--cyan); transition: width 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { font-family: 'Outfit', sans-serif; font-size: 0.83rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 9px 22px; background: var(--blue); color: #fff; border-radius: 6px; transition: all 0.3s; box-shadow: 0 4px 16px rgba(0,102,255,0.35); }
.nav-cta:hover { background: var(--cyan); color: var(--black); box-shadow: var(--glow-c); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1200; }
.hamburger span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translateY(7px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }
.mobile-menu { display: none; position: fixed; top: 68px; left: 0; right: 0; bottom: 0; background: rgba(2,4,10,0.98); z-index: 999; flex-direction: column; padding: 2.5rem 2rem; gap: 1.4rem; overflow-y: auto; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: 'Outfit', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--white); border-bottom: 1px solid var(--border); padding-bottom: 1rem; }

/* ── BUTTONS ────────────────────────── */
.btn-pri { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.05em; text-transform: uppercase; padding: 13px 28px; background: var(--blue); color: #fff; border-radius: 7px; border: none; cursor: pointer; transition: all 0.3s; box-shadow: 0 4px 20px rgba(0,102,255,0.4); display: inline-flex; align-items: center; gap: 8px; }
.btn-pri:hover { background: var(--cyan); color: var(--black); box-shadow: var(--glow-c); transform: translateY(-2px); }
.btn-out { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.9rem; letter-spacing: 0.05em; text-transform: uppercase; padding: 12px 28px; background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.18); border-radius: 7px; cursor: pointer; transition: all 0.3s; display: inline-flex; align-items: center; gap: 8px; }
.btn-out:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-ghost { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.85rem; color: var(--cyan); background: transparent; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.btn-ghost:hover { gap: 10px; }

/* ── LAYOUT ─────────────────────────── */
.ctr { max-width: 1200px; margin: 0 auto; padding: 0 3.5rem; }
section { padding: 100px 0; }

/* ── TYPOGRAPHY ─────────────────────── */
.tag { font-family: 'IBM Plex Mono', monospace; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 0.85rem; display: flex; align-items: center; gap: 10px; }
.tag::before { content: ''; width: 24px; height: 1.5px; background: var(--cyan); }
.sec-title { font-family: 'Outfit', sans-serif; font-size: clamp(1.9rem, 3.5vw, 3rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 1rem; }
.sec-title em { font-style: normal; background: linear-gradient(90deg, var(--blue), var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.sec-desc { font-size: 1.02rem; color: var(--dim); max-width: 580px; line-height: 1.75; }

/* ── PAGE HERO (inner pages) ────────── */
.page-hero {
  position: relative; padding: 140px 0 80px; overflow: hidden;
  background: radial-gradient(ellipse 70% 50% at 30% 0%, rgba(0,102,255,0.18) 0%, transparent 60%),
              radial-gradient(ellipse 40% 35% at 90% 80%, rgba(6,214,255,0.1) 0%, transparent 60%),
              var(--black);
}
.page-hero .grid-bg { opacity: 0.6; }
.page-hero-scan { position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(6,214,255,0.3), transparent); animation: scan 8s linear infinite; }
@keyframes scan { 0%{top:0} 100%{top:100%} }
.page-hero-orb1 { position: absolute; width: 400px; height: 400px; border-radius: 50%; filter: blur(80px); background: rgba(0,102,255,0.15); top: -100px; right: -50px; pointer-events: none; animation: fO 10s ease-in-out infinite; }
.page-hero-orb2 { position: absolute; width: 250px; height: 250px; border-radius: 50%; filter: blur(80px); background: rgba(6,214,255,0.1); bottom: -50px; left: 10%; pointer-events: none; animation: fO 8s ease-in-out infinite; animation-delay: -4s; }
@keyframes fO { 0%,100%{transform:translate(0,0)} 50%{transform:translate(20px,-20px)} }
.breadcrumb { font-family: 'IBM Plex Mono', monospace; font-size: 0.72rem; color: var(--dim); letter-spacing: 0.08em; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 8px; }
.breadcrumb a { color: var(--dim); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb span { color: var(--cyan); }
.page-h1 { font-family: 'Outfit', sans-serif; font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; line-height: 1.0; letter-spacing: -0.03em; margin-bottom: 1.3rem; }
.page-h1 em { font-style: normal; background: linear-gradient(125deg, var(--blue) 0%, var(--cyan) 50%, var(--green) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-sub { font-size: 1.1rem; color: var(--dim); max-width: 600px; line-height: 1.78; }

/* ── CARDS ──────────────────────────── */
.card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; backdrop-filter: blur(10px); transition: all 0.35s; }
.card:hover { border-color: rgba(6,214,255,0.25); transform: translateY(-3px); box-shadow: var(--glow-c); }

/* ── TICKER ─────────────────────────── */
.ticker-wrap { background: var(--deep); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; padding: 13px 0; }
.ticker-track { display: flex; width: max-content; animation: tick 30s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-item { white-space: nowrap; padding: 0 2.5rem; font-family: 'IBM Plex Mono', monospace; font-size: 0.7rem; letter-spacing: 0.1em; color: var(--dim); display: flex; align-items: center; gap: 1.2rem; text-transform: uppercase; }
.tdot { width: 4px; height: 4px; border-radius: 50%; background: var(--blue); opacity: 0.6; }
@keyframes tick { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ── REVEAL ANIMATION ───────────────── */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.on { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-left.on { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-right.on { opacity: 1; transform: none; }

/* ── CTA BAND ───────────────────────── */
.cta-band { background: linear-gradient(135deg, rgba(0,102,255,0.2) 0%, rgba(6,214,255,0.08) 100%); border-top: 1px solid rgba(0,102,255,0.28); border-bottom: 1px solid rgba(6,214,255,0.14); padding: 90px 0; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: 'DATAWIND'; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); font-family: 'Outfit', sans-serif; font-size: 14rem; font-weight: 900; color: rgba(255,255,255,0.02); white-space: nowrap; pointer-events: none; letter-spacing: -0.04em; }
.cta-band h2 { font-family: 'Outfit', sans-serif; font-size: clamp(1.9rem, 3.5vw, 3rem); font-weight: 800; margin-bottom: 1rem; position: relative; }
.cta-band p { font-size: 1.02rem; color: var(--dim); margin-bottom: 2.4rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-grad { background: linear-gradient(90deg, var(--cyan), var(--blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ── FOOTER ─────────────────────────── */
footer { background: var(--deep); border-top: 1px solid var(--border); padding: 80px 0 40px; }
.footer-top { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--border); margin-bottom: 2.5rem; }
.footer-brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 800; }
.footer-brand-logo .lm { width: 30px; height: 30px; border-radius: 7px; background: linear-gradient(135deg, var(--blue), var(--cyan)); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; color: #fff; }
.footer-brand p { font-size: 0.88rem; color: var(--dim); line-height: 1.7; max-width: 280px; margin-bottom: 1.2rem; }
.footer-socials { display: flex; gap: 0.8rem; margin-top: 0.5rem; }
.fsoc { width: 34px; height: 34px; border-radius: 7px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 0.78rem; color: var(--dim); transition: all 0.3s; cursor: pointer; }
.fsoc:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(6,214,255,0.06); }
.footer-col h5 { font-family: 'Outfit', sans-serif; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { font-size: 0.86rem; color: var(--dim); transition: color 0.2s; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: 0.8rem; color: #3d5060; }
.footer-legal { display: flex; gap: 1.8rem; }
.footer-legal a { font-size: 0.8rem; color: #3d5060; transition: color 0.2s; }
.footer-legal a:hover { color: var(--dim); }

/* ── BACK TO TOP ────────────────────── */
#bt { position: fixed; bottom: 2rem; right: 2rem; width: 42px; height: 42px; border-radius: 50%; background: rgba(9,21,37,0.9); border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--dim); cursor: pointer; transition: all 0.3s; opacity: 0; pointer-events: none; z-index: 100; font-size: 0.9rem; }
#bt.show { opacity: 1; pointer-events: all; }
#bt:hover { border-color: var(--cyan); color: var(--cyan); }

/* ── FORMS ──────────────────────────── */
.form-group { margin-bottom: 1.4rem; }
.form-group label { display: block; font-size: 0.78rem; color: var(--dim); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; font-family: 'IBM Plex Mono', monospace; }
.form-group input, .form-group textarea, .form-group select { width: 100%; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 8px; padding: 13px 16px; color: var(--white); font-size: 0.95rem; font-family: 'Space Grotesk', sans-serif; outline: none; transition: border-color 0.3s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--cyan); }
.form-group textarea { resize: none; }
.form-group select { background-color: var(--navy); }
.form-group input::placeholder, .form-group textarea::placeholder { color: #3d5060; }

/* ── STAT BOX ───────────────────────── */
.stat-box { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 1.8rem; text-align: center; backdrop-filter: blur(10px); }
.stat-box .num { font-family: 'Outfit', sans-serif; font-size: 2.2rem; font-weight: 800; color: var(--white); letter-spacing: -0.02em; }
.stat-box .num span { color: var(--cyan); }
.stat-box .lbl { font-size: 0.8rem; color: var(--dim); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }

/* ── RESPONSIVE ─────────────────────── */
@media (max-width: 1024px) { .ctr { padding: 0 2rem; } nav { padding: 0 2rem; } .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
  nav { padding: 0 1.5rem; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .ctr { padding: 0 1.5rem; }
  section { padding: 70px 0; }
  .footer-top { grid-template-columns: 1fr; }
  .page-hero { padding: 110px 0 60px; }
}
