/* ─────────────────────────────────────────
   GlideHubAi  —  Shared Stylesheet
   Bootstrap 5 + Custom Design System
───────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=DM+Sans:wght@300;400;500;600&family=Space+Mono:wght@400;700&display=swap');

:root {
  --gh-navy:        #040D1F;
  --gh-navy-mid:    #081428;
  --gh-navy-light:  #0E1F3D;
  --gh-navy-card:   #0B1830;
  --gh-gold:        #BFA16A;
  --gh-gold-light:  #D4BB8A;
  --gh-gold-dim:    #8A6F3A;
  --gh-gold-bg:     rgba(191,161,106,0.08);
  --gh-white:       #F5F2EC;
  --gh-white-dim:   rgba(245,242,236,0.62);
  --gh-white-faint: rgba(245,242,236,0.07);
  --gh-cyan:        #4CC9F0;
  --gh-blue:        #3A86FF;
  --gh-green:       #2ECC71;
  --gh-red:         #E74C3C;
  --gh-orange:      #F39C12;
  --gh-border:      rgba(191,161,106,0.18);
  --gh-border-lt:   rgba(245,242,236,0.08);
  --gh-radius:      4px;
  --gh-shadow:      0 8px 40px rgba(0,0,0,0.45);
  --gh-shadow-lg:   0 20px 80px rgba(0,0,0,0.55);
  --font-display:   'Cormorant Garamond', Georgia, serif;
  --font-body:      'DM Sans', system-ui, sans-serif;
  --font-mono:      'Space Mono', 'Courier New', monospace;
}

/* ── BASE ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--gh-navy);
  color: var(--gh-white);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' 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='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}
a { color: var(--gh-gold-light); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gh-gold); }
img { max-width: 100%; }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  color: var(--gh-white);
}
.mono { font-family: var(--font-mono); }

/* ── NAVIGATION ── */
.gh-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0;
  transition: background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.gh-nav.scrolled {
  background: rgba(4,13,31,.94);
  backdrop-filter: blur(20px);
  border-color: var(--gh-border);
  padding: 10px 0;
}
.gh-nav .navbar-brand {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--gh-white) !important;
  letter-spacing: .02em;
}
.gh-nav .navbar-brand span { color: var(--gh-gold); }
.gh-nav .nav-link {
  color: rgba(245,242,236,.65) !important;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px !important;
  transition: color .2s;
}
.gh-nav .nav-link:hover,
.gh-nav .nav-link.active { color: var(--gh-gold-light) !important; }
.gh-nav .dropdown-menu {
  background: var(--gh-navy-mid);
  border: 1px solid var(--gh-border);
  border-radius: 0;
  padding: 8px 0;
  min-width: 220px;
  box-shadow: var(--gh-shadow);
}
.gh-nav .dropdown-item {
  color: var(--gh-white-dim);
  font-size: .82rem;
  padding: 8px 20px;
  transition: background .2s, color .2s;
}
.gh-nav .dropdown-item:hover {
  background: var(--gh-white-faint);
  color: var(--gh-gold-light);
}
.gh-nav .dropdown-divider { border-color: var(--gh-border); }
.btn-nav-demo {
  background: transparent;
  border: 1px solid var(--gh-gold);
  color: var(--gh-gold) !important;
  padding: 8px 22px !important;
  font-size: .78rem !important;
  font-weight: 600 !important;
  letter-spacing: .1em !important;
  transition: all .3s !important;
  border-radius: 0 !important;
}
.btn-nav-demo:hover {
  background: var(--gh-gold) !important;
  color: var(--gh-navy) !important;
}
.navbar-toggler { border-color: var(--gh-border); }
.navbar-toggler-icon { filter: invert(1) sepia(1) saturate(3) hue-rotate(5deg); }

/* ── PAGE HERO ── */
.page-hero {
  min-height: 380px;
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--gh-border);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 10% 50%, rgba(26,58,110,.28) 0%, transparent 70%),
    linear-gradient(180deg, var(--gh-navy-mid) 0%, var(--gh-navy) 100%);
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(191,161,106,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(191,161,106,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gh-gold); margin-bottom: 20px;
}
.hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--gh-gold); opacity: .5; }
.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 300;
  margin-bottom: 20px;
}
.page-hero h1 em { font-style: italic; color: var(--gh-gold-light); }
.page-hero .lead { color: var(--gh-white-dim); font-weight: 300; font-size: 1rem; max-width: 600px; }

