/* =========================================================
   SysEze — Global Stylesheet
   Tokens, base, components, sections.
   ========================================================= */

:root {
  /* Color tokens */
  --bg:            #0A0E1A;
  --bg-elevated:   #0E1424;
  --surface:       #111827;
  --surface-2:     #161E33;
  --border:        #1F2937;
  --border-strong: #2A3550;

  --text:          #F9FAFB;
  --text-muted:    #9CA3AF;
  --text-dim:      #6B7280;

  --accent-blue:   #3B82F6;
  --accent-purple: #8B5CF6;
  --accent-cyan:   #06B6D4;
  --accent-green:  #10B981;
  --accent-pink:   #EC4899;

  --gradient-primary: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
  --gradient-cyan:    linear-gradient(135deg, #06B6D4 0%, #3B82F6 100%);
  --gradient-warm:    linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);

  /* Type */
  --font-sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Spacing scale */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-card: 0 1px 0 rgba(255,255,255,0.04) inset, 0 8px 30px rgba(0,0,0,0.35);
  --shadow-glow: 0 0 0 1px rgba(139,92,246,0.45), 0 12px 60px -10px rgba(59,130,246,0.35);

  --container: 1200px;
  --nav-h: 72px;
}

/* =========================================================
   Reset / base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

::selection { background: rgba(139,92,246,0.35); color: #fff; }

/* Subtle dot grid texture for the whole page background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}

main, footer, header { position: relative; z-index: 1; }

/* =========================================================
   Type
   ========================================================= */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 0.4em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5vw + 0.5rem, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3vw + 0.6rem, 2.8rem); }
h3 { font-size: clamp(1.25rem, 1.2vw + 0.8rem, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; color: var(--text-muted); text-wrap: pretty; }
.lead { font-size: clamp(1.05rem, 0.6vw + 0.9rem, 1.25rem); color: var(--text-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 18px; height: 1px;
  background: var(--accent-cyan);
  display: inline-block;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =========================================================
   Layout
   ========================================================= */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: clamp(72px, 9vw, 130px) 0;
  position: relative;
}
.section-tight { padding: clamp(56px, 7vw, 96px) 0; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-head p { font-size: 1.05rem; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(139,92,246,0.6), 0 0 0 1px rgba(255,255,255,0.06) inset;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px rgba(139,92,246,0.85), 0 0 0 1px rgba(255,255,255,0.1) inset;
}

.btn-ghost {
  background: rgba(255,255,255,0.02);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--accent-cyan);
  transition: gap .2s ease, color .2s ease;
}
.btn-link:hover { gap: 12px; color: #fff; }
.btn-link svg { width: 14px; height: 14px; }

/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,14,26,0.72);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand img { height: 38px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,0.04); }

/* Dropdown */
.nav-item { position: relative; }
.nav-item .caret { width: 12px; height: 12px; opacity: .6; transition: transform .2s; }
.nav-item:hover .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  min-width: 520px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease .15s, transform .2s ease .15s;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity .18s ease 0s, transform .18s ease 0s;
}
.dropdown a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: 10px;
  color: var(--text);
}
.dropdown a:hover { background: var(--surface); }
.dropdown .ic {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(59,130,246,0.12);
  color: var(--accent-cyan);
  flex-shrink: 0;
}
.dropdown .ic svg { width: 16px; height: 16px; }
.dropdown .label { font-weight: 600; font-size: 0.92rem; line-height: 1.2; display: block; }
.dropdown .desc { font-size: 0.78rem; color: var(--text-muted); display: block; margin-top: 2px; }

.nav-cta { margin-left: 8px; padding: 10px 18px; font-size: 0.88rem; }

/* Mobile nav */
.hamburger {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  color: var(--text);
}
.hamburger svg { width: 20px; height: 20px; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(5,8,16,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  opacity: 0;
  transition: opacity .25s ease;
}
.mobile-menu.open { display: block; opacity: 1; }
.mobile-menu-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(85vw, 380px);
  background: var(--bg-elevated);
  border-left: 1px solid var(--border);
  padding: 88px 24px 32px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s ease;
}
.mobile-menu.open .mobile-menu-panel { transform: translateX(0); }
.mobile-menu a {
  display: block;
  padding: 14px 12px;
  font-size: 1.05rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-menu .mobile-sub a {
  font-size: 0.92rem;
  color: var(--text-muted);
  padding-left: 24px;
}
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 24px; }

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: inline-flex; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 60px;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 36px; max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 60px); padding-bottom: 80px; }
  .hero-visual { order: -1; }
}

