/* =============================================================
   JD Tech Sage — Main Stylesheet
   Author: JD Tech Sage Team
   Description: Futuristic dark theme with neon accents, 
   smooth animations, and full responsiveness.
   ============================================================= */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Rajdhani:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ── CSS Variables ── */
:root {
  --bg-primary:    #020510;   /* Deep space black */
  --bg-secondary:  #060d1f;   /* Dark navy */
  --bg-card:       #0a1428;   /* Card background */
  --accent-cyan:   #00f0ff;   /* Neon cyan */
  --accent-blue:   #0070ff;   /* Electric blue */
  --accent-purple: #7b2fff;   /* Neon purple */
  --accent-green:  #00ff88;   /* Matrix green (badges) */
  --text-primary:  #e8f0ff;   /* Almost white */
  --text-secondary:#8a9bc0;   /* Muted blue-grey */
  --text-muted:    #4a5a7a;   /* Very muted */
  --border:        rgba(0,240,255,0.15);
  --glow-cyan:     0 0 20px rgba(0,240,255,0.4);
  --glow-blue:     0 0 20px rgba(0,112,255,0.4);
  --font-display:  'Orbitron', monospace;
  --font-body:     'Rajdhani', sans-serif;
  --font-text:     'Inter', sans-serif;
  --radius:        12px;
  --radius-lg:     20px;
  --transition:    all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height:    70px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: default;
}

/* Scrollbar styling */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--accent-cyan); border-radius: 3px; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.2;
  letter-spacing: 0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { font-family: var(--font-text); font-size: 1rem; color: var(--text-secondary); }

a  { color: var(--accent-cyan); text-decoration: none; transition: var(--transition); }
a:hover { color: #fff; }

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

/* ── Utility Classes ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.text-center { text-align: center; }
.text-cyan  { color: var(--accent-cyan); }
.text-blue  { color: var(--accent-blue); }
.text-purple{ color: var(--accent-purple); }
.text-muted { color: var(--text-muted); }
.fw-bold     { font-weight: 700; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.d-flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }

/* ── Section Headers ── */
.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  padding: 6px 16px;
  border: 1px solid var(--accent-cyan);
  border-radius: 30px;
  margin-bottom: 16px;
  opacity: 0.9;
}
.section-title {
  margin-bottom: 16px;
}
.section-title span { color: var(--accent-cyan); }
.section-subtitle {
  font-family: var(--font-text);
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s;
}
.btn:hover::before { left: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #000;
  box-shadow: var(--glow-cyan);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(0,240,255,0.6);
  color: #000;
}
.btn-outline {
  background: transparent;
  color: var(--accent-cyan);
  border: 1.5px solid var(--accent-cyan);
}
.btn-outline:hover {
  background: rgba(0,240,255,0.1);
  box-shadow: var(--glow-cyan);
  color: var(--accent-cyan);
}
.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0;
  transition: var(--transition);
}
.card:hover {
  border-color: rgba(0,240,255,0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), var(--glow-cyan);
}
.card:hover::before { opacity: 1; }

/* ── Glow Divider ── */
.glow-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  margin: 80px 0;
  opacity: 0.4;
}

/* ─────────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(2,5,16,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(2,5,16,0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px var(--accent-cyan));
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 1px;
}
.nav-logo-text span { color: var(--accent-cyan); }

/* Desktop Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 6px;
  transition: var(--transition);
  letter-spacing: 0.5px;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-cyan);
  background: rgba(0,240,255,0.08);
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after {
  content: ' ▾';
  font-size: 0.7rem;
  opacity: 0.6;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 200px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  z-index: 100;
  animation: fadeDown 0.2s ease;
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  white-space: nowrap;
}
.dropdown-menu a:hover { color: var(--accent-cyan); background: rgba(0,240,255,0.08); }
.dropdown-menu a .icon { font-size: 1rem; }

/* CTA in nav */
.nav-cta { margin-left: 12px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile menu */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  bottom: 0;
  background: rgba(2,5,16,0.98);
  backdrop-filter: blur(20px);
  padding: 24px;
  overflow-y: auto;
  z-index: 999;
  flex-direction: column;
  gap: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-secondary);
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: var(--transition);
  letter-spacing: 1px;
}
.mobile-nav a:hover {
  color: var(--accent-cyan);
  border-color: var(--border);
  background: rgba(0,240,255,0.06);
}
.mobile-nav hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 8px 0;
}

/* ─────────────────────────────────────────────
   HERO SECTION
───────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

/* Animated background grid */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,240,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,240,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}
@keyframes gridMove {
  0%   { transform: translate(0,0); }
  100% { transform: translate(60px,60px); }
}

/* Radial glow behind hero content */
.hero-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0,112,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  flex: 0 0 40px;
  height: 1px;
  background: var(--accent-cyan);
  opacity: 0.5;
}

.hero h1 {
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff 0%, var(--accent-cyan) 50%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 60px;
}

