@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Exo+2:wght@300;400;500;600&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #0f0f0f;
  --bg-card: #111111;
  --bg-card-hover: #161616;
  --neon: #39ff14;
  --neon-dim: #2acc10;
  --neon-glow: rgba(57, 255, 20, 0.15);
  --neon-glow-strong: rgba(57, 255, 20, 0.35);
  --text-primary: #f0f0f0;
  --text-secondary: #999;
  --text-muted: #555;
  --border: rgba(57, 255, 20, 0.15);
  --border-hover: rgba(57, 255, 20, 0.5);
  --font-display: 'Orbitron', monospace;
  --font-body: 'Exo 2', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Tech grid background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(57, 255, 20, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 255, 20, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

body>* {
  position: relative;
  z-index: 1;
}

a {
  color: var(--neon);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: #fff;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.neon-text {
  color: var(--neon);
  text-shadow: 0 0 10px var(--neon), 0 0 30px rgba(57, 255, 20, 0.4);
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--neon);
  text-shadow: 0 0 15px rgba(57, 255, 20, 0.6);
  letter-spacing: 0.1em;
}

.nav-logo span {
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--transition);
  font-family: var(--font-body);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--neon);
  background: var(--neon-glow);
}

.nav-cta {
  background: var(--neon) !important;
  color: #000 !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  padding: 8px 18px !important;
  box-shadow: 0 0 15px var(--neon-glow-strong);
}

.nav-cta:hover {
  background: #fff !important;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.3) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--neon);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 70px 0 0 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  padding: 40px 24px;
  gap: 8px;
  border-top: 1px solid var(--border);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: var(--text-primary);
  font-size: 1.2rem;
  font-family: var(--font-display);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  display: block;
}

.mobile-menu a:hover {
  color: var(--neon);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--neon);
  color: #000;
  box-shadow: 0 0 20px var(--neon-glow-strong), 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  background: #fff;
  color: #000;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.4), 0 4px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--neon);
  border: 1.5px solid var(--neon);
  box-shadow: 0 0 10px var(--neon-glow), inset 0 0 10px transparent;
}

.btn-secondary:hover {
  background: var(--neon-glow);
  color: #fff;
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 20px var(--neon-glow-strong);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

/* ===== CARDS ===== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}

.card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 20px var(--neon-glow);
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 12px;
  font-family: var(--font-body);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== ICON BOX ===== */
.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--neon-glow);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: all var(--transition);
}

.card:hover .icon-box {
  background: var(--neon);
  box-shadow: 0 0 20px var(--neon-glow-strong);
}

/* ===== BADGE ===== */
.badge {
  display: inline-block;
  padding: 4px 12px;
  margin-top: 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.badge-neon {
  background: var(--neon-glow);
  color: var(--neon);
  border: 1px solid var(--border);
}

/* ===== DIVIDER ===== */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
  opacity: 0.3;
  margin: 0;
}

/* ===== FOOTER ===== */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--neon);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ===== STICKY CALL BUTTON (mobile) ===== */
.sticky-call {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  background: var(--neon);
  color: #000;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 1rem;
  letter-spacing: 0.05em;
  box-shadow: 0 0 30px var(--neon-glow-strong), 0 8px 25px rgba(0, 0, 0, 0.5);
  animation: pulse 2s infinite;
  white-space: nowrap;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 20px var(--neon-glow-strong), 0 8px 25px rgba(0, 0, 0, 0.5);
  }

  50% {
    box-shadow: 0 0 40px rgba(57, 255, 20, 0.6), 0 8px 25px rgba(0, 0, 0, 0.5);
  }
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 80px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(57, 255, 20, 0.06) 0%, transparent 70%);
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 16px;
}

.page-hero p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .sticky-call {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  section {
    padding: 60px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  body {
    padding-bottom: 80px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow {

  0%,
  100% {
    text-shadow: 0 0 10px var(--neon), 0 0 30px rgba(57, 255, 20, 0.3);
  }

  50% {
    text-shadow: 0 0 20px var(--neon), 0 0 60px rgba(57, 255, 20, 0.5), 0 0 80px rgba(57, 255, 20, 0.2);
  }
}

.fade-in {
  animation: fadeInUp 0.7s ease forwards;
}

.fade-in-1 {
  animation-delay: 0.1s;
  opacity: 0;
}

.fade-in-2 {
  animation-delay: 0.2s;
  opacity: 0;
}

.fade-in-3 {
  animation-delay: 0.3s;
  opacity: 0;
}

.fade-in-4 {
  animation-delay: 0.4s;
  opacity: 0;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}