@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
  --bg: #060608;
  --bg2: #0d0d12;
  --bg3: #13131a;
  --accent: #c8ff00;
  --text: #f0f0f0;
  --muted: #888899;
  --border: rgba(255,255,255,0.07);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

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

/* CURSOR */
.cursor {
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s;
  mix-blend-mode: difference;
}
.cursor-follower {
  width: 36px; height: 36px;
  border: 1px solid rgba(200,255,0,0.4);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease, width 0.3s, height 0.3s;
}
body:has(a:hover) .cursor,
body:has(button:hover) .cursor { width: 20px; height: 20px; }
body:has(a:hover) .cursor-follower,
body:has(button:hover) .cursor-follower { width: 60px; height: 60px; border-color: rgba(200,255,0,0.15); }

/* NAV */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 4rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(6,6,8,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
}
.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.logo span { color: var(--accent); }
.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  margin: 0; padding: 0;
}
.nav-links li { display: flex; align-items: center; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 400;
  padding: 0.4rem 1.1rem;
  white-space: nowrap;
  transition: color 0.2s;
  cursor: none;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 1.1rem; right: 1.1rem;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  background: var(--accent) !important;
  color: #000 !important;
  font-weight: 600 !important;
  padding: 0.5rem 1.3rem !important;
  border-radius: 100px;
  margin-left: 0.8rem;
  transition: transform 0.2s, box-shadow 0.2s;
  font-size: 0.85rem !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-1px) !important; box-shadow: 0 8px 30px rgba(200,255,0,0.3) !important; }

/* PAGE TRANSITION */
@keyframes pageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* SECTION BASE */
section { padding: 7rem 4rem; position: relative; }
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 500px;
  line-height: 1.7;
}

/* BUTTONS */
.btn-primary {
  background: var(--accent);
  color: #000;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 40px rgba(200,255,0,0.3); }
.btn-ghost {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: none;
  transition: color 0.2s;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
}
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* MARQUEE */
.marquee-section {
  padding: 1.4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg2);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* PAGE HERO (inner pages) */
.page-hero {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 4rem 5rem;
  position: relative;
  overflow: hidden;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 90% 90% at 20% 80%, black 30%, transparent 100%);
}
.page-hero-glow {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(200,255,0,0.07) 0%, transparent 70%);
  top: -100px; right: 5%;
  pointer-events: none;
  animation: glowPulse 5s ease-in-out infinite;
}
@keyframes glowPulse {
  0%,100%{opacity:0.6;transform:scale(1)}
  50%{opacity:1;transform:scale(1.08)}
}
.page-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200,255,0,0.08);
  border: 1px solid rgba(200,255,0,0.2);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  width: fit-content;
}
.page-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: 800px;
}
.page-hero h1 .accent { color: var(--accent); font-style: italic; }
.page-hero h1 .outline {
  -webkit-text-stroke: 1px rgba(240,240,240,0.35);
  color: transparent;
}
.page-hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
  margin-top: 1.5rem;
}

/* FOOTER */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.footer-top {
  padding: 4rem 4rem 3rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand .logo { font-size: 1.3rem; display: inline-block; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; max-width: 240px; }
.footer-col h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
  cursor: none;
}
.footer-col ul a:hover { color: var(--text); }
.footer-bottom {
  padding: 1.5rem 4rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 0.82rem; color: var(--muted); }
.footer-socials { display: flex; gap: 1rem; }
.footer-socials a {
  width: 34px; height: 34px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  transition: all 0.2s;
  cursor: none;
}
.footer-socials a:hover { border-color: rgba(200,255,0,0.3); color: var(--accent); }

/* SHARED CARD STYLES */
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s, border-color 0.3s;
  cursor: none;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,255,0,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.card:hover { background: var(--bg3); border-color: rgba(200,255,0,0.12); }
.card:hover::before { opacity: 1; }

/* CONTACT FORM SHARED */
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s;
  cursor: none;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: rgba(200,255,0,0.4); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--bg3); }

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(6,6,8,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  padding: 0 2rem;
}
.mobile-menu-links li {
  width: 100%;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.mobile-menu-links li:first-child { border-top: 1px solid var(--border); }
.mobile-menu.open .mobile-menu-links li { opacity: 1; transform: translateY(0); }
.mobile-menu.open .mobile-menu-links li:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.open .mobile-menu-links li:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu.open .mobile-menu-links li:nth-child(3) { transition-delay: 0.20s; }
.mobile-menu.open .mobile-menu-links li:nth-child(4) { transition-delay: 0.26s; }
.mobile-menu-links a {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  padding: 1.2rem 0;
  letter-spacing: -0.02em;
  transition: color 0.2s, padding-left 0.2s;
}
.mobile-menu-links a:hover { color: var(--accent); padding-left: 0.5rem; }
.mobile-menu-links a.active { color: var(--accent); }
.mobile-menu-cta {
  margin-top: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s 0.25s ease, transform 0.3s 0.25s ease;
}
.mobile-menu.open .mobile-menu-cta { opacity: 1; transform: translateY(0); }
.mobile-menu-cta a {
  background: var(--accent);
  color: #000;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 2.5rem;
  border-radius: 100px;
  text-decoration: none;
  display: inline-block;
}

/* MOBILE */
@media (max-width: 900px) {
  #navbar { padding: 0 1.5rem; height: 60px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  section { padding: 5rem 1.5rem; }
  .page-hero { padding: 0 1.5rem 4rem; min-height: 50vh; }
  .page-hero-tag { font-size: 0.68rem; padding: 0.3rem 0.75rem; max-width: calc(100vw - 3rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .page-hero h1 { font-size: clamp(2.2rem, 10vw, 3.5rem); word-break: break-word; }
  .section-title { font-size: clamp(1.8rem, 8vw, 2.5rem); word-break: break-word; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; padding: 3rem 1.5rem 2rem; }
  .footer-bottom { padding: 1.5rem; flex-direction: column; gap: 1rem; text-align: center; }
  body { cursor: auto; }
  .cursor, .cursor-follower { display: none; }
  /* Prevent any element from overflowing */
  img, video, iframe, table { max-width: 100%; }
  .marquee-section { overflow: hidden; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
}

/* SHARED JS CURSOR + SCROLL */
