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

/* ═══════════════════════════════════════════
   ROOT & RESET
═══════════════════════════════════════════ */
:root {
  --bg:        #080808;
  --bg2:       #101010;
  --bg3:       #181818;
  --bg4:       #202020;
  --bg5:       #282828;
  --accent:    #ff6b00;
  --accent2:   #ffaa00;
  --aGlow:     rgba(255,107,0,0.18);
  --aDim:      rgba(255,107,0,0.10);
  --aBorder:   rgba(255,107,0,0.20);
  --aBorder2:  rgba(255,107,0,0.40);
  --text:      #f0f0f0;
  --muted:     #888;
  --muted2:    #4a4a4a;
  --border:    rgba(255,107,0,0.10);
  --border2:   rgba(255,107,0,0.25);
  --fHUD:      'Orbitron', sans-serif;
  --fHead:     'Rajdhani', sans-serif;
  --fBody:     'DM Sans', sans-serif;
  --r:         5px;
  --rl:        12px;
  --hdr:       104px; /* contact bar 44px + nav 60px */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--fBody);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  padding-top: var(--hdr); /* offset for fixed header */
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }

/* ═══════════════════════════════════════════
   FIXED HEADER  (contact bar + nav)
═══════════════════════════════════════════ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
}

/* contact bar */
.contact-bar {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 0 4%;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: nowrap;
  overflow: hidden;
}
.cb-item {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.cb-ico { color: var(--accent); font-size: .85rem; }
.cb-text {
  font-family: var(--fHUD);
  font-size: .52rem;
  letter-spacing: 1px;
  color: var(--muted);
}
.cb-text a { text-decoration: none; color: var(--muted); transition: color .2s; }
.cb-text a:hover { color: var(--accent); }
.cb-cta {
  margin-left: auto;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #080808;
  font-family: var(--fHUD);
  font-size: .52rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: var(--r);
  text-decoration: none;
  transition: box-shadow .2s;
  white-space: nowrap;
}
.cb-cta:hover { box-shadow: 0 0 16px var(--aGlow); }

/* main nav */
nav#mainNav {
  background: rgba(8,8,8,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4%;
  transition: border-color .3s;
}
nav#mainNav.scrolled { border-color: var(--border2); }

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}
.logo-mark {
  width: 34px; height: 34px;
  border-radius: var(--r);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fHUD); font-size: .6rem; font-weight: 700;
  color: #080808; flex-shrink: 0;
  box-shadow: 0 0 14px var(--aGlow);
}
.logo-text { font-family: var(--fHead); font-size: 1.15rem; font-weight: 700; letter-spacing: .5px; }
.logo-text span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links a {
  font-family: var(--fHead);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent2)) !important;
  color: #080808 !important;
  padding: .42rem 1.1rem;
  border-radius: var(--r);
  font-weight: 700 !important;
  transition: box-shadow .2s, transform .2s !important;
  box-shadow: 0 0 12px var(--aGlow);
}
.nav-cta:hover { box-shadow: 0 0 22px var(--aGlow) !important; transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }

/* mobile nav dropdown */
.nav-links.open {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  top: var(--hdr);
  left: 0; right: 0;
  background: rgba(8,8,8,.98);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 4%;
  gap: 1rem;
  z-index: 999;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 4rem 4% 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.f-brand .logo { margin-bottom: .85rem; }
.f-brand p {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.f-social { display: flex; gap: .5rem; }
.f-soc {
  width: 32px; height: 32px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); text-decoration: none;
  font-size: .72rem; font-weight: 700;
  transition: all .2s;
}
.f-soc:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 8px var(--aGlow); }

