/* ============================================================================
   CALGAR Consulting - Global Styles
   ============================================================================ */

/* ============================================================================
   RESET & ROOT VARIABLES
   ============================================================================ */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --cyan: #00e5ff;
  --teal: #0097a7;
  --bg: #05090e;
  --bg2: #090f16;
  --bg3: #0d1520;
  --bg4: #111c28;
  --text: #c4d8e6;
  --text-dim: #5a7f96;
  --text-mid: #8aafbf;
  --border: rgba(0, 229, 255, 0.12);
  --border-bright: rgba(0, 229, 255, 0.4);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Barlow", sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 999;
  opacity: 0.35;
}

/* ============================================================================
   NAVIGATION
   ============================================================================ */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 70px;
  background: rgba(5, 9, 14, 0.93);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo img {
  height: 42px;
  width: auto;
  display: block;
}

.logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-wordmark .w1 {
  font-family: "Rajdhani", sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #fff;
  text-transform: uppercase;
}

.logo-wordmark .w2 {
  font-family: "Rajdhani", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--cyan);
  text-transform: uppercase;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-family: "Rajdhani", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transition: transform 0.25s;
}

.nav-links a:hover {
  color: var(--cyan);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 9px 22px;
  border: 1px solid var(--cyan);
  background: transparent;
  font-family: "Rajdhani", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
}

.nav-cta:hover {
  background: var(--cyan);
  color: var(--bg);
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 70px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 65% 50%, rgba(0, 151, 167, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(0, 229, 255, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 65% 65% at 65% 50%, black 0%, transparent 70%);
  opacity: 0.45;
}

.hero-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.25;
  animation: scan 7s ease-in-out infinite;
}

@keyframes scan {
  0% {
    top: 15%;
    opacity: 0;
  }
  10% {
    opacity: 0.25;
  }
  90% {
    opacity: 0.25;
  }
  100% {
    top: 85%;
    opacity: 0;
  }
}

.hero-visual {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 560px;
  height: 560px;
  opacity: 0.75;
}

.hero-visual svg {
  animation: spin-slow 35s linear infinite;
  filter: drop-shadow(0 0 25px rgba(0, 229, 255, 0.22));
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
  padding: 0 32px;
  animation: fade-up 1s ease both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.eyebrow {
  font-family: "Share Tech Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--cyan);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--cyan);
}

h1 {
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(44px, 6.5vw, 78px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 26px;
}

h1 span {
  color: var(--cyan);
}

.hero-sub {
  font-size: 15px;
  color: var(--text-mid);
  max-width: 520px;
  margin-bottom: 38px;
  line-height: 1.8;
}

/* ============================================================================
   BUTTONS
   ============================================================================ */

.btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  font-family: "Rajdhani", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.3s;
  border: none;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-101%);
  transition: transform 0.3s;
}

.btn span {
  position: relative;
  z-index: 1;
}

.btn-primary {
  border: 1px solid var(--cyan);
  color: var(--cyan);
}

.btn-primary::before {
  background: var(--cyan);
}

.btn-primary:hover {
  color: var(--bg);
}

.btn-primary:hover::before {
  transform: none;
}

.btn-ghost {
  border: 1px solid var(--border-bright);
  color: var(--text-mid);
}

.btn-ghost::before {
  background: rgba(0, 229, 255, 0.08);
}

.btn-ghost:hover {
  color: var(--cyan);
}

.btn-ghost:hover::before {
  transform: none;
}

/* ============================================================================
   TRUSTED BAR
   ============================================================================ */

.trusted {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 26px 32px;
}

.trusted-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trusted-label {
  font-family: "Share Tech Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--text-dim);
  text-transform: uppercase;
  white-space: nowrap;
}

.trusted-divider {
  width: 1px;
  height: 26px;
  background: var(--border);
  flex-shrink: 0;
}

.agency-list {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
}

.agency {
  font-family: "Rajdhani", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ============================================================================
   SECTIONS & TYPOGRAPHY
   ============================================================================ */

section.block {
  padding: 92px 0;
  position: relative;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

.sec-label {
  font-family: "Share Tech Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--cyan);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.sec-label::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--cyan);
}

h2 {
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 16px;
}

h2 span {
  color: var(--cyan);
}

.lead {
  font-size: 15px;
  color: var(--text-mid);
  max-width: 580px;
  margin-bottom: 48px;
  line-height: 1.8;
}

.divider {
  height: 1px;
  margin: 0 32px;
  background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
}

/* ============================================================================
   CAPABILITIES SECTION
   ============================================================================ */

.caps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.cap-card {
  background: var(--bg3);
  padding: 32px;
  border: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}

.cap-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--cyan);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s;
}

