/* ==========================================================================
   GRIP Rooster — Homepage styles
   Layout metrics are taken from the source design (1255px content width),
   scaled to this page's 1140px content width.
   ========================================================================== */

:root {
  --bg: #060b15;
  --bg-soft: #0a1120;
  --card: #0d1525;
  --card-2: #101b2d;
  --line: rgba(255, 255, 255, .08);
  --line-soft: rgba(255, 255, 255, .05);
  --text: #e9eff8;
  --muted: #8896ab;
  --muted-2: #6d7c92;
  --orange: #ff7a18;
  --red: #ff2f2f;
  --blue: #3d8bff;
  --cyan: #21c7d8;
  --purple: #a259ff;
  --pink: #ff4d6d;
  --green: #28c76f;
  --grad: linear-gradient(90deg, #ff8a00 0%, #ff2d2d 100%);
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-weight: 800; letter-spacing: -.025em; }

a { text-decoration: none; }

.container-x { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.text-muted-c { color: var(--muted); }
.eyebrow {
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section { padding: 62px 0; }
.divider-line { height: 1px; background: var(--line-soft); }

/* ---------- Buttons ---------- */
.btn-grip {
  background: var(--grad);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 26px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 8px 28px rgba(255, 70, 30, .42);
}
.btn-grip:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(255, 70, 30, .55); }
.btn-nav { padding: 11px 26px; font-size: 14px; }

.btn-ghost {
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .18);
  color: var(--text);
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease;
}
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .32); }

/* ---------- Logo ---------- */
.logo { display: inline-block; line-height: 0; }
.logo-svg { height: 81px; width: auto; aspect-ratio: 1.949; display: block; }
.logo-svg.logo-sm { height: 26px; aspect-ratio: 2.343; }
.logo-svg.logo-ft { height: 44px; }

/* ---------- Navbar ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 9px 0 0;
  transition: background .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.site-nav.is-stuck {
  background: rgba(6, 11, 21, .92);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.nav-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.main-nav { align-items: center; gap: 30px; margin-top: 12px; }
.nav-right { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.nav-toggle { background: none; border: 0; color: #fff; font-size: 26px; line-height: 1; padding: 0; }

.nav-link-x {
  color: #c2cdda;
  font-size: 14px;
  font-weight: 500;
  padding: 5px 1px;
  position: relative;
}
.nav-link-x:hover { color: #fff; }
.nav-link-x.active { color: var(--orange); }
.nav-link-x.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -5px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero { padding: 16px 0 0; }
.hero-grid { display: flex; align-items: flex-start; }
.hero-left { flex: 0 0 54.1%; max-width: 54.1%; }
.hero-right { flex: 0 0 45.9%; max-width: 45.9%; }

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  padding: 7px 17px;
  font-size: 11.5px;
  letter-spacing: .055em;
  font-weight: 600;
  color: #d3dcea;
  text-transform: uppercase;
}
.dot-live {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2ee06a;
  box-shadow: 0 0 8px 2px rgba(46, 224, 106, .55);
  flex: 0 0 8px;
}

.hero-title {
  font-size: clamp(30px, 4.45vw, 52.5px);
  line-height: 1.08;
  font-weight: 800;
  margin: 26px 0 0;
  white-space: nowrap;
}
.hero-copy {
  color: #93a3b8;
  font-size: 15.5px;
  line-height: 1.52;
  max-width: 548px;
  margin: 20px 0 0;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 25px; }

.check-row { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 30px; }
.check-item { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: #c3cfde; }
.check-item i { color: #2ee06a; font-size: 15px; }

/* ---------- Globe ---------- */
.globe-stage {
  position: relative;
  width: 105.5%;
  margin-top: -35px;
  container-type: inline-size;
}
.globe-shot { width: 100%; display: block; }

.gtag {
  position: absolute;
  height: 9.2%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #0f1928;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  font-size: 1.85cqw;
  font-weight: 600;
  color: #e4ebf5;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .5);
}

.mpa-list {
  position: absolute;
  left: 82.5%;
  top: 81%;
  padding-left: 2cqw;
  border-left: 2px solid var(--orange);
  display: grid;
  gap: 1cqw;
}
.mpa-list span {
  font-size: 1.62cqw;
  letter-spacing: .22em;
  color: #97a6bb;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1;
}

