/* ==========================================================================
   Geotech Assist · shared components
   Tagline bar, nav, footer, sections, buttons, cards, severity pills, fade-up.
   ========================================================================== */

/* ── Tagline bar (top of page) ─────────────────────────────────────── */
.tagline-bar {
  position: relative;
  background: linear-gradient(150deg, var(--teal-deep) 0%, var(--teal-dark) 45%, var(--teal) 100%);
  padding: 9px 32px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  z-index: 110;
  overflow: hidden;
}
.tagline-bar::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}
.tagline-bar strong { font-weight: 700; color: #fff; letter-spacing: 0; }
.tagline-bar .sep { color: rgba(255,255,255,0.35); margin: 0 12px; }
.tagline-bar a {
  color: var(--teal-mid);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(183,216,201,0.4);
  padding-bottom: 1px;
  transition: color 0.16s, border-color 0.16s;
}
.tagline-bar a:hover { color: #fff; border-bottom-color: #fff; }
.tagline-bar a::after { content: ' →'; }
.tagline-bar::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 30%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.07) 50%, transparent 100%);
  animation: tagline-sheen 12s ease-in-out infinite;
  pointer-events: none;
}
@keyframes tagline-sheen {
  0%, 92%   { transform: translateX(-130%); }
  100%      { transform: translateX(450%); }
}

/* ── Sticky nav ────────────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 100;
  height: 64px;
  background: rgba(15,28,26,0.96);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; padding: 0 36px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar-logo { display: flex; align-items: center; gap: 10px; }
.topbar-logo img {
  height: 32px;
  width: 32px;
  object-fit: contain;
  border-radius: 7px;
}
.topbar-logo .name { font-size: 15px; font-weight: 700; color: #fff; letter-spacing: 0; }

.topbar-nav { display: flex; gap: 4px; margin-left: 44px; }
.topbar-nav a {
  font-size: 13px; font-weight: 500; color: rgba(231,240,234,0.72);
  padding: 7px 14px; border-radius: 6px;
  transition: all 0.14s;
}
.topbar-nav a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.topbar-nav a.active { color: #fff; background: rgba(26,95,82,0.5); }
.topbar-nav a.product-link {
  color: var(--amber-soft);
  font-weight: 700;
}
.topbar-nav a.product-link:hover {
  color: #fff;
  background: rgba(217,138,28,0.10);
}
.topbar-nav a.product-link.active {
  color: var(--amber-soft);
  background: transparent;
  box-shadow: inset 0 -2px 0 var(--amber);
}

.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.topbar-toggle {
  display: none;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  border-radius: 6px;
  color: #fff;
  margin-left: auto;
}
.topbar-toggle:hover { background: rgba(255,255,255,0.08); }
.topbar-toggle svg { width: 18px; height: 18px; }

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn-primary {
  background: #fff;
  color: var(--teal-deep);
  font-size: 13px; font-weight: 700;
  padding: 13px 24px;
  border-radius: var(--r-md);
  font-family: var(--font);
  transition: all 0.14s;
  letter-spacing: 0.005em;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover {
  background: var(--teal-mid);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(26,95,82,0.32);
}

.btn-ghost {
  background: transparent;
  color: rgba(212,226,220,0.85);
  font-size: 13px; font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--r-md);
  border: 1.5px solid rgba(212,226,220,0.32);
  font-family: var(--font);
  transition: all 0.14s;
}
.btn-ghost:hover { border-color: rgba(212,226,220,0.65); color: #fff; }

.btn-demo {
  background: var(--teal); color: #fff;
  font-size: 12.5px; font-weight: 700;
  padding: 9px 18px;
  border-radius: 6px;
  font-family: var(--font);
  transition: all 0.14s;
  letter-spacing: 0.005em;
}
.btn-demo:hover { background: var(--teal-mid); color: var(--teal-deep); }

.btn-amber {
  background: var(--amber); color: #fff;
  font-size: 13px; font-weight: 700;
  padding: 13px 24px;
  border-radius: var(--r-md);
  font-family: var(--font);
  transition: all 0.14s;
  letter-spacing: 0.005em;
}
.btn-amber:hover { background: var(--amber-deep); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(217,138,28,0.32); }

/* ── Sections ──────────────────────────────────────────────────────── */
.section {
  padding: var(--sp-9) var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-kicker,
.section-eyebrow {
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.02em; text-transform: none;
  color: var(--accent); margin-bottom: 14px;
}
.section-eyebrow.amber { color: var(--amber-deep); }
.section-eyebrow.center { text-align: center; }

.section-title {
  font-size: clamp(28px, 2.4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--text-strong);
  margin-bottom: 14px;
  line-height: 1.16;
  max-width: 760px;
}
.section-title.display { font-weight: 700; }
.section-title.display b, .section-title.display strong { font-weight: 700; color: inherit; }
.section-title .title-accent {
  color: var(--accent);
}
.section-title.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-sub {
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.62;
  max-width: 620px;
  margin-bottom: 48px;
  font-weight: 400;
}
.section-sub.center { margin-left: auto; margin-right: auto; text-align: center; }

.text-lead {
  font-size: clamp(21px, 1.8vw, 25px);
  font-weight: 600;
  line-height: 1.38;
  color: var(--text-strong);
  letter-spacing: 0;
}
.text-body {
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.68;
  color: var(--text);
  letter-spacing: 0;
}
.text-body strong,
.text-lead strong {
  color: var(--accent);
  font-weight: 700;
}
.ui-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-strong);
  letter-spacing: 0;
}
.card-body {
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.58;
  color: var(--text);
  letter-spacing: 0;
}