/* Animated background orbs */
.orbs {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: orb-float 18s ease-in-out infinite;
}
.orb.o1 { width: 520px; height: 520px; left: -120px; top: -80px; background: radial-gradient(circle, #3B82F6, transparent 70%); }
.orb.o2 { width: 460px; height: 460px; right: -100px; top: 120px; background: radial-gradient(circle, #8B5CF6, transparent 70%); animation-delay: -6s; }
.orb.o3 { width: 380px; height: 380px; left: 35%; bottom: -120px; background: radial-gradient(circle, #06B6D4, transparent 70%); animation-delay: -12s; opacity: 0.3; }

@keyframes orb-float {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.05); }
  66% { transform: translate(-30px, 40px) scale(0.95); }
}

/* Grid overlay */
.grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  pointer-events: none;
}

/* =========================================================
   Hero visual — terminal/code mock
   ========================================================= */
.hero-visual {
  position: relative;
}
.terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(139,92,246,0.15);
  position: relative;
  z-index: 2;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border);
}
.terminal-bar .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--border-strong); }
.terminal-bar .dot.r { background: #FF5F57; }
.terminal-bar .dot.y { background: #FEBC2E; }
.terminal-bar .dot.g { background: #28C840; }
.terminal-bar .title {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}
.terminal-body {
  padding: 22px 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
  min-height: 320px;
}
.terminal-body .prompt { color: var(--accent-cyan); }
.terminal-body .ok { color: var(--accent-green); }
.terminal-body .warn { color: #FBBF24; }
.terminal-body .key { color: var(--accent-purple); }
.terminal-body .str { color: #93C5FD; }
.terminal-body .comment { color: var(--text-dim); font-style: italic; }
.terminal-body .cursor {
  display: inline-block;
  width: 8px; height: 14px;
  background: var(--accent-cyan);
  vertical-align: middle;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-badge {
  position: absolute;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  z-index: 3;
  font-size: 13px;
}
.hero-badge .ic {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--gradient-cyan);
  display: grid; place-items: center;
}
.hero-badge .ic svg { width: 16px; height: 16px; color: #fff; }
.hero-badge strong { display: block; color: var(--text); font-weight: 600; }
.hero-badge span { color: var(--text-muted); font-size: 11px; }

.hero-badge.b1 { top: -20px; right: -20px; animation: float 6s ease-in-out infinite; }
.hero-badge.b2 { bottom: -24px; left: -24px; animation: float 6s ease-in-out infinite reverse; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* =========================================================
   Trust strip / logos
   ========================================================= */
.trust {
  margin-top: 56px;
  text-align: center;
}
.trust-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 22px;
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 48px;
  opacity: 0.7;
}
.trust-logos .tl {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-muted);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .2s ease, opacity .2s ease, filter .2s ease;
  text-decoration: none;
}
.trust-logos .tl:hover { color: var(--text); opacity: 1; }
.trust-logos .tl .tl-text { display: inline-flex; align-items: center; gap: 8px; }
.trust-logos .tl img {
  height: 36px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.3) contrast(0.9);
  opacity: 0.75;
  transition: filter .25s ease, opacity .25s ease;
}
.trust-logos .tl:hover img {
  filter: grayscale(0) brightness(1) contrast(1);
  opacity: 1;
}
.trust-logos .tl .mark {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, currentColor, transparent);
  opacity: 0.5;
}

/* =========================================================
   Stats
   ========================================================= */
.stats-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, rgba(17,24,39,0.4) 50%, var(--bg) 100%);
  padding: 64px 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.stat {
  text-align: center;
  padding: 20px 16px;
  position: relative;
}
.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0; top: 30%; bottom: 30%;
  width: 1px;
  background: var(--border);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat + .stat::before { display: none; }
  .stats .stat:nth-child(odd) { border-right: 1px solid var(--border); }
  .stats .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}

/* =========================================================
   Card grid (services)
   ========================================================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } }

.card {
  position: relative;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .3s ease;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(59,130,246,0.5), rgba(139,92,246,0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); }
.card:hover::before { opacity: 1; }
.card:hover { box-shadow: 0 30px 60px -20px rgba(139,92,246,0.25); }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(59,130,246,0.18), rgba(139,92,246,0.18));
  border: 1px solid rgba(139,92,246,0.3);
  display: grid; place-items: center;
  color: var(--accent-cyan);
  margin-bottom: 22px;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { font-size: 0.95rem; margin-bottom: 18px; }
.card .btn-link { font-size: 0.88rem; }

/* =========================================================
   Why (3 feature row)
   ========================================================= */
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 880px) { .feature-row { grid-template-columns: 1fr; } }

