/* ============================================================
   Geonex marketing site — shared design system
   ============================================================ */

:root {
  --navy-950: #0a1628;
  --navy-900: #0f2038;
  --navy-800: #16304f;
  --navy-700: #1e3f66;
  --navy-600: #2c4a74;
  --teal-500: #00b3a4;
  --teal-400: #1fd6c4;
  --teal-50: #e6fbf8;
  --amber-500: #ff8a3d;
  --amber-400: #ffab6b;
  --ink-900: #0d1b2a;
  --ink-700: #33465c;
  --ink-500: #5c7187;
  --ink-300: #9fb0c0;
  --paper-0: #ffffff;
  --paper-50: #f6f9fb;
  --paper-100: #eef3f7;
  --line: #e1e8ef;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 20px 60px -20px rgba(10, 22, 40, 0.25);
  --shadow-card: 0 8px 30px -12px rgba(10, 22, 40, 0.18);
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink-900);
  background: var(--paper-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy-950);
  margin: 0 0 16px;
}

h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 16px; color: var(--ink-700); }
.lead { font-size: 1.2rem; color: var(--ink-700); max-width: 640px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-500);
  background: var(--teal-50);
  border: 1px solid rgba(0, 179, 164, 0.25);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-500); }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal-400), var(--teal-500));
  color: var(--navy-950);
  box-shadow: 0 14px 30px -10px rgba(0, 179, 164, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgba(0, 179, 164, 0.65); }
.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--paper-0);
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover { background: rgba(255,255,255,0.14); }
.btn-dark {
  background: var(--navy-950);
  color: var(--paper-0);
}
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--navy-950);
}
.btn-outline:hover { border-color: var(--teal-500); color: var(--teal-500); }
.btn-block { width: 100%; }

/* ---------------- Header ---------------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy-950);
}
.brand img { width: 34px; height: 34px; border-radius: 9px; }
nav.site-nav { display: flex; align-items: center; gap: 30px; }
nav.site-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-700);
  position: relative;
}
nav.site-nav a:hover { color: var(--navy-950); }
nav.site-nav .has-menu {
  position: relative;
  padding-bottom: 18px;
  margin-bottom: -18px;
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--paper-0);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 10px;
  min-width: 260px;
  display: none;
  gap: 2px;
  flex-direction: column;
}
nav.site-nav .has-menu:hover .dropdown { display: flex; }
.dropdown a {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--ink-700);
}
.dropdown a:hover { background: var(--paper-50); color: var(--navy-950); }
.dropdown a small { display: block; font-weight: 500; color: var(--ink-500); font-size: 0.8rem; margin-top: 2px; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 11px 22px; font-size: 0.92rem; }
.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper-0);
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--navy-950);
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1200px 500px at 15% -10%, rgba(0,179,164,0.35), transparent 60%),
              linear-gradient(160deg, var(--navy-950), var(--navy-800) 55%, var(--navy-700));
  color: var(--paper-0);
  padding: 76px 0 90px;
}
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { color: var(--paper-0); }
.hero .lead { color: rgba(255,255,255,0.78); }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-size: 1.7rem; font-weight: 800; color: var(--teal-400); }
.hero-stats div span { font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,0.35)); }
.hero-topo {
  position: absolute; inset: -20% -10% auto auto; width: 70%; opacity: 0.18; z-index: 1;
}

/* small hero for inner pages */
.hero.small { padding: 56px 0 72px; }
.hero.small .wrap { grid-template-columns: 1fr; text-align: left; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,0.85); font-weight: 600; }
.breadcrumb a:hover { color: var(--teal-400); }

/* ---------------- Sections ---------------- */
section { padding: 92px 0; }
section.tight { padding: 64px 0; }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.bg-paper { background: var(--paper-50); }
.bg-navy { background: linear-gradient(160deg, var(--navy-950), var(--navy-800)); color: var(--paper-0); }
.bg-navy h2, .bg-navy h3 { color: var(--paper-0); }
.bg-navy p { color: rgba(255,255,255,0.72); }
.bg-navy .checklist li { color: var(--paper-0); }

/* ---------------- Logo / trust strip ---------------- */
.trust-strip { padding: 40px 0; border-bottom: 1px solid var(--line); }
.trust-strip .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.trust-strip p { margin: 0; font-weight: 700; color: var(--ink-500); font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; }
.trust-icons { display: flex; gap: 34px; flex-wrap: wrap; align-items: center; }
.trust-icons span { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink-700); font-size: 0.95rem; }

