/* ═══════════════════════════════════════════════
   AXIOM INFINITY — BRAND-MATCHED DESIGN SYSTEM
   Colors extracted directly from official logo:
   Blue:    #1A4FD6 (Axiom wordmark)
   Cyan:    #2EC4D9 → #1AB8D4 (circuit icon)
   Purple:  #9B6BC8 (infinity left)
   Teal:    #2DC4B8 (infinity right)
   Dark:    #2D2D2D (INFINITY text)
   Location: Chattanooga, Tennessee, USA
═══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@300;400;500&display=swap');

:root {
  /* ── BRAND COLORS (from logo) ── */
  --blue:        #1A4FD6;
  --blue-lt:     #2E65F0;
  --blue-dk:     #1240B8;
  --cyan:        #2EC4D9;
  --cyan2:       #1AB8D4;
  --cyan-lt:     #4DD4E8;
  --purple:      #9B6BC8;
  --purple-lt:   #B080E0;
  --teal:        #2DC4B8;
  --teal-lt:     #40D4C8;

  /* ── GRADIENT COMBOS ── */
  --grad-brand:  linear-gradient(135deg, #1A4FD6 0%, #2EC4D9 100%);
  --grad-inf:    linear-gradient(135deg, #9B6BC8 0%, #2DC4B8 100%);
  --grad-blue:   linear-gradient(135deg, #1240B8 0%, #2E65F0 100%);
  --grad-cyan:   linear-gradient(135deg, #1AB8D4 0%, #4DD4E8 100%);

  /* ── DARK THEME ── */
  --ink:         #060D1A;
  --ink2:        #0C1628;
  --ink3:        #101E36;
  --ink4:        #172440;
  --ink5:        #1E2E4E;

  /* ── TEXT ── */
  --white:       #FFFFFF;
  --off-white:   #EEF2FF;
  --text-lt:     #B8C8E8;
  --text-mid:    #8098C0;
  --text-dim:    #506080;

  /* ── BORDERS ── */
  --border:      rgba(255,255,255,.07);
  --border-blue: rgba(26,79,214,.25);
  --border-cyan: rgba(46,196,217,.2);

  /* ── EFFECTS ── */
  --glow-blue:   0 0 40px rgba(26,79,214,.25);
  --glow-cyan:   0 0 40px rgba(46,196,217,.2);
  --shadow-card: 0 20px 60px rgba(0,0,0,.4);

  /* ── LAYOUT ── */
  --nav-h:    72px;
  --r:        14px;
  --r-sm:     8px;
  --r-xs:     6px;
  --max-w:    1180px;
  --max-w-xl: 1380px;
}

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--ink);
  color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
}
h1,h2,h3,h4,h5 { font-family: 'Space Grotesk', sans-serif; line-height: 1.1; font-weight: 700; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
input, button, select, textarea { font-family: inherit; }

/* ─── CURSOR ─── */
.cursor {
  position: fixed; width: 10px; height: 10px;
  background: var(--cyan); border-radius: 50%;
  pointer-events: none; z-index: 99999;
  transition: transform .12s ease;
}
.cursor-ring {
  position: fixed; width: 36px; height: 36px;
  border: 1.5px solid rgba(46,196,217,.45);
  border-radius: 50%; pointer-events: none; z-index: 99998;
  transition: width .3s, height .3s, opacity .3s;
}
@media (hover: none) { .cursor, .cursor-ring { display: none; } body { cursor: auto; } }

/* ─── LAYOUT ─── */
.container     { max-width: var(--max-w);    margin: 0 auto; padding: 0 36px; }
.container-xl  { max-width: var(--max-w-xl); margin: 0 auto; padding: 0 36px; }

/* ─── NOISE OVERLAY ─── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .022;
}

/* ═══════════════ NAVBAR ═══════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9000;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 36px;
  transition: all .4s ease;
}
.navbar::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(6,13,26,0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: all .4s ease; z-index: -1;
}
.navbar.scrolled::after {
  background: rgba(6,13,26,.94);
  backdrop-filter: blur(20px) saturate(1.2);
  border-bottom-color: var(--border);
}
.nav-logo { display: flex; align-items: center; z-index: 1; }
.nav-logo img { height: 40px; width: auto; }
.nav-logo-fallback {
  display: none; align-items: center; gap: 2px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 20px;
}
.nav-logo-fallback .ax { color: var(--blue); }
.nav-logo-fallback .inf { color: var(--text-lt); font-size: 13px; font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 2px; z-index: 1; }
.nav-links a {
  padding: 8px 15px; font-size: 14px; font-weight: 500;
  color: var(--text-lt); border-radius: var(--r-xs);
  transition: all .2s; letter-spacing: .01em;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.07); }
.nav-links a.active { color: var(--cyan); }

/* Dropdown */
.has-dd { position: relative; }
.has-dd > a::after { content: '⌄'; margin-left: 4px; font-size: 10px; opacity: .5; }
.nav-dd {
  display: none; position: absolute; top: calc(100% + 10px); left: -8px;
  min-width: 260px; padding: 8px;
  background: var(--ink3); border: 1px solid var(--border-cyan);
  border-radius: var(--r); box-shadow: var(--shadow-card); z-index: 9999;
}
.has-dd:hover .nav-dd { display: block; }
.nav-dd a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: var(--r-xs);
  font-size: 13px; color: var(--text-lt); transition: all .15s;
}
.nav-dd a:hover { background: rgba(46,196,217,.1); color: var(--cyan); padding-left: 16px; }
.dd-icon { width: 20px; text-align: center; font-size: 14px; }
.dd-sep { height: 1px; background: var(--border); margin: 5px 0; }

.nav-cta {
  background: var(--grad-brand); color: var(--white);
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14px;
  padding: 9px 22px; border-radius: var(--r-sm);
  transition: all .25s; z-index: 1; border: none; cursor: none;
  box-shadow: 0 4px 16px rgba(26,79,214,.3);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(26,79,214,.4); }

.nav-ham {
  display: none; flex-direction: column; gap: 5px;
  z-index: 1; padding: 8px; cursor: pointer; background: none; border: none;
}
.nav-ham span { display: block; width: 22px; height: 2px; background: var(--text-lt); border-radius: 2px; transition: .3s; }

/* ═══════════════ SECTION COMMON ═══════════════ */
section { position: relative; z-index: 1; }
.sp { padding: 96px 0; }
.sp-sm { padding: 64px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 14px;
}
.eyebrow::before {
  content: ''; display: block; width: 20px; height: 2px;
  background: var(--grad-cyan); flex-shrink: 0; border-radius: 2px;
}

.section-title {
  font-size: clamp(28px, 3.8vw, 50px); font-weight: 700;
  letter-spacing: -.03em; margin-bottom: 14px; line-height: 1.08;
}
.section-sub {
  font-size: 16px; color: var(--text-lt); max-width: 560px;
  line-height: 1.8; font-weight: 400;
}
.sec-head { margin-bottom: 56px; }
.sec-head.ctr { text-align: center; }
.sec-head.ctr .eyebrow { justify-content: center; }
.sec-head.ctr .section-sub { margin: 0 auto; }

/* Highlight helpers */
.hl-blue  { color: var(--blue-lt); }
.hl-cyan  { color: var(--cyan); }
.hl-grad  { color: transparent; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; }
.hl-inf   { color: transparent; background: var(--grad-inf);   -webkit-background-clip: text; background-clip: text; }

/* ═══════════════ BUTTONS ═══════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14px;
  padding: 13px 26px; border-radius: var(--r-sm);
  transition: all .25s; border: none; cursor: none; position: relative; overflow: hidden;
}
.btn-blue  { background: var(--grad-blue); color: var(--white); box-shadow: 0 4px 20px rgba(26,79,214,.35); }
.btn-blue:hover  { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(26,79,214,.45); }
.btn-cyan  { background: var(--grad-cyan);  color: var(--ink);  box-shadow: 0 4px 20px rgba(46,196,217,.3); }
.btn-cyan:hover  { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(46,196,217,.4); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.18); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-3px); }
.btn-outline-blue { background: transparent; color: var(--blue-lt); border: 1px solid rgba(26,79,214,.4); }
.btn-outline-blue:hover { background: rgba(26,79,214,.12); border-color: var(--blue-lt); transform: translateY(-2px); }

/* ═══════════════ INNER PAGE HERO ═══════════════ */
.page-hero {
  padding: 148px 0 72px;
  position: relative; overflow: hidden;
  background: var(--ink);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(26,79,214,.14) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 10% 85%, rgba(46,196,217,.07) 0%, transparent 60%);
}
.page-hero-dots {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, rgba(46,196,217,.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 80%);
}
.page-hero-body { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(42px, 5.5vw, 70px); font-weight: 700;
  letter-spacing: -.04em; line-height: 1.02; margin-bottom: 18px;
}
.page-hero p {
  font-size: 17px; color: var(--text-lt); max-width: 580px;
  line-height: 1.85; font-weight: 400;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace; letter-spacing: .08em;
  margin-bottom: 22px;
}
.breadcrumb a { color: var(--text-dim); transition: color .2s; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb span.sep { font-size: 10px; color: var(--border); }

/* ═══════════════ CARDS (shared) ═══════════════ */
.card-base {
  background: var(--ink2); border: 1px solid var(--border);
  border-radius: var(--r); padding: 28px;
  transition: all .35s ease; position: relative; overflow: hidden;
}
.card-base:hover { border-color: var(--border-cyan); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.card-top-line::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-brand);
}
.card-left-line::before {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 3px;
  background: var(--grad-brand); opacity: 0; transition: opacity .35s;
}
.card-left-line:hover::before { opacity: 1; }

