/* =============================================
   AtonixCorp – Shared Stylesheet
   Matches the React frontend design system
   ============================================= */

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

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

:root {
  /* Core palette – pulled directly from frontend */
  --bg:          #f8fafc;        /* light body – matches frontend body */
  --bg-dark:     #0b1220;        /* nav/hero/footer dark */
  --bg-darker:   #07121a;        /* gradient end */
  --bg-card:     #ffffff;        /* card bg on light sections */
  --bg-card-dark: rgba(255,255,255,.04); /* card bg on dark sections */
  --border:      #e5e7eb;        /* light section border */
  --border-dark: rgba(20,184,166,.2); /* teal-tinted border on dark */

  --teal:        #14b8a6;        /* primary accent – from header accentCyan */
  --teal-hover:  #0ea5a4;        /* hover state */
  --teal-dim:    rgba(20,184,166,.13); /* subtle teal bg */
  --teal-border: rgba(20,184,166,.33); /* nav border */

  --text:        #1f2937;        /* dark text on light bg */
  --text-muted:  #4b5563;        /* muted text on light bg */
  --text-dim:    #9ca3af;        /* dim text */
  --text-light:  #e6eef7;        /* light text on dark bg */
  --text-pale:   #cfeafe;        /* very light text on dark bg */

  --radius:      .75rem;
  --radius-lg:   1.25rem;
  --shadow:      0 4px 12px rgba(0,0,0,.08);
  --shadow-hover: 0 12px 32px rgba(30,58,138,.15);
  --shadow-dark:  0 10px 40px rgba(2,6,23,.6);
  --nav-h:       72px;
  --font:        'Inter', 'Segoe UI', 'Roboto', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal-hover); }
img { max-width: 100%; display: block; }
svg { display: block; overflow: hidden; }
ul { list-style: none; }

/* --------- Typography --------- */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: .4rem; }
h4 { font-size: 1rem; font-weight: 600; margin-bottom: .3rem; }
h5 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-dim); margin-bottom: .9rem; }
p  { color: var(--text-muted); }

