/* ============================================================
  ATLAS DIGITAL DEFENSE — CSS
   Aesthetic: Dark Tactical Cyber · Sharp · Authoritative
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=JetBrains+Mono:wght@300;400;500&family=Figtree:wght@300;400;500;600&display=swap');

/* ── Variables ─────────────────────────────────────────── */
:root {
  --bg:            #050a0f;
  --bg-2:          #080f17;
  --bg-card:       #0c1520;
  --bg-card-hover: #101d2c;
  --border:        rgba(0, 180, 255, 0.12);
  --border-bright: rgba(0, 200, 255, 0.35);

  --cyan:          #00c8ff;
  --cyan-dim:      rgba(0, 200, 255, 0.18);
  --cyan-glow:     rgba(0, 200, 255, 0.08);
  --green:         #00ff9d;
  --green-dim:     rgba(0, 255, 157, 0.12);
  --red:           #ff3b5c;

  --text:          #e8f4f8;
  --text-muted:    #6b8fa8;
  --text-dim:      #3a5570;

  --font-display:  'Syne', sans-serif;
  --font-body:     'Figtree', sans-serif;
  --font-mono:     'JetBrains Mono', monospace;

  --radius:        6px;
  --radius-lg:     12px;
  --transition:    0.25s cubic-bezier(0.4, 0, 0.2, 1);

  /* Legacy aliases used by the inner pages' existing markup */
  --color-bg: var(--bg);
  --color-bg-alt: var(--bg-2);
  --color-bg-card: var(--bg-card);
  --color-bg-light: var(--bg-card-hover);
  --color-primary: var(--cyan);
  --color-primary-dark: #70e2ff;
  --color-secondary: var(--green);
  --color-accent: var(--green);
  --color-text: var(--text);
  --color-text-muted: var(--text-muted);
  --color-text-dim: var(--text-dim);
  --color-border: var(--border);
  --color-danger: var(--red);
  --color-warning: #ffc146;
  --font-main: var(--font-body);
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  /* Subtle grid texture */
  background-image:
    linear-gradient(rgba(0,200,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ── Noise overlay ─────────────────────────────────────── */
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.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ── Typography ────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ── Scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--border-bright); border-radius: 3px; }

/* ══════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--text);
  white-space: nowrap;
  transition: color var(--transition);
}
.logo:hover { color: var(--cyan); }

.logo-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cyan-dim);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--cyan);
  flex-shrink: 0;
}

/* Desktop nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-desktop a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 13px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.01em;
}
.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}

/* CTA button in nav */
.btn-auditoria {
  margin-left: 6px;
  background: var(--cyan) !important;
  color: var(--bg) !important;
  font-weight: 700 !important;
  padding: 8px 16px !important;
  border-radius: var(--radius) !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: box-shadow var(--transition), transform var(--transition) !important;
}
.btn-auditoria:hover {
  box-shadow: 0 0 20px rgba(0,200,255,0.45);
  transform: translateY(-1px);
  background: var(--cyan) !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border);
  background: rgba(5,10,15,0.97);
  gap: 2px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 10px 12px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  font-weight: 500;
}
.nav-mobile a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-mobile .btn-auditoria {
  margin-top: 8px;
  text-align: center;
  background: var(--cyan) !important;
  color: var(--bg) !important;
}

/* ══════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════ */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

/* Radial glow background */
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center top,
    rgba(0,200,255,0.1) 0%,
    rgba(0,200,255,0.03) 40%,
    transparent 70%);
  pointer-events: none;
}

/* Animated scan line */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  animation: scan 6s linear infinite;
  opacity: 0.4;
}

@keyframes scan {
  0%  { top: 0%; left: -60%; }
  100%{ top: 100%; left: 120%; }
}

.hero .container {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

/* Mono label above title */
.hero .container::before {
  content: '// ATLAS DIGITAL DEFENSE · v2026';
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  letter-spacing: 0.12em;
  margin-bottom: 24px;
  opacity: 0.8;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 24px;
  animation: fadeUp 0.7s ease both;
}

/* Cyan accent on last word */
.hero-title em {
  font-style: normal;
  color: var(--cyan);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fadeUp 0.7s 0.1s ease both;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.2s ease both;
}

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

.btn-primary {
  background: var(--cyan);
  color: var(--bg);
  font-weight: 700;
}
.btn-primary:hover {
  box-shadow: 0 0 32px rgba(0,200,255,0.5), 0 0 8px rgba(0,200,255,0.3);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-bright);
}
.btn-outline:hover {
  background: var(--cyan-dim);
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ══════════════════════════════════════════════════════════
   TRUST BAR
   ══════════════════════════════════════════════════════════ */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  padding: 0;
  overflow: hidden;
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 10px 14px;
  border-right: 1px solid var(--border);
  white-space: nowrap;
  transition: color var(--transition);
  flex: 1;
  justify-content: center;
}
.trust-item:last-child { border-right: none; }
.trust-item:hover { color: var(--cyan); }

