/* ============================================
   NETSYN — Cybersecurity Network
   Complete Stylesheet
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --primary-bg: #09090B;
  --secondary-bg: #111113;
  --card-bg: #18181B;
  --card-bg-hover: #1F1F23;
  --accent: #3B82F6;
  --accent-light: #60A5FA;
  --accent-success: #22C55E;
  --accent-amber: #F59E0B;
  --accent-red: #EF4444;
  --text-primary: #F4F4F5;
  --text-secondary: #A1A1AA;
  --text-dim: #52525B;
  --border-subtle: rgba(255,255,255,0.07);
  --border-accent: rgba(59,130,246,0.25);
  --glow-accent: 0 0 24px rgba(59,130,246,0.12);
  --gradient-hero: linear-gradient(135deg, #09090B 0%, #111113 50%, #0C0C0F 100%);
  --gradient-card: linear-gradient(145deg, rgba(24,24,27,0.9), rgba(17,17,19,0.7));
  --gradient-accent: linear-gradient(90deg, #3B82F6, #60A5FA);
  --font-display: 'Outfit', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --max-width: 1200px;
  --nav-height: 72px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #3B82F6 var(--primary-bg);
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--primary-bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(59,130,246,0.35);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(59,130,246,0.6);
}

body {
  font-family: var(--font-body);
  background: var(--primary-bg);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 48px;
}

/* --- Scroll Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* --- Section Divider --- */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border-subtle) 20%, rgba(59,130,246,0.15) 50%, var(--border-subtle) 80%, transparent 100%);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  background: rgba(9,9,11,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border-subtle);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav__logo-icon {
  width: 36px;
  height: 36px;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.nav__logo-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.15em;
  margin-left: 6px;
  align-self: flex-end;
  margin-bottom: 2px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-secondary);
  position: relative;
  transition: color 0.3s ease;
  padding: 4px 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav__link:hover,
.nav__link.active {
  color: var(--text-primary);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__cta {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.nav__cta:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59,130,246,0.25);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1002;
}

.nav__hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
  display: block;
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile overlay */
.nav__mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9,9,11,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav__mobile-overlay.open {
  transform: translateX(0);
}

.nav__mobile-overlay .nav__link {
  font-size: 1.5rem;
  color: var(--text-primary);
}

.nav__mobile-overlay .nav__cta {
  font-size: 1.1rem;
  padding: 14px 32px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero__grid {
  position: absolute;
  inset: 0;
  overflow: hidden;
  perspective: 600px;
}

.hero__grid-inner {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent calc(100% / 40 - 1px), rgba(255,255,255,0.02) calc(100% / 40 - 1px), rgba(255,255,255,0.02) calc(100% / 40)),
    repeating-linear-gradient(90deg, transparent, transparent calc(100% / 40 - 1px), rgba(255,255,255,0.02) calc(100% / 40 - 1px), rgba(255,255,255,0.02) calc(100% / 40));
  transform: rotateX(45deg);
  animation: grid-scroll 30s linear infinite;
}

@keyframes grid-scroll {
  0% { transform: rotateX(45deg) translateY(0); }
  100% { transform: rotateX(45deg) translateY(5%); }
}

.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.hero__text {
  max-width: 640px;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4.2rem;
  line-height: 1.08;
  margin-bottom: 24px;
}

.hero__sub {
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Terminal status line */
.terminal-status {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}

.terminal-status__cursor {
  display: inline-block;
  width: 7px;
  height: 15px;
  background: var(--accent);
  opacity: 0.6;
  animation: blink-cursor 1s step-end infinite;
}

@keyframes blink-cursor {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 0; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59,130,246,0.3);
  background: var(--accent-light);
}

.btn--outline {
  border: 1px solid var(--border-accent);
  color: var(--accent-light);
  background: transparent;
}

.btn--outline:hover {
  background: rgba(59,130,246,0.06);
  transform: translateY(-2px);
  border-color: var(--accent);
}

.btn--ghost {
  color: var(--accent);
  padding: 10px 0;
}

.btn--ghost:hover {
  color: var(--accent-light);
}

.btn--ghost .btn__arrow {
  transition: transform 0.3s ease;
}