.band {
  background: var(--canvas);
  border-top: 1px solid var(--canvas-rule);
  border-bottom: 1px solid var(--canvas-rule);
  position: relative;
  overflow: hidden;
}
.band.canvas { background: var(--bg); }
.band > .section { position: relative; z-index: 1; }

/* Subtle tinted-circle decorations on light bands */
.band::before,
.band::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.band::before {
  width: 320px; height: 320px;
  top: -120px; right: -100px;
  background: var(--teal);
  opacity: 0.06;
}
.band::after {
  width: 140px; height: 140px;
  top: 80px; right: 60px;
  background: var(--teal);
  opacity: 0.04;
}
.band.canvas::before {
  background: var(--amber);
  opacity: 0.035;
  top: auto; bottom: -120px;
  left: -100px; right: auto;
}
.band.canvas::after {
  background: var(--amber);
  opacity: 0.025;
  top: auto; bottom: 80px;
  left: 60px; right: auto;
}

/* ── Cards ─────────────────────────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 26px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }

/* ── Severity pills ────────────────────────────────────────────────── */
.sev-pill {
  display: inline-flex; align-items: center;
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 99px;
}
.sev-pill.critical { background: rgba(193,74,43,0.14); color: var(--sev-critical); }
.sev-pill.elevated { background: var(--amber-soft); color: var(--amber-deep); }
.sev-pill.watch    { background: rgba(212,160,23,0.18); color: #8a6606; }

/* ── Footer ────────────────────────────────────────────────────────── */
footer.site-footer {
  background: var(--ink);
  padding: 32px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
footer.site-footer .footer-brand { display: flex; align-items: center; gap: 10px; }
footer.site-footer .footer-brand img { height: 26px; width: 26px; object-fit: contain; }
footer.site-footer .footer-brand .name { font-size: 13px; font-weight: 700; color: #fff; }
footer.site-footer .footer-brand .tag {
  font-size: 11px; color: var(--ink-ghost);
  margin-left: 6px; padding-left: 12px;
  border-left: 1px solid rgba(255,255,255,0.1);
}
footer.site-footer .footer-text { font-size: 11px; color: var(--ink-ghost); letter-spacing: 0.02em; }
footer.site-footer .footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
footer.site-footer .footer-links a { font-size: 11.5px; color: var(--ink-ghost); transition: color 0.14s; }
footer.site-footer .footer-links a:hover { color: #fff; }

/* ── CTA band ──────────────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(150deg, var(--teal-deep) 0%, var(--teal-dark) 45%, var(--teal) 100%);
  padding: var(--sp-9) var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 22px 22px;
}
.cta-band .cta-rings {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none;
}
.cta-band .cta-rings div {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  border-radius: 50%; border: 1px solid rgba(255,255,255,0.06);
}
.cta-band .cta-ring--sm { width: 220px; height: 220px; }
.cta-band .cta-ring--md { width: 340px; height: 340px; }
.cta-band .cta-ring--lg { width: 460px; height: 460px; }
.cta-eyebrow {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--teal-mid); margin-bottom: 18px;
  position: relative;
}
.cta-band h2 {
  font-size: 40px; font-weight: 700; color: #fff;
  letter-spacing: 0; margin-bottom: 14px;
  line-height: 1.1; position: relative;
}
.cta-band p {
  font-size: 15px; color: rgba(212,226,220,0.78);
  max-width: 480px; margin: 0 auto 36px;
  line-height: 1.6; position: relative;
}
.cta-form {
  display: flex; gap: 10px; justify-content: center;
  flex-wrap: wrap; max-width: 540px;
  margin: 0 auto; position: relative;
}
.cta-input {
  flex: 1; min-width: 180px;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.14);
  border-radius: var(--r-md);
  padding: 12px 16px;
  color: #fff; font-size: 13px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.14s;
}
.cta-input::placeholder { color: rgba(212,226,220,0.4); }
.cta-input:focus { border-color: var(--teal-mid); background: rgba(255,255,255,0.10); }
.cta-form .btn-primary { padding: 12px 26px; }
.cta-note {
  margin-top: 16px; font-size: 11.5px;
  color: rgba(212,226,220,0.45);
  position: relative; letter-spacing: 0.01em;
}

/* ── Fade-up animation ─────────────────────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-up.in { opacity: 1; transform: translateY(0); }

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .topbar { padding: 0 20px; }
  .topbar-nav {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(15,28,26,0.98);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 10px 16px 16px;
    margin-left: 0;
    gap: 2px;
    display: none;
  }
  .topbar-nav.open { display: flex; }
  .topbar-nav a { padding: 11px 14px; }
  .topbar-toggle { display: flex; }
  .topbar-right { display: none; }

  .section { padding: 64px var(--gutter-mobile); }
  .cta-band { padding: 64px var(--gutter-mobile); }
  footer.site-footer { padding: 24px var(--gutter-mobile); }
}