.trust-icon {
  font-size: 0.78rem;
  opacity: 0.7;
}

/* ══════════════════════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════════════════════ */
.section {
  padding: 96px 0;
}
.section-alt {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  text-align: center;
  margin-bottom: 12px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 52px;
  font-size: 1rem;
  line-height: 1.7;
}

/* ── Problem/Solution boxes ─────────────────────────────── */
.problem-box {
  background: rgba(255, 59, 92, 0.05);
  border: 1px solid rgba(255,59,92,0.2);
  border-left: 3px solid var(--red);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}
.problem-box h2 {
  color: var(--text);
  font-size: 1.3rem;
}

.solution-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  position: relative;
  overflow: hidden;
}
.solution-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}
.solution-box h2 {
  font-size: 1.3rem;
}

.three-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.col-block h3 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.col-block ul li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 5px 0;
  padding-left: 14px;
  position: relative;
  transition: color var(--transition);
}
.col-block ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-size: 0.75rem;
  opacity: 0.5;
}
.col-block ul li:hover { color: var(--text); }

/* ── Cards ──────────────────────────────────────────────── */
.card-grid {
  display: grid;
  gap: 20px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  position: relative;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

/* Top gradient line */
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan-dim), transparent);
  transition: background var(--transition);
}
.card:hover::before {
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

/* Corner decoration */
.card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40px; height: 40px;
  border-top: 1px solid var(--border-bright);
  border-right: 1px solid var(--border-bright);
  border-radius: 0 var(--radius-lg) 0 0;
  opacity: 0;
  transition: opacity var(--transition);
}
.card:hover::after { opacity: 1; }

.card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px rgba(0,200,255,0.05);
  background: var(--bg-card-hover);
}

.card-icon {
  font-size: 1.6rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--cyan-glow);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition);
}
.card:hover .card-icon {
  background: var(--cyan-dim);
  border-color: var(--border-bright);
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.card-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.card-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--cyan);
  text-transform: uppercase;
  transition: gap var(--transition), opacity var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.7;
}
.card-link:hover { opacity: 1; gap: 10px; }

/* ── Sector grid ────────────────────────────────────────── */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.sector-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  transition: all var(--transition);
  position: relative;
}
.sector-card:hover {
  border-color: var(--border-bright);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}
.sector-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.sector-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── CTA Section ────────────────────────────────────────── */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%,
    rgba(0,200,255,0.07) 0%,
    transparent 65%);
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 16px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section p {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 36px;
  font-size: 1rem;
}

/* ══════════════════════════════════════════════════════════
   INNER PAGES
   ══════════════════════════════════════════════════════════ */
.page-header {
  padding: 136px 0 56px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top center, rgba(0, 200, 255, 0.12), transparent 50%),
    linear-gradient(180deg, rgba(8, 15, 23, 0.96), rgba(5, 10, 15, 1));
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 200, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  max-width: 900px;
  margin: 0 auto 16px;
  text-align: center;
}

.page-header p {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--cyan);
}

.check-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 700;
}

.package-grid,
.blog-grid {
  display: grid;
  gap: 20px;
}

.package-card,
.blog-card,
.demo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.package-card::before,
.blog-card::before,
.demo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan-dim), transparent);
}

.package-card:hover,
.blog-card:hover,
.demo-card:hover {
  border-color: var(--border-bright);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), 0 0 24px rgba(0, 200, 255, 0.06);
}

.package-card {
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.package-card.featured {
  border-color: var(--border-bright);
  box-shadow: 0 0 0 1px rgba(0, 200, 255, 0.1);
}

.package-card .badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(0, 200, 255, 0.12);
  color: var(--cyan);
  border: 1px solid var(--border-bright);
  border-radius: 999px;
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.package-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  padding-right: 88px;
}

.package-card .target {
  color: var(--cyan);
  font-size: 0.8rem;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.package-card ul {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  flex: 1;
}

.package-card ul li {
  position: relative;
  padding-left: 22px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.package-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--cyan);
}