.btn--ghost:hover .btn__arrow {
  transform: translateX(4px);
}

/* ============================================
   METRICS BAR
   ============================================ */
.metrics {
  background: var(--secondary-bg);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 48px 0;
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.metrics__item {
  padding: 16px;
}

.metrics__number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.8rem;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 8px;
}

.metrics__label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ============================================
   CARD GRID SECTIONS
   ============================================ */
.section {
  padding: 96px 0;
}

.section--alt {
  background: var(--secondary-bg);
}

.section__header {
  text-align: center;
  margin-bottom: 56px;
}

.section__header h2 {
  margin-bottom: 16px;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 36px 28px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--border-accent);
  background: var(--card-bg-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.card__icon {
  width: 44px;
  height: 44px;
  color: var(--accent);
  margin-bottom: 20px;
}

.card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.card__text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 16px;
  transition: gap 0.3s ease;
}

.card__link:hover {
  gap: 10px;
}

/* ============================================
   FEATURED RESEARCH BRIEF
   ============================================ */
.featured-brief {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: center;
  transition: border-color 0.4s ease;
}

.featured-brief:hover {
  border-color: var(--border-accent);
}

.featured-brief__badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.18);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.featured-brief__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 8px;
  line-height: 1.35;
}

.featured-brief__date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.featured-brief__excerpt {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.featured-brief__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-brief__chart {
  width: 100%;
  max-width: 280px;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  position: relative;
  padding: 96px 0;
  text-align: center;
  background: var(--secondary-bg);
  overflow: hidden;
}

.cta-banner__grid {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(255,255,255,0.015) 59px, rgba(255,255,255,0.015) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(255,255,255,0.015) 59px, rgba(255,255,255,0.015) 60px);
}

.cta-banner__content {
  position: relative;
  z-index: 2;
}

.cta-banner h2 {
  margin-bottom: 16px;
}

.cta-banner p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--primary-bg);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer__brand {
  max-width: 280px;
}

.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer__brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
}

.footer__brand-tagline {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer__col-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: var(--text-primary);
}

.footer__bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer__bottom-links {
  display: flex;
  gap: 24px;
}

.footer__bottom-links a {
  color: var(--text-dim);
  transition: color 0.3s ease;
}

.footer__bottom-links a:hover {
  color: var(--text-secondary);
}

/* ============================================
   PAGE HEADERS (subpages)
   ============================================ */
.page-header {
  padding: 140px 0 64px;
  background: var(--gradient-hero);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.page-header__grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(255,255,255,0.015) 59px, rgba(255,255,255,0.015) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(255,255,255,0.015) 59px, rgba(255,255,255,0.015) 60px);
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  margin: 0 8px;
  color: var(--text-dim);
}

.page-header h1 {
  margin-bottom: 16px;
}

.page-header__subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 640px;
  line-height: 1.7;
}
.page-header__subtitle--emphasis {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ============================================
   RESEARCH PAGE — REPORT
   ============================================ */
.filter-bar {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border-subtle);
  padding: 0;
  margin-bottom: 48px;
  overflow-x: auto;
}

.filter-bar__tab {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 14px 24px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  background: none;
}

.filter-bar__tab:hover {
  color: var(--text-primary);
}

.filter-bar__tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Report article */
.report {
  max-width: 780px;
  margin: 0 auto;
  padding-bottom: 64px;
}

.report__meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  background: rgba(59,130,246,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 40px;
  line-height: 2;
}

.report__meta strong {
  color: var(--text-secondary);
}

.report h1 {
  font-size: 2.4rem;
  margin-bottom: 40px;
  line-height: 1.2;
}

.report h2 {
  font-size: 1.6rem;
  margin: 48px 0 20px;
  color: var(--text-primary);
}

.report h3 {
  font-size: 1.2rem;
  margin: 32px 0 12px;
  color: var(--text-primary);
}

.report p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.85;
  margin-bottom: 20px;
}

.report strong {
  color: var(--text-primary);
  font-weight: 600;
}

.report__section-divider {
  width: 60px;
  height: 1px;
  background: var(--gradient-accent);
  margin: 48px 0;
}

/* Upcoming reports */
.upcoming-reports {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.upcoming-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 28px 24px;
  opacity: 0.55;
  position: relative;
}