/* Floating stats */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.stat-item {}
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent-cyan);
  line-height: 1;
  text-shadow: var(--glow-cyan);
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  animation: bounceY 2s ease-in-out infinite;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-display);
}
.scroll-hint::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--accent-cyan), transparent);
}
@keyframes bounceY {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ─────────────────────────────────────────────
   WORKFLOW / PROCESS DIAGRAM
───────────────────────────────────────────── */
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  position: relative;
}
.workflow-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-blue), transparent);
  z-index: 0;
}
.workflow-step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 16px;
}
.workflow-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
  position: relative;
  transition: var(--transition);
  box-shadow: 0 0 0 4px rgba(0,240,255,0.1);
}
.workflow-icon::after {
  content: attr(data-step);
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  background: var(--accent-cyan);
  color: #000;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.workflow-step:hover .workflow-icon {
  transform: scale(1.1);
  box-shadow: var(--glow-cyan);
}
.workflow-step h4 {
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.workflow-step p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────────
   SERVICES
───────────────────────────────────────────── */
.service-card {
  position: relative;
  overflow: hidden;
}
.service-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}
.service-card h3 {
  color: var(--text-primary);
  margin-bottom: 12px;
  font-size: 1.1rem;
}
.service-card p {
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-display);
  letter-spacing: 0.5px;
}
.tag.cyan { border-color: rgba(0,240,255,0.4); color: var(--accent-cyan); }
.tag.blue { border-color: rgba(0,112,255,0.4); color: var(--accent-blue); }
.tag.purple { border-color: rgba(123,47,255,0.4); color: var(--accent-purple); }
.tag.green { border-color: rgba(0,255,136,0.4); color: var(--accent-green); }

/* ─────────────────────────────────────────────
   PORTFOLIO / PROJECTS
───────────────────────────────────────────── */
.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
}
.filter-btn.active,
.filter-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(0,240,255,0.08);
}

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  background: var(--bg-card);
}
.project-card:hover {
  border-color: rgba(0,240,255,0.4);
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.5), var(--glow-cyan);
}
.project-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  filter: brightness(0.8) saturate(0.9);
  transition: var(--transition);
}
.project-card:hover .project-img {
  filter: brightness(1) saturate(1.1);
}
.project-img-placeholder {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--text-muted);
}
.project-body { padding: 24px; }
.project-type {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-display);
  color: var(--accent-cyan);
  margin-bottom: 8px;
}
.project-body h3 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.project-body p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.project-link {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 1px;
  color: var(--accent-cyan);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.project-link:hover { gap: 10px; color: #fff; }

/* ─────────────────────────────────────────────
   TECH STACK
───────────────────────────────────────────── */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 16px;
}
.tech-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 12px;
  text-align: center;
  transition: var(--transition);
  cursor: default;
}
.tech-item:hover {
  border-color: rgba(0,240,255,0.35);
  transform: translateY(-4px);
  box-shadow: var(--glow-cyan);
}
.tech-item .tech-icon { font-size: 2rem; margin-bottom: 8px; }
.tech-item span {
  display: block;
  font-size: 0.72rem;
  font-family: var(--font-display);
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

/* ─────────────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────────────── */
.testimonial-card {
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 5rem;
  font-family: serif;
  color: var(--accent-cyan);
  opacity: 0.15;
  line-height: 1;
}
.stars { color: #ffc107; font-size: 1rem; margin-bottom: 12px; }
.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-cyan);
}
.author-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 600;
}
.author-role {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────────
   TEAM / ABOUT
───────────────────────────────────────────── */
.team-card {
  text-align: center;
}
.team-avatar-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
}
.team-avatar-wrap::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue), var(--accent-purple));
  z-index: 0;
  animation: spin 6s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.team-avatar {
  position: relative;
  z-index: 1;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg-primary);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.team-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.team-name {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.team-role {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
  font-family: var(--font-display);
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: var(--transition);
  text-decoration: none;
}
.social-link:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(0,240,255,0.08);
  box-shadow: var(--glow-cyan);
}

/* ─────────────────────────────────────────────
   BLOG
───────────────────────────────────────────── */
.blog-card {
  display: flex;
  flex-direction: column;
}
.blog-img-placeholder {
  width: 100%;
  height: 180px;
  border-radius: var(--radius) var(--radius) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--text-muted);
  overflow: hidden;
}
.blog-category {
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-display);
  color: var(--accent-cyan);
  margin-bottom: 8px;
  display: block;
}
.blog-card h3 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: 16px;
}

/* ─────────────────────────────────────────────
   FAQ
───────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  gap: 16px;
  user-select: none;
  transition: var(--transition);
}
.faq-question:hover { color: var(--accent-cyan); }
.faq-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--accent-cyan);
  transition: var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); border-color: var(--accent-cyan); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer p {
  padding: 0 0 20px;
  font-size: 0.9rem;
  line-height: 1.8;
}
.faq-item.open .faq-answer { max-height: 300px; }

/* ─────────────────────────────────────────────
   CAREERS
───────────────────────────────────────────── */
.job-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.job-info {}
.job-title {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.job-badge {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-display);
}
.job-badge.remote { border-color: rgba(0,255,136,0.4); color: var(--accent-green); }
.job-badge.fulltime { border-color: rgba(0,240,255,0.3); color: var(--accent-cyan); }

