/* ── SELF-HOSTED FONT ─────────────────────────────────
   Inter (variable, Latin) served locally — no dependency on Google's CDN
   (works offline / behind proxies). Used for both body and headings.
   Declared inline (no @import) so it starts loading the moment this
   stylesheet is parsed; every page also preloads the file, so the correct
   font is ready at first paint — no flash. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
}

/* ── DESIGN TOKENS ────────────────────────────────── */
:root {
  --navy:      #0A0F1E;
  --navy-mid:  #111827;
  --navy-card: #131C2E;
  --cyan:      #00C8FF;
  --cyan-dim:  #009FC8;
  --white:     #F2F6FF;
  --muted:     #8B98B4;
  --border:    rgba(0,200,255,.12);
  --border-hi: rgba(0,200,255,.35);
  --glow:      0 0 48px rgba(0,200,255,.18);
  --display:   'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --body:      'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ── RESET ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── UTILITY ─────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.eyebrow {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}
.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.75;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 4px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: all .22s ease;
  border: none;
}
.btn-primary { background: var(--cyan); color: var(--navy); }
.btn-primary:hover { background: #33D6FF; transform: translateY(-1px); box-shadow: var(--glow); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid var(--border-hi); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* ── NAV ─────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10,15,30,.85);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
.nav-logo {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.nav-logo span { color: var(--cyan); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .02em;
  transition: color .2s;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
}
/* Dropdown */
.nav-dropdown { position: relative; }
/* Invisible bridge across the visual gap so the cursor keeps :hover
   while travelling from the trigger down to the menu */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 20px;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: -16px;
  min-width: 220px;
  background: #0D1628;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  list-style: none;
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu li a {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
  border-radius: 5px;
  transition: background .2s, color .2s;
}
.nav-dropdown-menu li a:hover { background: rgba(0,200,255,.08); color: var(--white); }
.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); }

/* ── PAGE HERO ───────────────────────────────────── */
.page-hero {
  padding: 108px 32px 80px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(0,200,255,.07) 0%, transparent 70%),
    var(--navy);
}
.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,200,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 80% at 70% 40%, black 20%, transparent 70%);
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; }
/* Page-hero intro label (e.g. "Service — Cloud Platforms") — larger than
   the section eyebrows used mid-page. Matches the home hero kicker size. */
.page-hero .eyebrow { font-size: 16px; }
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 20px;
  max-width: 700px;
}
.page-hero h1 em { font-style: normal; color: var(--cyan); }
.page-hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 36px;
}

/* ── BREADCRUMB ──────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 28px;
}
.breadcrumb a { color: var(--muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb span { color: var(--white); }
.breadcrumb-sep { opacity: .4; }

/* ── CTA STRIP ───────────────────────────────────── */
.cta-strip {
  background: linear-gradient(90deg, #0D1628 0%, #071020 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 32px;
}
.cta-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.cta-strip h3 {
  font-family: var(--display);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
}
.cta-strip h3 em { font-style: normal; color: var(--cyan); }
.cta-strip p { font-size: 15px; color: var(--muted); margin-top: 6px; }
.cta-strip-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ── FOOTER ──────────────────────────────────────── */
footer {
  padding: 80px 32px 40px;
  background: #070B17;
  border-top: 1px solid var(--border);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer-brand .nav-logo { font-size: 22px; margin-bottom: 16px; display: block; }
.footer-tagline { font-size: 14px; color: var(--muted); line-height: 1.7; max-width: 260px; }
.footer-contact { margin-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.footer-contact a { font-size: 13px; color: var(--muted); transition: color .2s; }
.footer-contact a:hover { color: var(--cyan); }
.footer-col h5 {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col li a { font-size: 14px; color: var(--muted); transition: color .2s; }
.footer-col li a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-legal { font-size: 13px; color: var(--muted); }
.footer-socials { display: flex; gap: 16px; }
.social-btn {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--muted);
  transition: border-color .2s, color .2s;
}
.social-btn:hover { border-color: var(--cyan); color: var(--cyan); }

/* ── REVEAL ──────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── MARQUEE ─────────────────────────────────────── */
.marquee-section { padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
.marquee-track { display: flex; gap: 64px; animation: marquee 28s linear infinite; white-space: nowrap; width: max-content; }
.marquee-item { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.marquee-item::before { content: ''; display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); flex-shrink: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── MOBILE ──────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cta-strip-inner { flex-direction: column; align-items: flex-start; }
  .cta-strip-actions { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