.upcoming-card__badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-amber);
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.18);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.upcoming-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.upcoming-card__date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ============================================
   SOLUTIONS PAGE
   ============================================ */
.solution-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.solution-section:last-of-type {
  border-bottom: none;
}

.solution-section__header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.solution-section__icon {
  width: 44px;
  height: 44px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 4px;
}

.solution-section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
}

.solution-section__body p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: 780px;
}

.solution-callout {
  background: rgba(59,130,246,0.03);
  border: 1px solid var(--border-accent);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 24px 28px;
  margin: 24px 0;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.solution-callout__icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.solution-callout p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.solution-callout .btn {
  margin-top: 16px;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-mission {
  max-width: 780px;
}

.about-mission p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 24px;
}

/* Methodology timeline */
.timeline {
  position: relative;
  padding-left: 48px;
  max-width: 780px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--accent), var(--border-subtle));
  opacity: 0.4;
}

.timeline__item {
  position: relative;
  padding-bottom: 48px;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__dot {
  position: absolute;
  left: -38px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-bg);
  border: 2px solid var(--accent);
}

.timeline__step {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.timeline__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.timeline__text {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.75;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ============================================
   PARTNER PAGE
   ============================================ */
.partner-value {
  max-width: 780px;
  margin-bottom: 48px;
}

.partner-value p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 20px;
}

.partner-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.partner-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}

.partner-category {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 20px 24px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.3s ease;
}

.partner-category:hover {
  border-color: var(--border-accent);
}

.partner-category__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ============================================
   FORMS
   ============================================ */
.form-section {
  padding: 96px 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: start;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form__label .required {
  color: var(--accent-red);
  margin-left: 2px;
}

.form__input,
.form__select,
.form__textarea {
  background: var(--secondary-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--text-dim);
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23A1A1AA' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form__select option {
  background: var(--secondary-bg);
  color: var(--text-primary);
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
}

.form__submit {
  align-self: flex-start;
}

.form-legal-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.55;
  max-width: 520px;
}
.form-legal-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-legal-note a:hover {
  color: var(--accent-light);
}

/* Contact sidebar */
.contact-sidebar {
  padding: 36px;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
}

.contact-sidebar__item {
  margin-bottom: 28px;
}

.contact-sidebar__item:last-child {
  margin-bottom: 0;
}

.contact-sidebar__label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.contact-sidebar__value {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-sidebar__value a {
  color: var(--accent);
  transition: color 0.3s ease;
}

.contact-sidebar__value a:hover {
  color: var(--accent-light);
}

.contact-sidebar__note {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-dim);
  font-style: italic;
}

/* ============================================
   SUCCESS PAGE
   ============================================ */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--nav-height) 24px 0;
}

.success-page__icon {
  width: 80px;
  height: 80px;
  color: var(--accent-success);
  margin: 0 auto 24px;
}

.success-page h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.success-page p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ============================================
   PARTNER FORM (full-width variation)
   ============================================ */
.partner-form-section {
  background: var(--secondary-bg);
  border-radius: 16px;
  padding: 48px;
  border: 1px solid var(--border-subtle);
}

.partner-form-section h3 {
  margin-bottom: 8px;
}

.partner-form-section > p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

/* ============================================
   NOTIFY FORM (inline on solutions page)
   ============================================ */
.notify-form {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.notify-form .form__input {
  width: 260px;
}

/* ============================================
   SVG CHART for featured brief
   ============================================ */
.trend-chart {
  width: 100%;
  height: auto;
}

/* ============================================
   CLASSIFICATION BADGES & EVALUATION STAMPS
   ============================================ */
.classification-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 3px;
}
.classification-badge--white {
  color: var(--accent-success);
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
}
.classification-badge--amber {
  color: var(--accent-amber);
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.2);
}
.classification-badge--red {
  color: var(--accent-red);
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.2);
}
.classification-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.eval-stamp {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  border: 1px solid var(--border-accent);
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 16px;
}