.feature {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
}
.feature .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent-cyan);
  margin-bottom: 18px;
  display: block;
}
.feature h3 { font-size: 1.2rem; margin-bottom: 12px; }
.feature p { font-size: 0.95rem; margin: 0; }

/* =========================================================
   Process timeline
   ========================================================= */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong) 20%, var(--border-strong) 80%, transparent);
}
.step {
  text-align: center;
  position: relative;
  padding: 0 12px;
}
.step .ring {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  margin: 0 auto 22px;
  position: relative;
  z-index: 2;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  color: var(--accent-cyan);
}
.step .ring::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(6,182,212,0.2);
  animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0; transform: scale(1.2); }
}
.step h3 { font-size: 1.1rem; margin-bottom: 10px; }
.step p { font-size: 0.9rem; margin: 0; }

@media (max-width: 880px) {
  .timeline { grid-template-columns: 1fr 1fr; gap: 32px; }
  .timeline::before { display: none; }
}
@media (max-width: 480px) { .timeline { grid-template-columns: 1fr; } }

/* =========================================================
   Testimonials
   ========================================================= */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .testimonials { grid-template-columns: 1fr; } }

.quote-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
}
.quote-card .mark {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: -12px;
}
.quote-card blockquote {
  margin: 0 0 24px;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.6;
}
.quote-card .author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.quote-card .avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: grid; place-items: center;
  font-weight: 700;
  color: #fff;
  font-size: 14px;
  flex-shrink: 0;
}
.quote-card .author strong { display: block; font-size: 0.92rem; color: var(--text); }
.quote-card .author span { font-size: 0.82rem; color: var(--text-muted); }

/* =========================================================
   Final CTA banner
   ========================================================= */
.cta-banner {
  position: relative;
  background: linear-gradient(135deg, #1E1B4B 0%, #0F172A 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 72px 56px;
  text-align: center;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(59,130,246,0.3), transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(139,92,246,0.3), transparent 50%);
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { font-size: clamp(2rem, 3vw + 1rem, 3rem); margin-bottom: 16px; }
.cta-banner p { font-size: 1.1rem; max-width: 560px; margin: 0 auto 32px; }

@media (max-width: 640px) { .cta-banner { padding: 56px 28px; } }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  border-top: 1px solid var(--border);
  background: #060912;
  padding: 80px 0 28px;
  position: relative;
  z-index: 2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 56px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer .brand img { height: 44px; }
.footer-tagline { color: var(--text-muted); font-size: 0.92rem; margin: 18px 0 22px; max-width: 320px; }

.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--text-muted);
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.socials a:hover { color: var(--text); border-color: var(--accent-purple); background: var(--surface-2); }
.socials svg { width: 16px; height: 16px; }

.footer h4 {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 22px;
  font-weight: 600;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 12px; }
.footer a { color: var(--text-muted); font-size: 0.92rem; transition: color .2s ease; }
.footer a:hover { color: var(--text); }

.footer-contact { font-style: normal; color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; }
.footer-contact a { display: block; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-dim);
}
@media (max-width: 600px) {
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* =========================================================
   Page hero (smaller — for inner pages)
   ========================================================= */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 80px) 0 60px;
  text-align: center;
  overflow: hidden;
}
.page-hero h1 { margin-bottom: 18px; }
.page-hero .lead { max-width: 640px; margin: 0 auto; }
.breadcrumbs {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs .sep { margin: 0 8px; color: var(--text-dim); }

/* =========================================================
   Animations on scroll
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }
.reveal.delay-4 { transition-delay: .32s; }
.reveal.delay-5 { transition-delay: .40s; }
.reveal.delay-6 { transition-delay: .48s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Misc utilities
   ========================================================= */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-0 { margin-top: 0; }
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  margin: 80px 0;
}