/* ---------- Pillars strip ---------- */
.pillars-sec { padding: 36px 0 0; }
.pillars {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 14px;
  padding: 25px 0 30px;
  display: flex;
}
.pillar {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  padding: 0 16px;
  position: relative;
}
.pillar + .pillar::before {
  content: '';
  position: absolute;
  left: 0; top: -10px; bottom: -14px;
  width: 1px;
  background: rgba(255, 255, 255, .07);
}
.pillar-ico { width: 31px; height: 31px; color: #a9cdf2; }
.pillar h6 {
  margin: 15px 0 0;
  font-size: 12px;
  letter-spacing: .1em;
  font-weight: 800;
  color: #fff;
}
.pillar p { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }

/* ---------- Stats ---------- */
.stat { text-align: center; padding: 6px 8px; position: relative; }
.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 1px;
  background: var(--line-soft);
}
.stat .num {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  /* inline-block + nowrap keep the gradient box as wide as the text: when
     "10,000+" overflowed its column, the "+" fell outside the painted
     background and rendered transparent. */
  display: inline-block;
  white-space: nowrap;
  font-size: clamp(26px, 2.4vw, 34px);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.stat .lbl { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ---------- Steps ---------- */
.step { text-align: left; position: relative; padding-right: 12px; }
.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  border: 1.5px solid currentColor;
  background: rgba(255, 255, 255, .02);
  margin-bottom: 16px;
}
.step h6 { font-size: 15px; font-weight: 700; margin: 0 0 6px; color: #fff; }
.step p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.55; }
.step .arrow {
  position: absolute;
  top: 20px;
  right: -6px;
  color: #3d4d64;
  font-size: 13px;
}
.step .arrow::before {
  content: '';
  position: absolute;
  right: 14px; top: 50%;
  width: 34px; height: 1px;
  background: linear-gradient(90deg, rgba(120, 145, 180, .05), rgba(120, 145, 180, .45));
}

/* ---------- Industry cards ---------- */
.ind-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.ind-card:hover { transform: translateY(-3px); border-color: rgba(255, 122, 24, .4); background: var(--card-2); }
.ind-ico {
  width: 42px; height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 19px;
  flex: 0 0 42px;
  background: rgba(255, 255, 255, .04);
}
.ind-card h6 { margin: 0 0 3px; font-size: 14.5px; font-weight: 700; color: #fff; }
.ind-card p { margin: 0; font-size: 12.5px; color: var(--muted); }

/* ---------- Dashboard mock ---------- */
.dash {
  background: #0a1120;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  min-height: 300px;
}
.dash-side {
  width: 160px;
  flex: 0 0 160px;
  background: #080e1b;
  border-right: 1px solid var(--line-soft);
  padding: 18px 12px;
}
.dash-side .logo-svg { height: 24px; }
.dash-nav { margin-top: 22px; display: grid; gap: 2px; }
.dash-nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  color: #8493a9;
  padding: 8px 10px;
  border-radius: 8px;
}
.dash-nav a.active { background: rgba(255, 255, 255, .06); color: #fff; }
/* The dashboard here is an illustration, not navigation: no hand cursor or
   hover colour, so its links do not look clickable. */
.dash-side a { cursor: default; }
.dash-nav a:not(.active):hover { color: #8493a9; }
.dash-main { flex: 1; padding: 18px; min-width: 0; }
.dash-title { font-size: 15px; font-weight: 700; margin: 0; }
.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  color: #2ee06a;
}
.kpi {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 12px;
}
.kpi .v { font-size: 20px; font-weight: 800; font-family: 'Archivo', sans-serif; }
.kpi .k { font-size: 10.5px; color: var(--muted); margin: 2px 0 6px; }
.kpi .d { font-size: 10.5px; font-weight: 600; }

.risk-map {
  background:
    radial-gradient(circle at 22% 46%, rgba(255, 90, 20, .16), transparent 18%),
    radial-gradient(circle at 78% 34%, rgba(255, 90, 20, .16), transparent 16%),
    radial-gradient(circle at 52% 30%, rgba(255, 90, 20, .12), transparent 14%),
    var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  min-height: 165px;
}
.risk-map::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(125, 175, 245, .55) 1.1px, transparent 1.1px);
  background-size: 8px 8px;
  mask-image: radial-gradient(ellipse 74% 66% at 50% 50%, #000 48%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 74% 66% at 50% 50%, #000 48%, transparent 82%);
  opacity: .8;
}
.risk-map .hot {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #ff7a18;
  box-shadow: 0 0 8px 3px rgba(255, 100, 20, .8);
}

.feed {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 12px;
  height: 100%;
}
.feed h6 { font-size: 11.5px; font-weight: 700; margin: 0 0 10px; color: #cbd6e5; }
.feed-item { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line-soft); }
.feed-item:last-of-type { border-bottom: 0; }
.feed-item .t { font-size: 9.5px; color: var(--muted-2); flex: 0 0 54px; padding-top: 2px; }
.feed-item .n { font-size: 11px; font-weight: 600; color: #e4ecf7; margin: 0; }
.feed-item .s { font-size: 10px; color: var(--muted); margin: 1px 0 0; }
.link-more { font-size: 10.5px; color: var(--orange); font-weight: 600; }

/* ---------- Rooster ---------- */
.rooster-art {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 178px;
  max-width: 42%;
  aspect-ratio: .834;
  opacity: .95;
  pointer-events: none;
  filter: drop-shadow(0 0 40px rgba(255, 90, 20, .45));
}
.rooster-wrap { position: relative; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding: 22px 0 16px; background: var(--bg-soft); }
.f-row { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.f-brand { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.f-tag { font-size: 12.5px; color: var(--muted-2); padding-left: 16px; border-left: 1px solid var(--line-soft); }
.f-row { align-items: flex-start; }
.f-contact { display: flex; flex-direction: column; gap: 4px; margin: 0; font-style: normal; font-size: 13px; color: var(--muted-2); line-height: 1.5; }
.f-contact-title { font-weight: 700; color: #cdd8e6; font-size: 13.5px; margin-bottom: 2px; }
.f-contact i { color: var(--orange); margin-right: 6px; }
.f-contact a { color: var(--muted-2); }
.f-contact a:hover { color: var(--orange); }
@media (max-width: 767px) { .f-contact { width: 100%; } }
.f-bottom { font-size: 12px; color: var(--muted-2); margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.f-bottom a { color: var(--muted-2); }
.f-bottom a:hover { color: var(--orange); }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .main-nav { gap: 22px; }
}
@media (max-width: 991.98px) {
  .site-nav { padding: 12px 0; }
  .nav-row { align-items: center; }
  .nav-right { margin-top: 0; }
  .logo-svg { height: 58px; }
  .hero { padding: 26px 0 0; }
  .hero-grid { flex-direction: column; align-items: stretch; }
  .hero-left, .hero-right { flex: none; width: 100%; max-width: 100%; }
  .hero-title { white-space: normal; font-size: clamp(32px, 6.4vw, 52px); }
  .hero-copy { max-width: 640px; }
  .globe-stage { width: 100%; max-width: 560px; margin: 34px auto 0; }
  /* below this width the DOM labels would be illegible; the artwork carries its own */
  .gtag, .mpa-list { display: none; }
  .pillars { flex-wrap: wrap; padding: 22px 0; }
  .pillar { flex: 0 0 50%; max-width: 50%; padding: 16px; }
  .pillar:nth-child(odd)::before { display: none; }
  .rooster-art { position: static; transform: none; width: 190px; max-width: 55%; margin: 24px auto 0; display: block; }
  .stat + .stat::before { display: none; }
  .step .arrow { display: none; }
  .dash-side { display: none; }
}
@media (max-width: 575.98px) {
  .logo-svg { height: 46px; }
  .pill-badge { font-size: 10.5px; padding: 6px 13px; letter-spacing: .04em; }
  .hero-title { font-size: 33px; }
  .hero-cta { gap: 12px; }
  .check-row { gap: 14px 22px; }
  .globe-stage { margin-top: 24px; }
  .pillar { flex: 0 0 100%; max-width: 100%; }
  .pillar::before { display: none !important; }
  .f-tag { flex-basis: 100%; padding-left: 0; border-left: 0; }
}