/* ── BUTTONS ── */
.btn-gh-primary {
  background: var(--gh-gold);
  color: var(--gh-navy);
  border: none;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 0;
  transition: all .3s;
  display: inline-block;
  cursor: pointer;
}
.btn-gh-primary:hover {
  background: var(--gh-gold-light);
  color: var(--gh-navy);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(191,161,106,.3);
}
.btn-gh-outline {
  background: transparent;
  color: var(--gh-white);
  border: 1px solid var(--gh-border-lt);
  padding: 13px 36px;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 0;
  transition: all .3s;
  display: inline-block;
  cursor: pointer;
}
.btn-gh-outline:hover {
  border-color: var(--gh-white-dim);
  color: var(--gh-white);
  transform: translateY(-2px);
}
.btn-gh-gold-outline {
  background: transparent;
  color: var(--gh-gold);
  border: 1px solid var(--gh-gold);
  padding: 11px 28px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 0;
  transition: all .3s;
  display: inline-block;
}
.btn-gh-gold-outline:hover {
  background: var(--gh-gold);
  color: var(--gh-navy);
}

/* ── SECTION ── */
.gh-section { padding: 100px 0; }
.gh-section-sm { padding: 60px 0; }
.gh-section-alt { background: var(--gh-navy-mid); border-top: 1px solid var(--gh-border); border-bottom: 1px solid var(--gh-border); }
.section-label {
  font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gh-gold); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::after { content: ''; width: 48px; height: 1px; background: var(--gh-gold); opacity: .4; }
.section-title { font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 300; margin-bottom: 18px; }
.section-title em { font-style: italic; color: var(--gh-gold-light); }
.section-desc { color: var(--gh-white-dim); font-size: .95rem; line-height: 1.8; }

/* ── CARDS ── */
.gh-card {
  background: var(--gh-navy-card);
  border: 1px solid var(--gh-border);
  padding: 32px;
  border-radius: 0;
  transition: all .3s;
  height: 100%;
}
.gh-card:hover {
  background: var(--gh-navy-light);
  border-color: var(--gh-gold-dim);
  transform: translateY(-4px);
  box-shadow: var(--gh-shadow);
}
.gh-card-icon {
  width: 48px; height: 48px;
  border: 1px solid var(--gh-border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--gh-gold);
}
.gh-card-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.gh-card h4, .gh-card h5 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin-bottom: 10px; }
.gh-card p { font-size: .87rem; color: var(--gh-white-dim); margin-bottom: 0; line-height: 1.75; }

/* Info card variant */
.gh-info-card {
  background: var(--gh-navy-card);
  border: 1px solid var(--gh-border);
  border-radius: 0;
  overflow: hidden;
  height: 100%;
}
.gh-info-card .card-header-gh {
  background: var(--gh-navy-light);
  border-bottom: 1px solid var(--gh-border);
  padding: 16px 24px;
  display: flex; align-items: center; gap: 12px;
}
.gh-info-card .card-header-gh h5 { font-family: var(--font-display); font-size: 1.1rem; margin: 0; font-weight: 600; }
.gh-info-card .card-body { padding: 24px; }

/* ── STAT BADGE ── */
.stat-badge {
  background: var(--gh-gold-bg);
  border: 1px solid var(--gh-gold-dim);
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gh-gold-light);
  display: inline-block;
}

/* ── TABLE ── */
.gh-table {
  width: 100%; border-collapse: collapse;
  font-size: .85rem;
}
.gh-table th {
  background: var(--gh-navy-light);
  border: 1px solid var(--gh-border);
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gh-gold);
  font-weight: 400;
}
.gh-table td {
  border: 1px solid var(--gh-border-lt);
  padding: 11px 16px;
  color: var(--gh-white-dim);
  vertical-align: top;
}
.gh-table tr:hover td { background: var(--gh-white-faint); }
.gh-table .check { color: var(--gh-green); font-size: 1rem; }
.gh-table .cross { color: var(--gh-red); font-size: 1rem; }

/* ── CODE BLOCK ── */
.gh-code {
  background: var(--gh-navy-mid);
  border: 1px solid var(--gh-border);
  border-left: 3px solid var(--gh-gold);
  padding: 20px 24px;
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--gh-cyan);
  overflow-x: auto;
  line-height: 1.7;
  white-space: pre;
}
.gh-code .comment { color: var(--gh-white-dim); }
.gh-code .key { color: var(--gh-gold-light); }
.gh-code .val { color: var(--gh-green); }