.cap-card:hover {
  border-color: var(--border-bright);
  background: var(--bg4);
}

.cap-card:hover::before {
  transform: scaleY(1);
}

.cap-icon {
  font-family: "Share Tech Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--cyan);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.cap-title {
  font-family: "Rajdhani", sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}

.cap-list {
  list-style: none;
}

.cap-list li {
  font-size: 13px;
  color: var(--text-dim);
  padding: 7px 0 7px 16px;
  border-bottom: 1px solid rgba(0, 229, 255, 0.06);
  position: relative;
}

.cap-list li:last-child {
  border-bottom: none;
}

.cap-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--cyan);
}

/* ============================================================================
   CLEARANCE SECTION
   ============================================================================ */

.clearance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}

.clearance-levels {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 32px;
}

.cl-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: var(--bg3);
  border: 1px solid transparent;
  transition: border-color 0.25s;
}

.cl-row:hover {
  border-color: var(--border);
}

.cl-badge {
  font-family: "Share Tech Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border: 1px solid;
  min-width: 90px;
  text-align: center;
}

.cl-ts {
  color: #ff6b6b;
  border-color: rgba(255, 107, 107, 0.5);
  background: rgba(255, 107, 107, 0.07);
}

.cl-s {
  color: #ffd93d;
  border-color: rgba(255, 217, 61, 0.5);
  background: rgba(255, 217, 61, 0.07);
}

.cl-pt {
  color: #6bcb77;
  border-color: rgba(107, 203, 119, 0.5);
  background: rgba(107, 203, 119, 0.07);
}

.cl-label {
  font-size: 13px;
  color: var(--text-mid);
}

.ops-list {
  list-style: none;
}

.ops-list li {
  font-size: 13px;
  color: var(--text-dim);
  padding: 9px 0 9px 20px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.ops-list li:last-child {
  border-bottom: none;
}

.ops-list li::before {
  content: "//";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-family: "Share Tech Mono", monospace;
  font-size: 10px;
}

/* ============================================================================
   WHY CALGAR SECTION
   ============================================================================ */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.why-card {
  padding: 36px 28px;
  background: var(--bg3);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: background 0.3s, border-color 0.3s;
}

.why-card:hover {
  background: var(--bg4);
  border-color: var(--border-bright);
}

.why-num {
  font-family: "Share Tech Mono", monospace;
  font-size: 44px;
  color: rgba(0, 229, 255, 0.06);
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
}

.why-icon-line {
  width: 32px;
  height: 2px;
  background: var(--cyan);
  margin-bottom: 20px;
}

.why-title {
  font-family: "Rajdhani", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 12px;
}

.why-body {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ============================================================================
   LEADERSHIP SECTION
   ============================================================================ */

.leaders {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.leader-card {
  flex: 1;
  min-width: 250px;
  padding: 36px 30px;
  background: var(--bg3);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}

.leader-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.leader-card:hover {
  border-color: var(--border-bright);
}

.leader-card:hover::after {
  transform: scaleX(1);
}

.leader-avatar {
  width: 56px;
  height: 56px;
  border: 1px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Rajdhani", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 20px;
  background: rgba(0, 229, 255, 0.05);
}

.leader-name {
  font-family: "Rajdhani", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 4px;
}

.leader-role {
  font-family: "Share Tech Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.leader-bio {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ============================================================================
   NAICS / CONTRACTING SECTION
   ============================================================================ */

.naics-contract {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 48px;
}

.nc-block {
  padding: 36px;
  background: var(--bg3);
  border: 1px solid var(--border);
}

.naics-list {
  list-style: none;
  margin-top: 18px;
}

.naics-list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
  display: flex;
  gap: 14px;
}

.naics-list li:last-child {
  border-bottom: none;
}

.naics-code {
  font-family: "Share Tech Mono", monospace;
  font-size: 12px;
  color: var(--cyan);
  white-space: nowrap;
}

.contract-items {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contract-item {
  padding: 14px 18px;
  background: var(--bg4);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 12px;
}

.contract-item::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--cyan);
  flex-shrink: 0;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* ============================================================================
   CAPABILITY STATEMENT
   ============================================================================ */

.cap-statement {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cap-statement-text h3 {
  font-family: "Rajdhani", sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
}

.cap-statement-text p {
  font-size: 13px;
  color: var(--text-dim);
}

.cap-statement-meta {
  font-family: "Share Tech Mono", monospace;
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  margin-top: 12px;
}

.cap-statement-meta span {
  color: var(--cyan);
}

/* ============================================================================
   CAREERS SECTION
   ============================================================================ */

.careers-roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 40px;
}

.role-chip {
  padding: 18px 16px;
  background: var(--bg3);
  border: 1px solid var(--border);
  font-family: "Rajdhani", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
  text-align: center;
}

.role-chip:hover {
  border-color: var(--border-bright);
  color: var(--cyan);
  background: var(--bg4);
}

/* ============================================================================
   FOOTER
   ============================================================================ */

footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 56px 32px 36px;
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.footer-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.footer-wordmark .w1 {
  font-family: "Rajdhani", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #fff;
  text-transform: uppercase;
}

.footer-wordmark .w2 {
  font-family: "Rajdhani", sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--cyan);
  text-transform: uppercase;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 16px;
  line-height: 1.7;
  max-width: 230px;
}

.footer-contact-links {
  margin-top: 18px;
}

.footer-contact-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
  margin-bottom: 8px;
}

.footer-contact-links a:hover {
  color: var(--cyan);
}

.footer-contact-links svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
}