/* Trust signals bar */
.trust-bar {
  text-align: center;
  padding: 48px 0;
  border-top: 1px solid var(--border-subtle);
}
.trust-bar p {
  color: var(--text-dim);
  font-size: 0.92rem;
  font-style: italic;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Evaluation criteria list */
.eval-criteria {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
}
.eval-criteria li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  padding: 6px 0 6px 24px;
  position: relative;
}
.eval-criteria li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--accent);
  border-radius: 2px;
}

/* Advisory process steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.process-step {
  text-align: center;
  padding: 32px 24px;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  position: relative;
}
.process-step__number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--accent);
  opacity: 0.15;
  position: absolute;
  top: 16px;
  right: 20px;
}
.process-step__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.process-step__text {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Qualifier text below CTA */
.cta-qualifier {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 16px;
  font-style: italic;
}

/* Classification watermark on intel page */
.report-watermark {
  position: relative;
}
.report-watermark::before {
  content: 'TLP:WHITE';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-35deg);
  font-family: var(--font-mono);
  font-size: 6rem;
  font-weight: 800;
  color: rgba(255,255,255,0.015);
  letter-spacing: 0.2em;
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}
.report-watermark .report { position: relative; z-index: 1; }

/* Platform info box */
.platform-info {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 24px 28px;
  margin: 20px 0 28px;
}
.platform-info p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0;
}

/* Advisory note callout */
.advisory-note {
  background: rgba(59,130,246,0.04);
  border: 1px solid var(--border-accent);
  border-radius: 10px;
  padding: 28px 32px;
  margin: 48px 0;
}
.advisory-note__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 12px;
}
.advisory-note p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
}

@media (max-width: 768px) {
  .process-grid { grid-template-columns: 1fr; }
  .report-watermark::before { font-size: 3rem; }
}

/* ============================================
   LEGAL PAGES (Privacy, Terms)
   ============================================ */
.legal-page ul,
.legal-page ol {
  margin: 1rem 0 1.25rem 1.5rem;
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.75;
}
.legal-page ul { list-style: disc; }
.legal-page ol { list-style: decimal; }
.legal-page li { margin-bottom: 0.5rem; }
.legal-page li strong { color: var(--text-primary); }
.legal-lead {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  padding: 1.25rem 1.5rem;
  background: rgba(59,130,246,0.06);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  margin-bottom: 2.5rem;
}
.legal-lead strong { color: var(--text-primary); }
.legal-updated {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

/* ============================================
   HIDDEN / UTILITY
   ============================================ */
.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }

  .hero__headline { font-size: 3rem; }
  .hero__content { grid-template-columns: 1fr; }
  .hero__visual { display: none; }

  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .upcoming-reports { grid-template-columns: repeat(2, 1fr); }
  .partner-features { grid-template-columns: 1fr; }
  .partner-categories { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer__brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .featured-brief {
    grid-template-columns: 1fr;
  }
  .featured-brief__visual { display: none; }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }

  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 0;
    display: flex;
    align-items: center;
  }
  .hero__content {
    padding-top: calc(var(--nav-height) + 24px);
    padding-bottom: 40px;
  }
  .hero__headline { font-size: 2.5rem; }
  .hero__sub { font-size: 1rem; }
  .hero__sub-tagline {
    display: block;
    white-space: nowrap;
    font-size: 1rem;
  }

  .section { padding: 64px 0; }

  .nav__links { display: none; }
  .nav__cta-desktop { display: none; }
  .nav__hamburger { display: flex; }

  .card-grid,
  .card-grid--2 { grid-template-columns: 1fr; }
  .upcoming-reports { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .partner-categories { grid-template-columns: 1fr; }

  .metrics__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .metrics__number { font-size: 2.2rem; }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .form__row { grid-template-columns: 1fr; }

  .featured-brief { padding: 28px; }

  .partner-form-section { padding: 28px; }

  .page-header { padding: 110px 0 48px; }

  .report h1 { font-size: 1.8rem; }

  .hero__actions {
    flex-direction: column;
  }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .notify-form {
    flex-direction: column;
    align-items: flex-start;
  }
  .notify-form .form__input {
    width: 100%;
  }
}

@media (min-width: 1280px) {
  .hero__headline { font-size: 4.5rem; }
  h2 { font-size: 2.8rem; }
}

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  z-index: 90;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.back-to-top svg {
  width: 20px;
  height: 20px;
}
@media (max-width: 600px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}