/* gradient text – teal palette instead of blue */
.gradient-text {
  background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 60%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --------- Layout --------- */
.container        { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 780px;  margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }

/* --------- Sections --------- */
.section      { padding: 5rem 0; background: var(--bg); }
.section-dark { padding: 5rem 0; background: var(--bg-dark); }
.section-alt  { padding: 5rem 0; background: #f1f5f9; }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { color: var(--text); }
.section-header p  { margin-top: .7rem; font-size: 1.05rem; max-width: 580px; margin-left: auto; margin-right: auto; color: var(--text-muted); }

.section-dark .section-header h2 { color: var(--text-light); }
.section-dark .section-header p  { color: var(--text-pale); }

/* --------- Buttons --------- */
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem 1.25rem; border-radius: .5rem;
  font-size: .9rem; font-weight: 700; font-family: var(--font);
  cursor: pointer; border: none; transition: all .2s cubic-bezier(.4,0,.2,1);
  text-decoration: none; white-space: nowrap;
}
.btn-sm  { padding: .38rem .9rem; font-size: .82rem; }
.btn-lg  { padding: .7rem 1.6rem; font-size: .97rem; border-radius: .6rem; }

/* Primary = teal bg, very dark text – matches frontend CTA */
.btn-primary        { background: var(--teal); color: #05243b; }
.btn-primary:hover  { background: var(--teal-hover); color: #05243b; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(20,184,166,.35); }

/* Outline on light bg */
.btn-outline        { border: 1.5px solid #2b6f8f; color: var(--text-muted); background: transparent; }
.btn-outline:hover  { border-color: var(--teal); color: var(--teal); background: var(--teal-dim); }

/* Outline on dark bg – matches frontend "Sign In" style */
.btn-outline-dark   { border: 1.5px solid #2b6f8f; color: #cfeafe; background: transparent; padding: .65rem 1.5rem; font-weight: 600; display: inline-flex; align-items: center; border-radius: .5rem; transition: all .2s; }
.btn-outline-dark:hover { border-color: var(--teal); color: var(--teal); }

/* --------- Badge --------- */
.badge {
  display: inline-block; padding: .3rem 1rem; border-radius: 99px;
  background: var(--teal); color: #05243b;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 1.5rem;
}

/* --------- NAV --------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
  border-bottom: 1px solid var(--teal-border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  height: 100%; display: flex; align-items: center; gap: 2rem;
}
.nav-logo {
  display: flex; align-items: center; gap: .6rem;
  font-weight: 800; font-size: 1.05rem; color: #fff;
  text-decoration: none; flex-shrink: 0;
}
.logo-mark {
  width: 36px; height: 36px; border-radius: .5rem; flex-shrink: 0;
  background: linear-gradient(135deg, var(--teal) 0%, #0ea5a4 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; font-weight: 800; color: #fff;
}
.logo-text { color: #fff; }

.nav-links { display: flex; gap: .35rem; flex: 1; }
.nav-links a {
  padding: .5rem 1rem; border-radius: .45rem; font-size: .9rem;
  font-weight: 600; color: #e6eef7; transition: all .2s; letter-spacing: .01em;
}
.nav-links a:hover  { background: var(--teal-dim); color: var(--teal); }
.nav-links a.active { background: var(--teal-dim); color: var(--teal); }

.nav-cta { flex-shrink: 0; }
.nav-toggle-input { display: none; }
.nav-toggle-label { display: none; }

/* --------- HERO (dark, like frontend) --------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #071829 100%);
  padding: 7rem 0 5.5rem; color: white; text-align: center;
}
.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(20,184,166,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,184,166,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
}
.hero .container { position: relative; z-index: 1; }

.hero-title { margin-bottom: 1.35rem; color: #fff; letter-spacing: -.02em; }
.hero-sub {
  font-size: 1.15rem; color: #cfeafe;
  max-width: 600px; margin: 0 auto 2.5rem; line-height: 1.8;
}
.hero-sub strong { color: var(--teal); }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3.5rem; }

.hero-stats {
  display: flex; gap: 0; justify-content: center; align-items: center;
  border: 1px solid var(--border-dark); border-radius: var(--radius);
  background: rgba(255,255,255,.04); max-width: 620px; margin: 0 auto; overflow: hidden;
}
.stat { flex: 1; padding: 1.25rem .5rem; text-align: center; }
.stat-value { display: block; font-size: 1.4rem; font-weight: 800; color: var(--teal); }
.stat-label { font-size: .72rem; color: var(--text-pale); margin-top: .15rem; letter-spacing: .04em; text-transform: uppercase; }
.stat-divider { width: 1px; background: var(--border-dark); height: 40px; flex-shrink: 0; }

/* --------- PAGE HERO (inner pages, dark) --------- */
.page-hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #071829 100%);
  padding: 5rem 0 4rem; text-align: center; position: relative; overflow: hidden;
  border-bottom: 1px solid var(--teal-border);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% -20%, rgba(20,184,166,.12), transparent);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: .75rem; color: #fff; }
.page-hero p  { font-size: 1.05rem; max-width: 580px; margin: 0 auto; color: #cfeafe; }

/* --------- CARDS (light bg sections) --------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }

.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  display: block; color: inherit; text-decoration: none;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--shadow);
}
.card p { color: var(--text-muted); margin-top: .35rem; font-size: .9rem; }
.card h3 { color: var(--text); }

.card-hover:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(20,184,166,.25);
}
.card-link { display: inline-block; margin-top: 1rem; font-size: .85rem; color: var(--teal); font-weight: 500; }

/* Card icons */
.card-icon {
  width: 44px; height: 44px; border-radius: .6rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.card-icon svg { width: 22px; height: 22px; }
.card-icon--teal   { background: rgba(20,184,166,.12);  color: var(--teal); }
.card-icon--cyan   { background: rgba(6,182,212,.12);   color: #06b6d4; }
.card-icon--blue   { background: rgba(21,61,117,.12);  color: #153d75; }
.card-icon--indigo { background: rgba(21,61,117,.12);  color: #153d75; }
.card-icon--violet { background: rgba(139,92,246,.12);  color: #8b5cf6; }
.card-icon--emerald{ background: rgba(16,185,129,.12);  color: #10b981; }
.card-icon--rose   { background: rgba(244,63,94,.12);   color: #f43f5e; }
.card-icon--amber  { background: rgba(245,158,11,.12);  color: #f59e0b; }

/* Cards on dark sections */
.card-dark {
  background: rgba(255,255,255,.04); border: 1px solid rgba(20,184,166,.15);
  border-radius: var(--radius); padding: 1.5rem; color: var(--text-light);
}
.card-dark p  { color: var(--text-pale); }
.card-dark h3 { color: var(--text-light); }

/* --------- FEATURE GRID --------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.feature-item { display: flex; gap: 1rem; align-items: flex-start; }
.feature-icon {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: .5rem;
  background: rgba(20,184,166,.1); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 18px; height: 18px; }
.feature-item h4 { color: var(--text); }
.feature-item p  { color: var(--text-muted); }

/* --------- VISION QUOTE (dark section) --------- */
.quote-headline { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 1.25rem; color: #fff; }
.quote-body { font-size: 1.05rem; color: var(--text-pale); max-width: 680px; margin: 0 auto 2.25rem; line-height: 1.85; }

/* --------- CTA SECTION --------- */
.cta-section { background: #f1f5f9; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta-section h2 { margin-bottom: .9rem; color: var(--text); }
.cta-section p  { margin-bottom: 1.75rem; font-size: 1.05rem; color: var(--text-muted); }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* --------- FOOTER --------- */
.footer { background: var(--bg-darker); border-top: 1px solid var(--teal-border); padding: 4rem 0 2rem; }
.footer-grid   { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-brand p { font-size: .88rem; color: var(--text-pale); max-width: 240px; margin-top: .4rem; }
.footer-col ul  { display: flex; flex-direction: column; gap: .55rem; }
.footer-col ul a { color: #6b8fa8; font-size: .88rem; transition: color .15s; }
.footer-col ul a:hover { color: var(--teal); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(20,184,166,.12); padding-top: 1.5rem;
  font-size: .83rem; color: #4a6478;
}
.footer-bottom a { color: #4a6478; }
.footer-bottom a:hover { color: var(--teal); }

/* --------- PLATFORM PAGE --------- */
.platform-section { padding: 3.5rem 0; border-bottom: 1px solid var(--border); }
.platform-section:last-of-type { border-bottom: none; }
.platform-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.platform-header .card-icon { width: 52px; height: 52px; flex-shrink: 0; }
.platform-header .card-icon svg { width: 26px; height: 26px; }
.platform-header h2 { margin: 0; font-size: 1.75rem; color: var(--text); }
.platform-header p  { color: var(--teal); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; margin: 0 0 .2rem; }
.platform-content { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: start; }
.platform-content > div > p { color: var(--text-muted); }
.platform-features { display: flex; flex-direction: column; gap: .75rem; margin-top: 1rem; }
.platform-feature { display: flex; align-items: flex-start; gap: .75rem; }
.platform-feature div { color: var(--text-muted); font-size: .9rem; }
.platform-feature strong { color: var(--text); }
.check { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; margin-top: .15rem; }
.check svg { width: 18px; height: 18px; }

.platform-spec { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.platform-spec h4 { margin-bottom: 1rem; color: var(--text); }
.spec-row { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px solid var(--border); font-size: .88rem; }
.spec-row:last-child { border-bottom: none; }
.spec-row span:first-child { color: var(--text-muted); }
.spec-row span:last-child  { color: var(--text); font-weight: 600; }

/* --------- DOCS PAGE --------- */
.docs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 1.1rem; }
.docs-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.4rem; display: block; text-decoration: none; color: inherit;
  transition: all .3s cubic-bezier(.4,0,.2,1); box-shadow: var(--shadow);
}
.docs-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: rgba(20,184,166,.3); }
.docs-tag { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; margin-bottom: .5rem; }
.docs-card h3 { font-size: .95rem; margin-bottom: .35rem; color: var(--text); }
.docs-card p  { font-size: .83rem; color: var(--text-muted); }

/* --------- ABOUT PAGE --------- */
.about-hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin: 3rem 0; }
.about-stat { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; text-align: center; box-shadow: var(--shadow); }
.about-stat-value { font-size: 2rem; font-weight: 800; color: var(--teal); }
.about-stat-label { font-size: .82rem; color: var(--text-muted); margin-top: .2rem; }
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.15rem; }
.value-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.value-card h3 { font-size: .97rem; margin-bottom: .35rem; color: var(--text); }
.value-card p  { font-size: .88rem; color: var(--text-muted); }

/* --------- CONTACT PAGE --------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: start; }
.contact-form-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); }
.contact-form-card h2 { color: var(--text); }
.form-group { margin-bottom: 1.15rem; }
.form-group label { display: block; font-size: .83rem; font-weight: 600; color: var(--text-muted); margin-bottom: .45rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: #f8fafc; border: 1.5px solid var(--border);
  border-radius: .5rem; padding: .65rem 1rem; color: var(--text);
  font-family: var(--font); font-size: .9rem; transition: .15s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--teal); background: rgba(20,184,166,.04);
}
.form-group select { cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.channel-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.15rem; margin-bottom: .9rem; box-shadow: var(--shadow); }
.channel-card h4 { font-size: .88rem; color: var(--text); margin-bottom: .2rem; }
.channel-card p  { font-size: .82rem; color: var(--text-muted); }
.channel-card a  { font-size: .83rem; font-weight: 500; color: var(--teal); }


/* --------- SOCIAL ICONS --------- */
.social-icons { display: flex; gap: .65rem; margin-top: 1.25rem; flex-wrap: wrap; }
.social-icon {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.07); color: #94a3b8;
  text-decoration: none; transition: background .2s, color .2s, transform .18s;
}
.social-icon:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }
.social-icon svg { width: 17px; height: 17px; }

/* --------- RESPONSIVE --------- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .platform-content { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-hero-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--bg-dark); border-bottom: 1px solid var(--teal-border);
    padding: 1rem 1.5rem; gap: .15rem; z-index: 200;
  }
  .nav-toggle-label {
    display: flex; flex-direction: column; gap: 5px;
    cursor: pointer; padding: 4px; z-index: 10;
  }
  .nav-toggle-label span { display: block; width: 22px; height: 2px; background: #e6eef7; border-radius: 2px; transition: .2s; }
  .nav-toggle-input:checked ~ .nav-links { display: flex; }
  .nav-cta { display: none; }
  .hero-stats { flex-direction: column; max-width: 260px; }
  .stat-divider { width: 100%; height: 1px; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .about-hero-stats { grid-template-columns: 1fr 1fr; }
}

/* =============================================================================
   SITE HEADER — matches React CloudPlatformHeader exactly
   IMPERIAL_MIDNIGHT #0A0F1F | QUANTUM_CYAN #00E0FF | CLOUD_SILVER #E5E7EB
   ============================================================================= */

/* ── Utility bar (top 38 px dark strip) ── */
.site-header { position: sticky; top: 0; z-index: 200; font-family: var(--font); }

.su-bar { background: transparent; height: 38px; border-bottom: 1px solid #E5E7EB; display: flex; align-items: center; }
.su-inner { width: 100%; padding: 0 1.5rem; display: flex; align-items: center; height: 100%; }
.su-left  { display: flex; align-items: center; flex: 1; min-width: 0; gap: 0; }
.su-right { display: flex; align-items: center; flex-shrink: 0; gap: 0; }

.su-brand { color: #0A0F1F; font-size: 14px; font-weight: 600; text-decoration: none; letter-spacing: .04em; white-space: nowrap; transition: color .15s; }
.su-brand:hover { color: #00E0FF; }

.su-sep { display: inline-block; width: 1px; height: 16px; background: rgba(10,15,31,.32); margin: 0 10px; flex-shrink: 0; }

.su-pick { display: inline-flex; align-items: center; gap: 4px; color: #0A0F1F; font-size: 14px; font-weight: 500; padding: 0 8px; cursor: default; transition: color .15s; white-space: nowrap; }
.su-pick:hover { color: #00E0FF; }
.su-pick svg { flex-shrink: 0; }

.su-link { color: #0A0F1F; font-size: 14px; font-weight: 500; text-decoration: none; padding: 0 10px; white-space: nowrap; height: 38px; display: inline-flex; align-items: center; transition: color .15s; }
.su-link:hover { color: #00E0FF; }

.su-cta { display: inline-flex; align-items: center; background: #00E0FF; color: #0A0F1F; font-size: 14px; font-weight: 600; text-decoration: none; padding: 0 12px; height: 28px; border-radius: 0; white-space: nowrap; margin-left: 10px; transition: background .15s; }
.su-cta:hover { background: #00c8e6; color: #0A0F1F; }

/* ── Main nav bar (white 64 px bar) ── */
.sm-bar { background: #fff; border-bottom: 1px solid #E5E7EB; position: relative; }
.sm-toggle-input { display: none; }

.sm-inner { padding: 0 1.5rem; height: 64px; display: flex; align-items: center; }
.sm-nav   { display: flex; align-items: center; flex: 1; gap: 0; }

.sm-item  { color: #0A0F1F; font-size: 15px; font-weight: 600; text-decoration: none; padding: 0 16px; height: 64px; display: inline-flex; align-items: center; border-bottom: 2px solid transparent; border-top: 2px solid transparent; white-space: nowrap; transition: color .15s, border-color .15s; }
.sm-item:hover, .sm-item.active { color: #00E0FF; border-bottom-color: #00E0FF; }

.sm-logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; margin-right: 32px; flex-shrink: 0; }
.sm-logo-mark { width: 28px; height: 28px; background: #0A0F1F; color: #00E0FF; font-size: .82rem; font-weight: 800; letter-spacing: -.01em; border-radius: 4px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(0,224,255,.35); flex-shrink: 0; transition: background .15s, color .15s; }
.sm-logo-text { font-size: .92rem; font-weight: 700; color: #0A0F1F; letter-spacing: -.025em; white-space: nowrap; transition: color .15s; }
.sm-logo:hover .sm-logo-mark { background: #00E0FF; color: #0A0F1F; }
.sm-logo:hover .sm-logo-text { color: #00E0FF; }

.sm-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.sm-search  { background: none; border: none; cursor: pointer; color: #0A0F1F; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; transition: color .15s; }
.sm-search:hover { color: #00E0FF; }

/* Burger icon */
.sm-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.sm-burger span { display: block; width: 22px; height: 2px; background: #0A0F1F; border-radius: 2px; transition: .2s; }

/* Mobile dropdown menu */
.sm-mobile { display: none; flex-direction: column; background: #fff; border-top: 1px solid #E5E7EB; padding: 0.75rem 1.5rem 1.5rem; }
.sm-mobile .sm-item { height: auto; padding: 0.55rem 0; border-bottom: 1px solid #E5E7EB; border-top: none; font-size: 15px; width: 100%; }
.sm-mobile .su-link { height: auto; padding: 0.45rem 0; display: block; border-bottom: 1px solid #E5E7EB; color: #0A0F1F; }
.sm-mobile .su-link:hover { color: #00E0FF; }
.sm-mobile .su-cta { margin: 1rem 0 0; width: 100%; justify-content: center; height: 40px; }
.sm-mobile-sep { border: none; border-top: 1px solid #E5E7EB; margin: 0.75rem 0; }

/* CSS-only toggle: checkbox → sibling .sm-mobile */
.sm-toggle-input:checked ~ .sm-bar .sm-mobile { display: flex; }
/* Alternate: nest input inside nav */
.sm-bar .sm-toggle-input:checked ~ .sm-mobile { display: flex; }

/* ── Responsive breakpoints ── */
@media (max-width: 1024px) {
  .sm-nav    { display: none; }
  .sm-burger { display: flex; }
  .su-right  { display: none; }
  .su-cta-mob { display: inline-flex !important; margin-left: 0; }
}
@media (max-width: 600px) {
  .su-pick { display: none; }
  .su-sep  { display: none; }
}

/* =============================================================================
   SITE FOOTER — matches React Footer exactly
   5-column grid + dark navy + social icons + bottom bar
   ============================================================================= */

.site-footer { background: #0A0F1F; border-top: 1px solid rgba(229,231,235,.12); color: #fff; padding-bottom: 0; }

.sf-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2.5rem;
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(229,231,235,.12);
}

.sf-col h5 { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #fff; margin-bottom: 1rem; }
.sf-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .65rem; }
.sf-col ul a { color: rgba(255,255,255,.82); font-size: .88rem; text-decoration: none; line-height: 1.45; transition: color .12s; }
.sf-col ul a:hover { color: #00E0FF; }

.sf-bottom { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 0 2rem; flex-wrap: wrap; gap: 1rem; }
.sf-copy { color: rgba(255,255,255,.74); font-size: .86rem; }
.sf-right { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }

.sf-social { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; color: rgba(255,255,255,.75); text-decoration: none; border-radius: 50%; transition: color .15s, background .15s; }
.sf-social:hover { color: #00E0FF; background: rgba(0,224,255,.14); }
.sf-social svg { width: 18px; height: 18px; }
.sf-tagline { color: rgba(255,255,255,.65); font-size: .8rem; margin-left: 6px; white-space: nowrap; }

@media (max-width: 1100px) { .sf-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  {
  .sf-grid   { grid-template-columns: repeat(2, 1fr); }
  .sf-bottom { flex-direction: column; align-items: flex-start; }
  .sf-tagline { display: none; }
}
@media (max-width: 420px)  { .sf-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Homepage v2 — matches React Homepage.tsx
   ============================================================ */

/* Hero */
.hp-hero {
  background: #0A0F1F;
  background-image:
    radial-gradient(ellipse 80% 60% at 10% 60%, rgba(0,224,255,.07) 0%, transparent 70%),
    radial-gradient(ellipse 55% 50% at 90% 10%, rgba(0,160,220,.06) 0%, transparent 65%),
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,.025) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,.025) 40px);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 80px 0;
  overflow: hidden;
  position: relative;
}
.hp-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hp-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #00E0FF;
  background: rgba(0,224,255,.1);
  border: 1px solid rgba(0,224,255,.3);
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 24px;
}
.hp-hero-h1 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -1.5px;
  max-width: 640px;
  color: #fff;
  margin: 0;
}
.hp-hero-sub {
  margin-top: 20px;
  font-size: 1.18rem;
  line-height: 1.55;
  letter-spacing: -0.1px;
  max-width: 520px;
  color: rgba(255,255,255,.82);
}
.hp-hero-actions { margin-top: 32px; }
.hp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #00E0FF;
  color: #0A0F1F;
  font-weight: 700;
  font-size: .97rem;
  padding: 13px 28px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 120ms, box-shadow 120ms;
  line-height: 1;
  letter-spacing: -.01em;
  box-shadow: 0 0 20px rgba(0,224,255,.25);
}
.hp-btn-primary:hover { background: #00C8E5; color: #0A0F1F; box-shadow: 0 0 32px rgba(0,224,255,.45); }
.hp-btn-primary svg { display: block; flex-shrink: 0; width: 18px; height: 18px; }
.hp-btn-primary:hover { background: #00C8E5; color: #0A0F1F; }
.hp-hero-panel {
  border: 1px solid rgba(0,224,255,.2);
  border-radius: 4px;
  padding: 28px;
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hp-panel-label {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: #fff;
}
.hp-panel-sep {
  border: none;
  border-top: 1px solid rgba(255,255,255,.16);
  margin: 16px 0;
}
.hp-panel-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .94rem;
  line-height: 1.4;
  letter-spacing: -0.05px;
  color: #fff;
  margin-bottom: 16px;
}
.hp-panel-row:last-child { margin-bottom: 0; }
.hp-cyan-icon { display: block; color: #00E0FF; flex-shrink: 0; width: 20px; height: 20px; }

/* Sections */
.hp-section { padding: 88px 0; background: #fff; }
.hp-grey {
  background: #F7F9FC;
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
}
.hp-navy {
  background: #0A0F1F;
  background-image: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(0,224,255,.05) 0%, transparent 70%);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.hp-section-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #00E0FF;
  margin-bottom: 10px;
  text-align: center;
}
.hp-h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.8px;
  color: #0A0F1F;
  margin: 0;
  text-align: center;
}
.hp-navy .hp-h2 { color: #fff; }
.hp-navy .hp-section-label { color: rgba(0,224,255,.8); }
.hp-subtext {
  margin-top: 14px;
  font-size: 1.1rem;
  line-height: 1.55;
  letter-spacing: -0.1px;
  color: #4B5563;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Grids */
.hp-grid { margin-top: 32px; display: grid; gap: 16px; }
.hp-grid-4 { grid-template-columns: repeat(4, 1fr); }
.hp-grid-3 { grid-template-columns: repeat(3, 1fr); }
.hp-grid-2 { grid-template-columns: repeat(2, 1fr); }
.hp-grid-6 { grid-template-columns: repeat(6, 1fr); }

/* White card */
.hp-card {
  border: 1px solid #E5E7EB;
  border-radius: 4px;
  background: #fff;
  padding: 24px;
  transition: border-color 150ms, transform 150ms, box-shadow 150ms;
}
.hp-card:hover {
  border-color: #00E0FF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.07);
}
.hp-card-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: rgba(0,224,255,.1);
  border: 1px solid rgba(0,224,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hp-card-icon { color: #00E0FF; width: 22px; height: 22px; display: block; }
.hp-card-title {
  margin: 14px 0 0;
  font-weight: 700;
  font-size: 1.04rem;
  line-height: 1.2;
  letter-spacing: -0.25px;
  color: #0A0F1F;
}
.hp-card-text {
  margin: 8px 0 0;
  font-size: .92rem;
  line-height: 1.55;
  letter-spacing: -0.05px;
  color: #6B7280;
}

/* Feature check items */
.hp-check {
  border: 1px solid #E5E7EB;
  border-radius: 4px;
  background: #fff;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 150ms, box-shadow 150ms;
}
.hp-check:hover { border-color: rgba(34,197,94,.45); box-shadow: 0 4px 14px rgba(34,197,94,.07); }
.hp-check-icon { display: block; color: #22C55E; flex-shrink: 0; width: 18px; height: 18px; }
.hp-check-text { font-size: .93rem; line-height: 1.4; letter-spacing: -0.05px; color: #111827; font-weight: 500; }

/* Industry cards (compact) */
.hp-ind-card {
  border: 1px solid #E5E7EB;
  border-radius: 4px;
  background: #fff;
  padding: 22px 20px;
  font-weight: 700;
  font-size: .96rem;
  line-height: 1.22;
  letter-spacing: -0.2px;
  color: #0A0F1F;
  transition: border-color 150ms, transform 150ms;
  border-left: 3px solid #E5E7EB;
}
.hp-ind-card:hover { border-color: #00E0FF; border-left-color: #00E0FF; transform: translateY(-1px); }

/* Navy cards (tech stack) */
.hp-navy-card {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 4px;
  padding: 22px;
  background: rgba(255,255,255,.03);
  transition: border-color 150ms, background 150ms;
}
.hp-navy-card:hover { border-color: rgba(0,224,255,.4); background: rgba(0,224,255,.04); }
.hp-navy-card-hdr {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: -0.15px;
  color: #fff;
}
.hp-navy-card-hdr svg { display: block; color: #00E0FF; flex-shrink: 0; width: 18px; height: 18px; }
.hp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.hp-chip {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 2px;
  font-size: .7rem;
  padding: 3px 8px;
}

/* Map box */
.hp-map-box {
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 28px;
  background: #fff;
  margin-top: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.hp-region {
  border: 1px solid #E5E7EB;
  border-radius: 4px;
  padding: 14px 10px;
  text-align: center;
  font-weight: 600;
  font-size: .82rem;
  line-height: 1.2;
  letter-spacing: -0.1px;
  color: #0A0F1F;
  transition: border-color 150ms, background 150ms;
}
.hp-region:hover { border-color: #00E0FF; background: rgba(0,224,255,.04); }
.hp-map-note {
  margin-top: 16px;
  font-size: .84rem;
  line-height: 1.4;
  color: #6B7280;
}

/* Responsive */
@media (max-width: 1024px) {
  .hp-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hp-grid-6 { grid-template-columns: repeat(3, 1fr); }
  .hp-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .hp-grid-10 { grid-template-columns: repeat(4, 1fr); }
  .hp-hero-h1 { font-size: 2.9rem; }
}
@media (max-width: 768px) {
  .hp-hero { padding: 56px 0; }
  .hp-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hp-hero-h1 { font-size: 2.5rem; letter-spacing: -0.6px; }
  .hp-hero-sub { font-size: 1.02rem; }
  .hp-section { padding: 60px 0; }
  .hp-h2 { font-size: 2rem; letter-spacing: -0.4px; }
  .hp-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hp-grid-2 { grid-template-columns: 1fr; }
  .sm-logo-text { display: none; }
}
@media (max-width: 480px) {
  .hp-grid-3 { grid-template-columns: 1fr; }
  .hp-grid-4 { grid-template-columns: 1fr; }
  .hp-grid-6 { grid-template-columns: repeat(2, 1fr); }
}