.footer-col h4 {
  font-family: "Rajdhani", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 9px;
}

.footer-col ul a {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: var(--cyan);
}

.footer-bottom {
  max-width: 1400px;
  margin: 22px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-family: "Share Tech Mono", monospace;
  font-size: 10px;
  color: var(--text-dim);
  opacity: 0.45;
  letter-spacing: 0.05em;
}

.footer-badges {
  display: flex;
  gap: 10px;
}

.f-badge {
  font-family: "Share Tech Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--border);
  color: var(--text-dim);
}

/* ============================================================================
   CATEGORY SECTION STYLES
   ============================================================================ */

.insights-categories {
  background: var(--bg2);
  padding: 96px 0;
  border-bottom: 1px solid rgba(0, 229, 255, 0.08);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
}

.category-block {
  padding: 52px 44px;
  background: var(--bg3);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.category-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.03) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.category-block:hover {
  background: rgba(13, 21, 32, 0.8);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 229, 255, 0.08);
  transform: translateY(-2px);
}

.category-block:hover::after {
  opacity: 1;
}

.category-icon {
  font-family: "Share Tech Mono", monospace;
  font-size: 42px;
  color: rgba(0, 229, 255, 0.12);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1;
  transition: color 0.4s ease;
}

.category-block:hover .category-icon {
  color: rgba(0, 229, 255, 0.25);
}

.category-block h3 {
  font-family: "Rajdhani", sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.3;
}

.category-block p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.85;
  letter-spacing: 0.01em;
}

/* ============================================================================
   INSIGHTS ARTICLES SECTION - PREMIUM STYLING
   ============================================================================ */

.insights-articles {
  background: var(--bg);
  padding: 96px 0;
  border-top: 1px solid rgba(0, 229, 255, 0.08);
  border-bottom: 1px solid rgba(0, 229, 255, 0.08);
}

.insights-header {
  margin-bottom: 72px;
}

.insights-header h2 {
  font-size: 32px;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.insights-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)) !important;
  gap: 1px !important;
}

.insight-card {
  display: flex !important;
  flex-direction: column !important;
  padding: 48px;
  background: var(--bg3);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.insight-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.insight-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.04) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.insight-card:hover {
  border-color: rgba(0, 229, 255, 0.3);
  background: rgba(13, 21, 32, 0.85);
  box-shadow: 0 12px 48px rgba(0, 229, 255, 0.1);
  transform: translateY(-4px);
}

.insight-card:hover::before {
  transform: scaleX(1);
}

.insight-card:hover::after {
  opacity: 1;
}

.insight-category {
  font-family: "Share Tech Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 600;
}

.insight-title {
  font-family: "Rajdhani", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.35;
  flex-grow: 1;
}

.insight-summary {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.9;
  margin-bottom: 32px;
  flex-grow: 1;
  letter-spacing: 0.01em;
}

.insight-link {
  font-family: "Rajdhani", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  position: relative;
}

.insight-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cyan);
  transition: width 0.3s ease;
}

.insight-link:hover {
  color: var(--text);
  gap: 14px;
}

.insight-link:hover::after {
  width: 100%;
}

/* ============================================================================
   CTA SECTION FOR INSIGHTS - PREMIUM STYLING
   ============================================================================ */