/* ─────────────────────────────────────────────
   PAGE HERO (inner pages)
───────────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-height) + 60px) 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(0,112,255,0.12) 0%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 16px; }
.breadcrumb {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-family: var(--font-display);
  letter-spacing: 0.5px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent-cyan); }
.breadcrumb span { color: var(--accent-cyan); }

/* ─────────────────────────────────────────────
   LEGAL PAGES
───────────────────────────────────────────── */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  font-family: var(--font-text);
}
.legal-content h2 {
  font-size: 1.3rem;
  color: var(--accent-cyan);
  margin: 40px 0 12px;
  font-family: var(--font-display);
}
.legal-content h3 {
  font-size: 1rem;
  color: var(--text-primary);
  margin: 24px 0 8px;
  font-family: var(--font-display);
}
.legal-content p {
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 12px;
  color: var(--text-secondary);
}
.legal-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal-content li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 4px;
}
.legal-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-display);
  letter-spacing: 1px;
  margin-bottom: 32px;
}

/* ─────────────────────────────────────────────
   CONTACT / NDA FORM
───────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(10,20,40,0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0,240,255,0.08);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select option { background: var(--bg-card); color: var(--text-primary); }

/* ─────────────────────────────────────────────
   CTA BAND
───────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, rgba(0,112,255,0.15), rgba(0,240,255,0.08));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue), var(--accent-purple));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.4;
}
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { margin-bottom: 32px; }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  text-decoration: none;
}
.footer-logo img {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 6px var(--accent-cyan));
}
.footer-logo-text {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}
.footer-logo-text span { color: var(--accent-cyan); }
.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 10px;
}

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: var(--accent-cyan); gap: 10px; }
.footer-links a::before {
  content: '›';
  color: var(--accent-cyan);
  opacity: 0.5;
  transition: var(--transition);
}
.footer-links a:hover::before { opacity: 1; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent-cyan); }

/* ─────────────────────────────────────────────
   COOKIE BANNER
───────────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 540px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  z-index: 9999;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  display: none;
}
#cookie-banner.show { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
#cookie-banner p { font-size: 0.85rem; flex: 1; color: var(--text-secondary); margin: 0; }
.cookie-btns { display: flex; gap: 8px; }

/* ─────────────────────────────────────────────
   SCROLL ANIMATIONS
───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

/* Staggered children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.stagger-children.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.5s; }

/* ─────────────────────────────────────────────
   NEON CURSOR TRAIL
───────────────────────────────────────────── */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s;
  mix-blend-mode: screen;
}
.cursor-ring {
  position: fixed;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,240,255,0.5);
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.2s, height 0.2s;
}

/* ─────────────────────────────────────────────
   HIGHLIGHT BOX
───────────────────────────────────────────── */
.highlight-box {
  background: rgba(0,240,255,0.05);
  border: 1px solid rgba(0,240,255,0.2);
  border-left: 4px solid var(--accent-cyan);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 20px 0;
}
.highlight-box p { margin: 0; font-size: 0.9rem; }

/* ─────────────────────────────────────────────
   BLOG POST CONTENT
───────────────────────────────────────────── */
.blog-post-content {
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--font-text);
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-secondary);
}
.blog-post-content h2 {
  font-size: 1.6rem;
  color: var(--text-primary);
  margin: 40px 0 16px;
}
.blog-post-content h3 {
  font-size: 1.2rem;
  color: var(--accent-cyan);
  margin: 28px 0 10px;
}
.blog-post-content p { margin-bottom: 16px; }
.blog-post-content ul,
.blog-post-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.blog-post-content li { margin-bottom: 6px; }
.blog-post-content strong { color: var(--text-primary); }
.blog-post-content a { color: var(--accent-cyan); text-decoration: underline; }
.blog-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9rem;
}
.blog-post-content th {
  background: var(--bg-card);
  color: var(--accent-cyan);
  padding: 12px 16px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--accent-cyan);
}
.blog-post-content td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .workflow-steps::before { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .hero h1 { font-size: 2rem; }
  .hero-stats { gap: 24px; }
  .stat-num { font-size: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .footer-bottom { text-align: center; justify-content: center; }
  .cursor-dot, .cursor-ring { display: none; }
  .hero-eyebrow::before, .hero-eyebrow::after { display: none; }
}

@media (max-width: 480px) {
  :root { --nav-height: 60px; }
  .container { padding: 0 16px; }
  .hero-btns { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .project-filters { gap: 6px; }
  .filter-btn { padding: 6px 14px; font-size: 0.65rem; }
}