.blog-card-content,
.demo-card {
  padding: 26px;
}

.blog-category,
.demo-card .status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 200, 255, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(0, 200, 255, 0.16);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-card h3,
.demo-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.blog-card p,
.demo-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(280px, 0.95fr);
  gap: 24px;
  align-items: start;
}

.service-main {
  min-width: 0;
}

.service-sidebar {
  position: sticky;
  top: 94px;
  background: rgba(12, 21, 32, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(16px);
}

.service-sidebar h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.service-sidebar ul {
  display: grid;
  gap: 8px;
}

.service-sidebar a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  border: 1px solid transparent;
}

.service-sidebar a:hover,
.service-sidebar a.active {
  color: var(--text);
  background: rgba(0, 200, 255, 0.08);
  border-color: rgba(0, 200, 255, 0.16);
}

.warning-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: rgba(255, 193, 70, 0.08);
  border: 1px solid rgba(255, 193, 70, 0.18);
}

.warning-box .icon {
  color: var(--color-warning);
  flex: 0 0 auto;
  line-height: 1;
}

.warning-box p {
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: start;
}

.contact-grid form,
.contact-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.84rem;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(0, 200, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 13px 14px;
  font: inherit;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(0, 200, 255, 0.4);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 0 0 4px rgba(0, 200, 255, 0.08);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checkbox-group input {
  width: 16px;
  height: 16px;
  margin-top: 4px;
}

.checkbox-group label {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
}

.checkbox-group a {
  color: var(--cyan);
}

.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 16px;
}

.contact-info-item .icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: rgba(0, 200, 255, 0.08);
  border: 1px solid rgba(0, 200, 255, 0.14);
  color: var(--cyan);
  flex: 0 0 auto;
}

.contact-info-item h4 {
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.contact-info-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal-content {
  max-width: 860px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.25rem;
  margin: 34px 0 14px;
}

.legal-content h3 {
  font-size: 1rem;
  margin: 24px 0 12px;
  color: var(--cyan);
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
}

.legal-content ul {
  margin: 0 0 16px 0;
  padding-left: 20px;
  list-style: disc;
}

.legal-content li {
  margin-bottom: 8px;
}

.header.scrolled {
  border-bottom-color: var(--border-bright);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 14px;
  line-height: 1.65;
  max-width: 280px;
}

.footer-links h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.footer-links ul li {
  margin-bottom: 8px;
}
.footer-links ul li a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links ul li a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 0.72rem;
  color: var(--text-dim);
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: var(--text-muted); }

/* ══════════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Reveal on scroll (JS adds .visible class) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger for children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-stagger.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(4) { opacity:1; transform:none; transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(5) { opacity:1; transform:none; transition-delay: 0.32s; }

/* Pulse on CTA button */
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 12px rgba(0,200,255,0.3); }
  50%       { box-shadow: 0 0 28px rgba(0,200,255,0.6), 0 0 8px rgba(0,200,255,0.4); }
}
.btn-primary {
  animation: glow-pulse 3s ease-in-out infinite;
}
.btn-primary:hover { animation: none; }

/* Blinking cursor after mono text */
.hero .container::before::after {
  content: '_';
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .nav-toggle   { display: flex; }

  .hero { padding: 120px 0 72px; }
  .hero-title { font-size: 2.2rem; }

  .page-header {
    padding: 118px 0 44px;
  }

  .three-cols { grid-template-columns: 1fr; gap: 24px; }

  .contact-grid,
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-sidebar {
    position: static;
  }

  .package-grid,
  .blog-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .trust-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-item { border-right: none; border-bottom: 1px solid var(--border); }
  .trust-item:nth-child(odd) { border-right: 1px solid var(--border); }

  .sector-grid { grid-template-columns: 1fr 1fr; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-brand { grid-column: span 1; }

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

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
  .sector-grid { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: 1fr; }
  .trust-item { border-right: none !important; }
  .contact-grid form,
  .contact-panel,
  .service-sidebar,
  .package-card,
  .card,
  .blog-card-content,
  .demo-card {
    padding: 22px;
  }
}

/* ══════════════════════════════════════════════════════════
   UTILITY — color var exposed for inline HTML uses
   ══════════════════════════════════════════════════════════ */
.text-cyan  { color: var(--cyan); }
.text-muted { color: var(--text-muted); }
.mono       { font-family: var(--font-mono); }