.insights-cta {
  padding: 108px 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(9, 15, 22, 0.6) 100%);
}

.insights-cta-content {
  max-width: 900px;
}

.insights-cta-content h2 {
  font-size: 36px;
  letter-spacing: 0.02em;
  line-height: 1.25;
  margin-bottom: 28px;
}

.insights-cta-content .lead {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 36px;
  letter-spacing: 0.01em;
}

.btn-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* ============================================================================
   ARTICLE PAGE STYLES - PREMIUM FORMATTING
   ============================================================================ */

.article-hero {
  padding-top: 70px;
}

.article-category {
  font-family: "Share Tech Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--cyan);
  text-transform: uppercase;
  padding: 10px 16px;
  border: 1px solid rgba(0, 229, 255, 0.4);
  display: inline-block;
  margin-bottom: 28px;
  font-weight: 600;
  background: rgba(0, 229, 255, 0.02);
  transition: all 0.3s ease;
}

.article-category:hover {
  border-color: var(--cyan);
  background: rgba(0, 229, 255, 0.06);
}

.article-page {
  background: var(--bg);
  padding: 72px 0 108px;
}

.article-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 48px;
}

.article-content h2 {
  margin-top: 56px;
  margin-bottom: 32px;
  font-family: "Rajdhani", sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.3;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

.article-content h2:first-of-type {
  margin-top: 0;
}

.article-content h3 {
  font-family: "Rajdhani", sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text);
  margin-top: 44px;
  margin-bottom: 22px;
  transition: color 0.3s ease;
}

.article-content p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 2;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}

.article-content strong {
  color: var(--cyan);
  font-weight: 700;
}

.article-content ul {
  list-style: none;
  margin: 28px 0;
  padding: 0;
}

.article-content li {
  font-size: 15px;
  color: var(--text-mid);
  padding: 14px 0 14px 32px;
  position: relative;
  line-height: 1.95;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}

.article-content li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

/* ============================================================================
   ARTICLE CTA BOX - PREMIUM STYLING
   ============================================================================ */

.article-cta {
  margin: 64px 0 56px;
  padding: 48px;
  background: linear-gradient(135deg, rgba(13, 21, 32, 0.9) 0%, rgba(9, 15, 22, 0.95) 100%);
  border: 1px solid rgba(0, 229, 255, 0.15);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.article-cta::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--cyan);
  transition: width 0.4s ease;
}

.article-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(0, 229, 255, 0.05) 0%, transparent 80%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.article-cta:hover {
  border-color: rgba(0, 229, 255, 0.35);
  background: linear-gradient(135deg, rgba(13, 21, 32, 1) 0%, rgba(9, 15, 22, 1) 100%);
  box-shadow: 0 16px 48px rgba(0, 229, 255, 0.12);
}

.article-cta:hover::before {
  width: 6px;
}

.article-cta:hover::after {
  opacity: 1;
}

.article-cta h3 {
  font-family: "Rajdhani", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.3;
}

.article-cta p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.9;
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}

.article-cta .btn {
  margin-bottom: 0;
  transition: all 0.3s ease;
}

.article-cta .btn:hover {
  transform: translateX(4px);
}

/* ============================================================================
   BACK LINK - PREMIUM STYLING
   ============================================================================ */

.back-link {
  font-family: "Rajdhani", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 56px;
  transition: all 0.3s ease;
  position: relative;
}

.back-link::before {
  content: "←";
  transition: transform 0.3s ease;
}

.back-link:hover {
  color: var(--text);
  gap: 14px;
}

.back-link:hover::before {
  transform: translateX(-4px);
}

/* ============================================================================
   INSIGHTS RESPONSIVE LAYOUT - PREMIUM MOBILE EXPERIENCE
   ============================================================================ */

@media (max-width: 1280px) {
  .article-content {
    padding: 0 40px;
  }

  .article-content h2 {
    font-size: 26px;
  }
}