/* ── TABS ── */
.gh-tabs { border-bottom: 1px solid var(--gh-border); margin-bottom: 0; }
.gh-tabs .nav-link {
  color: var(--gh-white-dim);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 12px 20px;
  background: transparent;
  transition: all .2s;
}
.gh-tabs .nav-link:hover { color: var(--gh-white); }
.gh-tabs .nav-link.active {
  color: var(--gh-gold-light);
  border-bottom-color: var(--gh-gold);
  background: transparent;
}
.gh-tab-content { background: var(--gh-navy-card); border: 1px solid var(--gh-border); border-top: none; padding: 32px; }

/* ── ACCORDION ── */
.gh-accordion .accordion-item {
  background: var(--gh-navy-card);
  border: 1px solid var(--gh-border);
  border-radius: 0;
  margin-bottom: 4px;
}
.gh-accordion .accordion-button {
  background: var(--gh-navy-card);
  color: var(--gh-white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  box-shadow: none;
  padding: 18px 24px;
}
.gh-accordion .accordion-button::after { filter: invert(1) sepia(1) saturate(2) hue-rotate(5deg); }
.gh-accordion .accordion-button:not(.collapsed) {
  background: var(--gh-navy-light);
  color: var(--gh-gold-light);
}
.gh-accordion .accordion-body {
  background: var(--gh-navy-mid);
  color: var(--gh-white-dim);
  font-size: .88rem;
  padding: 20px 24px;
  line-height: 1.8;
}

/* ── TIMELINE ── */
.gh-timeline { position: relative; padding-left: 32px; }
.gh-timeline::before {
  content: ''; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 1px;
  background: linear-gradient(180deg, var(--gh-gold-dim), transparent);
}
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-item::before {
  content: ''; position: absolute; left: -26px; top: 6px;
  width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--gh-gold); background: var(--gh-navy);
}
.timeline-item h5 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; margin-bottom: 6px; }
.timeline-item p { font-size: .85rem; color: var(--gh-white-dim); margin: 0; }
.timeline-date { font-family: var(--font-mono); font-size: .65rem; letter-spacing: .1em; color: var(--gh-gold); margin-bottom: 6px; }