.f-col h4 {
  font-family: var(--fHUD);
  font-size: .55rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.f-col ul { display: flex; flex-direction: column; gap: .5rem; }
.f-col ul a {
  font-size: .84rem;
  font-weight: 300;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.f-col ul a:hover { color: var(--accent); }

.f-contact-item {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  margin-bottom: .65rem;
  font-size: .82rem;
  color: var(--muted);
  font-weight: 300;
}
.f-ico { color: var(--accent); flex-shrink: 0; margin-top: 2px; font-size: .85rem; }
.f-contact-item a { color: var(--muted); text-decoration: none; transition: color .2s; word-break: break-all; }
.f-contact-item a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-family: var(--fHUD); font-size: .55rem; color: var(--muted2); letter-spacing: 1px; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: .78rem; color: var(--muted2); text-decoration: none; transition: color .2s; }
.footer-legal a:hover { color: var(--accent); }

/* ═══════════════════════════════════════════
   SHARED UTILITIES
═══════════════════════════════════════════ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--fHUD);
  font-size: .55rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .6rem;
}
.section-label::before { content: '//'; color: var(--muted2); }

h2 { font-family: var(--fHead); font-weight: 700; line-height: 1.08; letter-spacing: .3px; }
h3 { font-family: var(--fHead); font-weight: 700; }
.section-sub { color: var(--muted); font-size: .94rem; font-weight: 300; line-height: 1.8; max-width: 540px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #080808; padding: .8rem 1.75rem;
  border-radius: var(--r);
  font-family: var(--fHead); font-weight: 700; font-size: .88rem;
  letter-spacing: .5px; text-decoration: none;
  border: none; cursor: pointer;
  transition: box-shadow .25s, transform .25s;
  white-space: nowrap;
}
.btn-primary:hover { box-shadow: 0 0 28px var(--aGlow); transform: translateY(-2px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border2); color: var(--accent);
  padding: .8rem 1.75rem; border-radius: var(--r);
  font-family: var(--fHead); font-weight: 600; font-size: .88rem;
  letter-spacing: .5px; text-decoration: none;
  background: none; cursor: pointer;
  transition: background .2s, border-color .2s;
  white-space: nowrap;
}
.btn-outline:hover { background: var(--aDim); border-color: var(--accent); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--fHead); font-weight: 600; font-size: .85rem;
  letter-spacing: .5px; color: var(--muted);
  text-decoration: none; transition: color .2s;
}
.btn-ghost:hover { color: var(--accent); }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; }

/* PAGE HERO (subpages) */
.page-hero {
  padding: 5rem 4% 4rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.ph-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,107,0,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,107,0,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 75% 85% at 15% 50%, black 15%, transparent 85%);
}
.ph-tag {
  font-family: var(--fHUD); font-size: .55rem; letter-spacing: 3px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: .85rem;
  display: flex; align-items: center; gap: 6px;
}
.ph-tag::before { content: '['; color: var(--muted2); }
.ph-tag::after  { content: ']'; color: var(--muted2); }
.page-hero h1 {
  font-family: var(--fHUD);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  color: var(--text);
  line-height: 1.02;
  position: relative; z-index: 1;
}
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero p {
  color: var(--muted); font-size: .96rem; font-weight: 300;
  max-width: 580px; margin-top: .85rem; line-height: 1.8;
  position: relative; z-index: 1;
}

/* NEON CARD */
.ncard {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 1.75rem;
  transition: border-color .25s, background .25s, box-shadow .25s;
  position: relative; overflow: hidden;
}
.ncard::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2), transparent);
  opacity: 0; transition: opacity .25s;
}
.ncard:hover { border-color: var(--border2); background: var(--bg4); box-shadow: 0 8px 36px rgba(255,107,0,.07); }
.ncard:hover::before { opacity: 1; }

/* ICON BOX */
.icon-box {
  width: 44px; height: 44px; border-radius: var(--r);
  background: var(--aDim); border: 1px solid var(--aBorder);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 1rem; flex-shrink: 0;
}

/* TAG PILL */
.tag {
  display: inline-block;
  font-family: var(--fHUD); font-size: .52rem;
  padding: 3px 9px; border-radius: 3px;
  background: var(--aDim); border: 1px solid var(--aBorder);
  color: var(--accent); letter-spacing: .4px;
}
.tag-wrap { display: flex; flex-wrap: wrap; gap: 5px; margin-top: .85rem; }

/* CTA SECTION (shared) */
.cta-section {
  padding: 5rem 4%;
  text-align: center;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.cta-section .cta-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(255,107,0,.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; max-width: 660px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: .85rem; }
.cta-inner p { color: var(--muted); font-weight: 300; line-height: 1.8; margin-bottom: 2.5rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 960px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 700px) {
  :root { --hdr: 44px; } /* hide contact bar on mobile, only nav */
  .contact-bar { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: .75rem; }
}