@media (max-width: 1024px) {
  .insights-categories {
    padding: 80px 0;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
  }

  .category-block {
    padding: 44px 36px;
  }

  .insights-articles {
    padding: 80px 0;
  }

  .insights-header {
    margin-bottom: 60px;
  }

  .insights-header h2 {
    font-size: 28px;
  }

  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
  }

  .insight-card {
    padding: 40px;
  }

  .insight-title {
    font-size: 20px;
  }

  .article-content {
    padding: 0 36px;
    max-width: 800px;
  }

  .article-content h2 {
    font-size: 24px;
    margin-top: 48px;
  }

  .article-content h3 {
    font-size: 18px;
    margin-top: 40px;
  }

  .article-content p {
    font-size: 15px;
  }

  .article-cta {
    padding: 40px;
  }

  .insights-cta {
    padding: 88px 0;
  }

  .insights-cta-content h2 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .insights-categories {
    padding: 64px 0;
    border-bottom: none;
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .category-block {
    padding: 36px 28px;
  }

  .category-block h3 {
    font-size: 17px;
  }

  .category-block p {
    font-size: 13px;
    line-height: 1.8;
  }

  .category-icon {
    font-size: 36px;
    margin-bottom: 18px;
  }

  .insights-articles {
    padding: 64px 0;
    border-top: none;
    border-bottom: none;
  }

  .insights-header {
    margin-bottom: 48px;
  }

  .insights-header h2 {
    font-size: 24px;
    line-height: 1.25;
  }

  .sec-label {
    font-size: 12px;
  }

  .insights-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .insight-card {
    padding: 32px 24px;
  }

  .insight-title {
    font-size: 18px;
    margin-bottom: 14px;
    line-height: 1.3;
  }

  .insight-summary {
    font-size: 13px;
    line-height: 1.85;
    margin-bottom: 24px;
  }

  .insight-category {
    font-size: 10px;
    margin-bottom: 14px;
  }

  .insight-link {
    font-size: 11px;
  }

  .article-hero {
    padding-top: 56px;
  }

  .article-category {
    font-size: 10px;
    padding: 8px 12px;
    margin-bottom: 20px;
  }

  .article-page {
    padding: 56px 0 80px;
  }

  .article-content {
    padding: 0 24px;
    max-width: 100%;
  }

  .article-content h2 {
    font-size: clamp(20px, 7vw, 26px);
    margin-top: 40px;
    margin-bottom: 24px;
    padding-bottom: 12px;
  }

  .article-content h2:first-of-type {
    margin-top: 0;
  }

  .article-content h3 {
    font-size: 16px;
    margin-top: 32px;
    margin-bottom: 16px;
  }

  .article-content p {
    font-size: 15px;
    line-height: 1.85;
    margin-bottom: 20px;
  }

  .article-content li {
    font-size: 14px;
    padding: 12px 0 12px 28px;
    line-height: 1.85;
    margin-bottom: 6px;
  }

  .article-content li::before {
    font-size: 16px;
    left: 2px;
  }

  .article-cta {
    margin: 48px 0 40px;
    padding: 32px 24px;
    background: linear-gradient(135deg, rgba(13, 21, 32, 0.9) 0%, rgba(9, 15, 22, 0.95) 100%);
  }

  .article-cta h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .article-cta p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .back-link {
    font-size: 11px;
    margin-top: 40px;
  }

  .insights-cta {
    padding: 72px 0;
    background: linear-gradient(180deg, var(--bg) 0%, rgba(9, 15, 22, 0.4) 100%);
  }

  .insights-cta-content {
    padding: 0 24px;
  }

  .insights-cta-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
    line-height: 1.25;
  }

  .insights-cta-content .lead {
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 28px;
  }

  .btn-row {
    gap: 12px;
  }

  .btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 12px;
  }
}

/* ============================================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================================ */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-children > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-children.visible > *:nth-child(1) {
  opacity: 1;
  transform: none;
  transition-delay: 0.05s;
}

.reveal-children.visible > *:nth-child(2) {
  opacity: 1;
  transform: none;
  transition-delay: 0.14s;
}

.reveal-children.visible > *:nth-child(3) {
  opacity: 1;
  transform: none;
  transition-delay: 0.23s;
}

.reveal-children.visible > *:nth-child(4) {
  opacity: 1;
  transform: none;
  transition-delay: 0.32s;
}

.reveal-children.visible > *:nth-child(5) {
  opacity: 1;
  transform: none;
  transition-delay: 0.41s;
}

.reveal-children.visible > *:nth-child(6) {
  opacity: 1;
  transform: none;
  transition-delay: 0.5s;
}

.reveal-children.visible > *:nth-child(7) {
  opacity: 1;
  transform: none;
  transition-delay: 0.59s;
}

.reveal-children.visible > *:nth-child(8) {
  opacity: 1;
  transform: none;
  transition-delay: 0.68s;
}

.reveal-children.visible > *:nth-child(9) {
  opacity: 1;
  transform: none;
  transition-delay: 0.77s;
}