/* ---------------- Cards / grids ---------------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--paper-0);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.card .ico {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--teal-50), #d7f4f0);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--teal-500);
}
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: 0.96rem; }

.industry-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-900);
  color: var(--paper-0);
  padding: 34px 28px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-card);
}
.industry-card .tag {
  position: absolute; top: 22px; left: 28px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.industry-card h3 { color: var(--paper-0); margin-bottom: 10px; }
.industry-card p { color: rgba(255,255,255,0.72); font-size: 0.92rem; margin-bottom: 18px; }
.industry-card .go { font-weight: 700; color: var(--teal-400); font-size: 0.92rem; display: flex; align-items: center; gap: 6px; }
.industry-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 20%, rgba(0,0,0,0.55));
  z-index: 0;
}
.industry-card > * { position: relative; z-index: 1; }
.industry-card .bgsvg { position: absolute; inset: 0; z-index: 0; opacity: 0.5; }

/* numbered steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step { position: relative; padding-top: 10px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy-950); color: var(--teal-400);
  font-weight: 800; font-size: 1rem; margin-bottom: 18px;
}
.step h3 { font-size: 1.05rem; }
.step p { font-size: 0.92rem; }

/* quote / value blocks */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote {
  background: var(--paper-0);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal-500);
  border-radius: var(--radius-md);
  padding: 26px;
}
.quote p.body { font-size: 1rem; color: var(--ink-700); font-style: italic; }
.quote .who { font-weight: 700; color: var(--navy-950); font-size: 0.9rem; }
.quote .role { font-size: 0.82rem; color: var(--ink-500); }

/* feature split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split.reverse .art { order: 2; }
.split .art { background: var(--paper-100); border-radius: var(--radius-lg); padding: 30px; }
.checklist { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink-900); font-size: 0.98rem; }
.checklist li .tick {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--teal-50); color: var(--teal-500);
  display: flex; align-items: center; justify-content: center; font-size: 0.8rem; margin-top: 1px;
}

/* stat band */
.stat-band { background: var(--navy-950); color: var(--paper-0); }
.stat-band .grid-4 { text-align: center; }
.stat-band strong { display: block; font-size: 2.4rem; font-weight: 800; color: var(--teal-400); }
.stat-band span { color: rgba(255,255,255,0.68); font-size: 0.92rem; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item summary {
  cursor: pointer; font-weight: 700; font-size: 1.02rem; color: var(--navy-950);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--teal-500); flex: none; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: 14px; }

/* article / long-form content (landing page SEO copy) */
.article { max-width: 820px; margin: 0 auto; }
.article h2 { margin-top: 48px; }
.article h3 { margin-top: 30px; }
.article ul { padding-left: 22px; color: var(--ink-700); }
.article li { margin-bottom: 8px; }
.article p { font-size: 1.03rem; }

/* related links / internal linking block */
.related {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.related a {
  display: block; background: var(--paper-0); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 20px; font-weight: 700; color: var(--navy-950);
  transition: border-color .18s ease, transform .18s ease;
}
.related a:hover { border-color: var(--teal-500); transform: translateY(-3px); }
.related a span { display: block; font-weight: 500; color: var(--ink-500); font-size: 0.85rem; margin-top: 6px; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-700));
  border-radius: var(--radius-lg);
  padding: 64px 50px;
  color: var(--paper-0);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--paper-0); margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,0.75); margin: 0; }
.cta-band .actions { display: flex; gap: 14px; flex-none: 0; flex-wrap: wrap; }

/* ---------------- Footer ---------------- */
footer.site {
  background: var(--navy-950);
  color: rgba(255,255,255,0.75);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid .brand { color: var(--paper-0); margin-bottom: 14px; }
.footer-grid p.about { font-size: 0.92rem; color: rgba(255,255,255,0.6); max-width: 280px; }
.footer-col h4 { color: var(--paper-0); font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { font-size: 0.92rem; color: rgba(255,255,255,0.68); }
.footer-col a:hover { color: var(--teal-400); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 26px; font-size: 0.85rem; color: rgba(255,255,255,0.5); flex-wrap: wrap; gap: 14px;
}
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a:hover { color: var(--paper-0); }

/* store buttons (kept, restyled) */
.store-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; flex-direction: column; justify-content: center;
  padding: 10px 20px; border-radius: 14px; font-weight: 700; font-size: 0.95rem;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25); color: var(--paper-0);
}
.store-btn small { font-weight: 500; font-size: 0.72rem; color: rgba(255,255,255,0.6); }
.store-btn.disabled { opacity: 0.75; cursor: default; }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  nav.site-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--paper-0);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 18px;
    box-shadow: var(--shadow-soft);
  }
  nav.site-nav.open { display: flex; }
  nav.site-nav > a, nav.site-nav .has-menu > a { padding: 13px 0; border-bottom: 1px solid var(--paper-100); }
  nav.site-nav .has-menu .dropdown {
    display: none;
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 6px 14px;
  }
  nav.site-nav .has-menu:hover .dropdown,
  nav.site-nav .has-menu.open .dropdown { display: flex; }
  .burger { display: inline-flex; }
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .split .art { order: -1; }
  .split.reverse .art { order: -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .related { grid-template-columns: repeat(2, 1fr); }
  .cta-band { flex-direction: column; text-align: center; }
}
@media (max-width: 620px) {
  section { padding: 64px 0; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr; }
  .trust-strip .wrap { flex-direction: column; align-items: flex-start; }
}