/* ── BADGES ── */
.gh-badge {
  display: inline-block;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 0;
}
.gh-badge-gold { background: var(--gh-gold-bg); border: 1px solid var(--gh-gold-dim); color: var(--gh-gold-light); }
.gh-badge-green { background: rgba(46,204,113,.1); border: 1px solid rgba(46,204,113,.3); color: #2ecc71; }
.gh-badge-blue  { background: rgba(58,134,255,.1); border: 1px solid rgba(58,134,255,.3); color: #4CC9F0; }
.gh-badge-red   { background: rgba(231,76,60,.1);  border: 1px solid rgba(231,76,60,.3);  color: #e74c3c; }

/* ── DIVIDER ── */
.gh-divider { border: none; border-top: 1px solid var(--gh-border); margin: 0; }

/* ── FEATURE LIST ── */
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--gh-border-lt);
  font-size: .88rem;
  color: var(--gh-white-dim);
  display: flex; gap: 12px; align-items: flex-start;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before { content: '✦'; color: var(--gh-gold); font-size: .55rem; margin-top: 5px; flex-shrink: 0; }

/* ── COMPARISON TABLE ── */
.compare-table th.highlight { background: rgba(191,161,106,.12); border-top: 2px solid var(--gh-gold); }
.compare-table td.highlight { background: rgba(191,161,106,.05); }

/* ── HERO BIG ── */
.main-hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; padding: 140px 20px 100px;
}
.main-hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .22; }
.hero-orb-1 { width: 700px; height: 700px; background: radial-gradient(circle, #1a3a6e 0%, transparent 70%); top: -200px; left: -200px; animation: orb-drift 12s ease-in-out infinite alternate; }
.hero-orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, #BFA16A 0%, transparent 70%); bottom: -100px; right: -100px; animation: orb-drift 9s ease-in-out infinite alternate-reverse; }
.hero-orb-3 { width: 350px; height: 350px; background: radial-gradient(circle, #4CC9F0 0%, transparent 70%); top: 40%; left: 55%; opacity: .08; animation: orb-drift 15s ease-in-out infinite alternate; }
@keyframes orb-drift { from { transform: translate(0,0) scale(1); } to { transform: translate(40px,30px) scale(1.08); } }
.hero-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(191,161,106,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(191,161,106,.03) 1px, transparent 1px); background-size: 70px 70px; }
.main-hero-content { position: relative; z-index: 2; max-width: 960px; }
.main-hero-title { font-family: var(--font-display); font-size: clamp(3rem,6vw,5.5rem); font-weight: 300; line-height: 1.04; margin-bottom: 28px; }
.main-hero-title em { font-style: italic; color: var(--gh-gold-light); }
.main-hero-title strong { font-weight: 700; }
.main-hero-sub { font-size: 1.05rem; font-weight: 300; color: var(--gh-white-dim); max-width: 600px; margin: 0 auto 48px; line-height: 1.75; }
.hero-stats-row { display: flex; gap: 1px; background: var(--gh-border); max-width: 580px; margin: 60px auto 0; }
.hero-stat { background: rgba(4,13,31,.75); backdrop-filter: blur(10px); padding: 22px 20px; flex: 1; text-align: center; }
.hero-stat-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; color: var(--gh-gold-light); line-height: 1; }
.hero-stat-label { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gh-white-dim); margin-top: 4px; }

/* Animate in */
.fade-up { opacity: 0; transform: translateY(24px); animation: fadeUp .9s ease forwards; }
.fade-up-1 { animation-delay: .3s; }
.fade-up-2 { animation-delay: .5s; }
.fade-up-3 { animation-delay: .7s; }
.fade-up-4 { animation-delay: .9s; }
.fade-up-5 { animation-delay: 1.1s; }
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }
.reveal.d4 { transition-delay: .4s; }
.reveal.d5 { transition-delay: .5s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── WORKFLOW CANVAS ── */
.workflow-canvas {
  background: var(--gh-navy-mid);
  border: 1px solid var(--gh-border);
  border-radius: 0;
  position: relative;
  overflow: hidden;
  user-select: none;
  cursor: grab;
  min-height: 520px;
}
.workflow-canvas:active { cursor: grabbing; }
.wf-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(191,161,106,.12) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.wf-svg { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.wf-edge { stroke: var(--gh-gold-dim); stroke-width: 1.5; fill: none; marker-end: url(#arrowhead); }
.wf-edge-anim { stroke: var(--gh-gold); stroke-width: 2; fill: none; stroke-dasharray: 6 4; animation: dash-flow 1.5s linear infinite; }
@keyframes dash-flow { to { stroke-dashoffset: -20; } }
.wf-node {
  position: absolute;
  min-width: 160px; max-width: 180px;
  background: var(--gh-navy-card);
  border: 1px solid var(--gh-border);
  cursor: pointer;
  transition: box-shadow .2s, border-color .2s;
  user-select: none;
}
.wf-node:hover, .wf-node.selected { border-color: var(--gh-gold); box-shadow: 0 0 0 2px rgba(191,161,106,.2); }
.wf-node-header {
  padding: 8px 12px;
  border-bottom: 1px solid var(--gh-border);
  display: flex; align-items: center; gap: 8px;
  font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: var(--gh-navy-light);
}
.wf-node-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.wf-node-body { padding: 10px 12px; }
.wf-node-label { font-family: var(--font-display); font-size: .95rem; font-weight: 600; color: var(--gh-white); margin-bottom: 2px; }
.wf-node-sub { font-size: .68rem; color: var(--gh-white-dim); }
.wf-port {
  position: absolute; width: 12px; height: 12px;
  border-radius: 50%; border: 2px solid var(--gh-gold);
  background: var(--gh-navy); cursor: crosshair;
  transition: background .2s;
}
.wf-port:hover { background: var(--gh-gold); }
.wf-port.out { right: -6px; top: 50%; transform: translateY(-50%); }
.wf-port.in  { left: -6px;  top: 50%; transform: translateY(-50%); }
.wf-toolbar {
  position: absolute; top: 12px; right: 12px; z-index: 10;
  display: flex; flex-direction: column; gap: 6px;
}
.wf-toolbar button {
  width: 32px; height: 32px;
  background: var(--gh-navy-card); border: 1px solid var(--gh-border);
  color: var(--gh-white-dim); font-size: .85rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.wf-toolbar button:hover { background: var(--gh-navy-light); color: var(--gh-gold); border-color: var(--gh-gold-dim); }
.wf-legend {
  display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px;
}
.wf-legend-item { display: flex; align-items: center; gap: 8px; font-size: .75rem; color: var(--gh-white-dim); }
.wf-legend-dot { width: 10px; height: 10px; border-radius: 50%; }

/* ── FOOTER ── */
.gh-footer {
  background: var(--gh-navy);
  border-top: 1px solid var(--gh-border);
  padding: 70px 0 32px;
}
.footer-brand-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--gh-white); }
.footer-brand-name span { color: var(--gh-gold); }
.footer-tagline { font-size: .84rem; color: var(--gh-white-dim); line-height: 1.65; margin-top: 12px; max-width: 280px; }
.footer-heading { font-family: var(--font-mono); font-size: .65rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gh-gold); margin-bottom: 18px; font-weight: 400; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { font-size: .84rem; color: var(--gh-white-dim); transition: color .2s; font-weight: 300; }
.footer-links a:hover { color: var(--gh-gold-light); }
.footer-bottom { border-top: 1px solid var(--gh-border); padding-top: 24px; margin-top: 48px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: .76rem; color: var(--gh-white-dim); }
.footer-cert { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; color: var(--gh-gold-dim); }

/* ── MODAL ── */
.gh-modal .modal-content {
  background: var(--gh-navy-mid);
  border: 1px solid var(--gh-border);
  border-radius: 0;
  color: var(--gh-white);
}
.gh-modal .modal-header { border-bottom: 1px solid var(--gh-border); padding: 20px 28px; }
.gh-modal .modal-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.gh-modal .btn-close { filter: invert(1) sepia(1) saturate(2); }
.gh-modal .modal-body { padding: 28px; }
.gh-modal .modal-footer { border-top: 1px solid var(--gh-border); padding: 16px 28px; }
.gh-form-group { margin-bottom: 18px; }
.gh-form-group label { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gh-white-dim); margin-bottom: 7px; font-weight: 500; }
.gh-form-group input, .gh-form-group select, .gh-form-group textarea {
  width: 100%; background: var(--gh-navy-light); border: 1px solid var(--gh-border-lt);
  color: var(--gh-white); padding: 12px 14px; font-family: var(--font-body);
  font-size: .88rem; outline: none; transition: border-color .3s; border-radius: 0;
}
.gh-form-group input:focus, .gh-form-group select:focus, .gh-form-group textarea:focus { border-color: var(--gh-gold); }
.gh-form-group select option { background: var(--gh-navy-mid); }
.gh-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ── METRIC CARD ── */
.metric-big { text-align: center; padding: 36px 24px; background: var(--gh-navy-card); border: 1px solid var(--gh-border); position: relative; overflow: hidden; }
.metric-big::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--gh-gold-dim), var(--gh-gold)); }
.metric-big .metric-num { font-family: var(--font-display); font-size: 3rem; font-weight: 300; color: var(--gh-gold-light); line-height: 1; }
.metric-big .metric-label { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gh-white); margin: 8px 0 6px; font-weight: 600; }
.metric-big .metric-desc { font-size: .8rem; color: var(--gh-white-dim); line-height: 1.55; }