/* ═══════════════ CTA SECTION ═══════════════ */
.cta-sec {
  position: relative; overflow: hidden;
  background: var(--ink); padding: 110px 0;
}
.cta-sec-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 90% at 50% 110%, rgba(26,79,214,.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 85% 10%, rgba(46,196,217,.06) 0%, transparent 60%);
}
.cta-sec-inner { position: relative; z-index: 1; text-align: center; max-width: 700px; margin: 0 auto; }
.cta-sec-inner h2 {
  font-size: clamp(30px, 4.5vw, 58px); font-weight: 700;
  letter-spacing: -.03em; margin-bottom: 16px; line-height: 1.06;
}
.cta-sec-inner p { font-size: 16px; color: var(--text-lt); margin-bottom: 40px; line-height: 1.8; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-contact-row {
  display: flex; gap: 36px; justify-content: center; flex-wrap: wrap;
  margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--border);
}
.cta-ci { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--text-lt); }
.cta-ci-icon { font-size: 15px; color: var(--cyan); }
.cta-ci a { color: var(--text-lt); transition: color .2s; }
.cta-ci a:hover { color: var(--cyan); }

/* ═══════════════ FOOTER ═══════════════ */
.footer {
  background: #040A13; border-top: 1px solid var(--border);
}
.footer-main {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 56px; padding: 68px 0 52px;
  border-bottom: 1px solid var(--border);
}
.footer-logo { height: 36px; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; color: var(--text-mid); line-height: 1.8; max-width: 270px; }
.footer-offices { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.footer-off { display: flex; align-items: flex-start; gap: 10px; }
.footer-off-flag { font-size: 16px; margin-top: 2px; }
.footer-off-info strong {
  display: block; font-size: 10px; font-weight: 700; color: var(--cyan);
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 2px;
  font-family: 'JetBrains Mono', monospace;
}
.footer-off-info span { font-size: 12.5px; color: var(--text-mid); }
.footer-socials { display: flex; gap: 8px; margin-top: 20px; }
.footer-soc-btn {
  width: 36px; height: 36px; border-radius: var(--r-xs);
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--text-mid);
  font-family: 'Space Grotesk', sans-serif;
  transition: all .2s;
}
.footer-soc-btn:hover { background: var(--blue); color: var(--white); border-color: var(--blue); transform: translateY(-2px); }
.footer-col h5 {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a { font-size: 13px; color: var(--text-mid); transition: color .2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-contact-list { display: flex; flex-direction: column; gap: 11px; }
.footer-ci { display: flex; gap: 9px; align-items: flex-start; }
.footer-ci-ic { font-size: 13px; color: var(--cyan); flex-shrink: 0; margin-top: 2px; }
.footer-ci a, .footer-ci span { font-size: 13px; color: var(--text-mid); transition: color .2s; }
.footer-ci a:hover { color: var(--cyan); }
.footer-bottom {
  padding: 20px 0; display: flex; justify-content: space-between;
  align-items: center; font-size: 12px; color: var(--text-dim);
}
.footer-bottom a { color: var(--text-dim); transition: color .2s; }
.footer-bottom a:hover { color: var(--white); }

/* ═══════════════ ANIMATIONS ═══════════════ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: none; }
.reveal-l { opacity: 0; transform: translateX(-28px); transition: opacity .7s ease, transform .7s ease; }
.reveal-l.in { opacity: 1; transform: none; }
.reveal-r { opacity: 0; transform: translateX(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal-r.in { opacity: 1; transform: none; }
.d1{transition-delay:.08s}.d2{transition-delay:.16s}.d3{transition-delay:.24s}
.d4{transition-delay:.32s}.d5{transition-delay:.4s}.d6{transition-delay:.48s}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1080px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .container, .container-xl { padding: 0 20px; }
  .navbar { padding: 0 20px; }
  .nav-links, .nav-cta { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--ink2); padding: 16px 20px;
    border-bottom: 1px solid var(--border);
  }
  .nav-ham { display: flex; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; }
  .cta-contact-row { flex-direction: column; align-items: center; gap: 16px; }
  body { cursor: auto; }
}
@media (max-width: 480px) {
  .sp { padding: 64px 0; }
}

/* ── DOT GRID PATTERN ── */
.dot-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(circle, rgba(46,196,217,.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 50%, black 25%, transparent 80%);
}