/* ── ALERT BOX ── */
.gh-alert { padding: 16px 20px; border-left: 3px solid; font-size: .88rem; margin-bottom: 16px; }
.gh-alert-gold { background: var(--gh-gold-bg); border-color: var(--gh-gold); color: var(--gh-gold-light); }
.gh-alert-blue { background: rgba(76,201,240,.08); border-color: var(--gh-cyan); color: var(--gh-cyan); }
.gh-alert-green { background: rgba(46,204,113,.08); border-color: var(--gh-green); color: #2ecc71; }

/* ── STATUS INDICATOR ── */
.status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.status-ok      { background: var(--gh-green); box-shadow: 0 0 0 3px rgba(46,204,113,.2); }
.status-warn    { background: var(--gh-orange); box-shadow: 0 0 0 3px rgba(243,156,18,.2); }
.status-err     { background: var(--gh-red); box-shadow: 0 0 0 3px rgba(231,76,60,.2); }
.status-pulse   { animation: pulse-anim 1.5s ease-in-out infinite; }
@keyframes pulse-anim { 0%,100% { opacity:1; } 50% { opacity:.4; } }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--gh-navy-mid); }
::-webkit-scrollbar-thumb { background: var(--gh-gold-dim); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gh-gold); }

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
  .main-hero { padding: 130px 16px 80px; }
  .gh-section { padding: 70px 0; }
  .gh-form-row { grid-template-columns: 1fr; }
  .hero-stats-row { flex-wrap: wrap; }
}
@media (max-width: 768px) {
  .wf-node { min-width: 130px; max-width: 150px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
