/* ============================================
   射频探索 RadioSeek - Epiq Architecture Style
   Color Scheme: radioseek.com.cn (dark navy + cyan)
   Layout: epiqsolutions.com
   ============================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-primary: #0a1525;
  --bg-secondary: #0d1b2a;
  --bg-tertiary: #112841;
  --bg-card: #0f2540;
  --bg-card-hover: #163354;
  --accent: #00d4ff;
  --accent-dark: #0096c7;
  --accent-darker: #023e8a;
  --accent-glow: rgba(0, 212, 255, 0.12);
  --accent-glow-strong: rgba(0, 212, 255, 0.25);
  --text: #ffffff;
  --text-secondary: #a0b4d0;
  --text-muted: #6b7d99;
  --border: #1a3a5c;
  --border-light: #2a4a6c;
  --header-h: 72px;
  --max-w: 1400px;
  --font-sans: 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Consolas', 'SF Mono', 'Roboto Mono', monospace;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--text); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ---- Header ---- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(10, 21, 37, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
}
.header.scrolled { background: rgba(10, 21, 37, 0.98); }

.header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}

.logo-link { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img { height: 48px; width: auto; display: block; filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.2)); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; white-space: nowrap; }
.logo-text .logo-title { font-size: 18px; font-weight: 700; color: var(--text); letter-spacing: 0.5px; }
.logo-text .logo-subtitle { font-size: 12px; color: var(--accent); letter-spacing: 1.5px; font-weight: 600; }

/* ---- Nav ---- */
.nav { display: flex; align-items: center; gap: 0; list-style: none; }
.nav > li { position: relative; }
.nav > li > a {
  display: flex; align-items: center; gap: 6px;
  padding: 0 16px; height: var(--header-h);
  color: var(--text-secondary); font-size: 16.8px; font-weight: 500;
  text-decoration: none; transition: color var(--transition);
}
.nav > li > a:hover, .nav > li:hover > a { color: var(--accent); }
.nav .caret { font-size: 10.8px; opacity: 0.6; }

/* Mega menu */
.mega-menu {
  position: absolute; top: var(--header-h); left: 50%; transform: translateX(-50%);
  min-width: 260px; background: var(--bg-secondary);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 12px 0; opacity: 0; visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: all var(--transition);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.nav > li:hover .mega-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.mega-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px; color: var(--text-secondary); font-size: 15.6px;
  text-decoration: none; transition: all var(--transition);
}
.mega-menu a:hover { color: var(--accent); background: var(--bg-card); }
.mega-menu .mm-icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--accent); }
.mega-menu .mm-divider { height: 1px; background: var(--border); margin: 8px 16px; }

/* CTA button */
.btn-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 20px; border-radius: 6px;
  background: var(--accent); color: var(--bg-primary);
  font-size: 13px; font-weight: 700; text-decoration: none;
  transition: all var(--transition); white-space: nowrap;
}
.btn-cta:hover { background: var(--text); color: var(--bg-primary); }

/* Mobile menu toggle */
.menu-toggle { display: none; background: none; border: none; color: var(--text); font-size: 26.4px; cursor: pointer; }

/* Header-specific CTA button (1.2x of base .btn-cta, scoped to header only) */
.header .btn-cta { font-size: 15.6px; }

/* ---- Hero ---- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-top: var(--header-h);
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, var(--accent-glow) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(2, 62, 138, 0.15) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; width: 100%; }
/* MAIN HERO: wider & centered */
.hero-main .hero-inner { max-width: 1600px; text-align: center; }
.hero-main .hero-eyebrow { margin-left: auto; margin-right: auto; }
.hero-main h1 { max-width: 1200px; margin-left: auto; margin-right: auto; }
.hero-main .hero-desc { max-width: 1000px; margin-left: auto; margin-right: auto; }
.hero-main .sdr-nav { justify-content: center; }
.hero-eyebrow { font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 16px; }
.hero h1 {
  font-size: clamp(28px, 4.2vw, 52px); font-weight: 800; line-height: 1.1;
  margin-bottom: 24px; max-width: 1200px; white-space: nowrap;
}
.hero h1 span { color: var(--accent); }
.hero-desc { font-size: 17px; color: var(--text-secondary); max-width: 700px; margin-bottom: 32px; line-height: 1.7; }

/* SDR category pills */
.sdr-nav {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px;
}
.sdr-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 30px;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-secondary); font-size: 13px; font-weight: 500;
  text-decoration: none; transition: all var(--transition);
}
.sdr-pill:hover { border-color: var(--accent); color: var(--accent); background: var(--bg-card-hover); }
.sdr-pill svg { width: 16px; height: 16px; }

/* ---- Section base ---- */
.section { padding: 80px 0; }
.section-dark { background: var(--bg-secondary); }
.section-darker { background: var(--bg-primary); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-eyebrow { font-size: 12px; font-weight: 600; color: var(--accent); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-size: clamp(28px, 3.5vw, 42px); font-weight: 700; line-height: 1.2; }
.section-subtitle { font-size: 16px; color: var(--text-secondary); max-width: 700px; margin: 16px auto 0; }

/* ---- Product Carousel ---- */
.product-carousel { position: relative; }
.product-slides { overflow: hidden; }
.product-track { display: flex; transition: transform 0.5s ease; }
.product-slide {
  min-width: 100%; padding: 0 12px;
  display: flex; gap: 40px; align-items: center;
}
.product-slide-img {
  flex: 0 0 45%; background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 0; display: flex; align-items: center; justify-content: center;
  min-height: 320px; position: relative; overflow: hidden;
}
.product-slide-img::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at center, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.product-slide-img img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  filter: brightness(0.95) contrast(1.05) saturate(1.05);
  transition: transform var(--transition), filter var(--transition);
}
.product-slide-img img:hover { transform: scale(1.03); filter: brightness(1) contrast(1.08) saturate(1.1); }
.product-slide-info { flex: 1; }
.product-slide-info h3 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.product-slide-info p { color: var(--text-secondary); font-size: 15px; line-height: 1.7; margin-bottom: 24px; }
.product-slide-info .badge { display: inline-block; padding: 4px 12px; border-radius: 4px; background: var(--accent-glow); color: var(--accent); font-size: 11px; font-weight: 600; letter-spacing: 1px; margin-bottom: 16px; text-transform: uppercase; }

.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; }
.carousel-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-secondary); font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.carousel-btn:hover { border-color: var(--accent); color: var(--accent); }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); cursor: pointer; transition: all var(--transition); }
.carousel-dot.active { background: var(--accent); width: 30px; border-radius: 5px; }

/* ---- Applications Grid ---- */
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.app-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; transition: all var(--transition);
  cursor: pointer; position: relative;
}
.app-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.app-card-img { height: 200px; background: var(--bg-tertiary); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.app-card-img svg { width: 80px; height: 80px; color: var(--accent); opacity: 0.8; }
.app-card-body { padding: 24px; }
.app-card-body h3 { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.app-card-subitems { list-style: none; padding: 0; }
.app-card-subitems li { padding: 6px 0; font-size: 13px; color: var(--text-secondary); border-bottom: 1px solid var(--border); }
.app-card-subitems li:last-child { border-bottom: none; }
.app-card-subitems a { color: var(--text-secondary); text-decoration: none; transition: color var(--transition); display: flex; align-items: center; gap: 6px; }
.app-card-subitems a:hover { color: var(--accent); }
.app-card-learn { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--accent); font-size: 13px; font-weight: 600; }

/* ---- Team Section ---- */
.team-section {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch;
  min-height: 400px;
}
.team-img {
  background: var(--bg-tertiary); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.team-img svg { width: 60%; height: auto; opacity: 0.9; }
.team-info { padding: 60px 48px; display: flex; flex-direction: column; justify-content: center; }
.team-info h2 { font-size: 32px; font-weight: 700; margin-bottom: 16px; }
.team-info p { color: var(--text-secondary); font-size: 16px; line-height: 1.7; margin-bottom: 24px; }

/* ---- Blog Section ---- */
.blog-list { display: flex; flex-direction: column; gap: 24px; }
.blog-card {
  display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start;
  padding: 24px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; transition: all var(--transition);
}
.blog-card:hover { border-color: var(--accent); }
.blog-date { font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.blog-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.blog-tag { font-size: 11px; padding: 3px 8px; border-radius: 3px; background: var(--bg-tertiary); color: var(--accent); }
.blog-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.blog-card p { font-size: 14px; color: var(--text-secondary); }
.blog-read { color: var(--accent); font-size: 13px; font-weight: 600; margin-top: 8px; display: inline-block; }

/* ---- Applications & Platforms Interactive ---- */
.ap-interactive {
  background: var(--bg-secondary); border-radius: 16px; padding: 48px;
  border: 1px solid var(--border); position: relative; overflow: hidden;
}
.ap-interactive::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, var(--accent-glow) 0%, transparent 60%);
}
.ap-tabs { display: flex; gap: 0; margin-bottom: 32px; position: relative; z-index: 1; border-bottom: 1px solid var(--border); }
.ap-tab { padding: 12px 24px; font-size: 14px; font-weight: 600; color: var(--text-muted); cursor: pointer; border-bottom: 2px solid transparent; transition: all var(--transition); }
.ap-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.ap-content { position: relative; z-index: 1; }
.ap-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.ap-item {
  padding: 16px 20px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; cursor: pointer; transition: all var(--transition);
  display: flex; flex-direction: column; gap: 6px; min-width: 180px;
}
.ap-item:hover { border-color: var(--accent); background: var(--bg-card-hover); }
.ap-item.active { border-color: var(--accent); background: var(--accent-glow); }
.ap-item-title { font-size: 13px; font-weight: 600; color: var(--text); }
.ap-item-desc { font-size: 12px; color: var(--text-muted); }
.ap-detail { margin-top: 24px; padding: 24px; background: var(--bg-card); border-radius: 8px; border: 1px solid var(--border); }
.ap-detail h4 { font-size: 20px; margin-bottom: 12px; }
.ap-detail p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }
.ap-detail .ap-req { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.ap-req-badge { padding: 4px 12px; background: var(--bg-tertiary); border: 1px solid var(--border); border-radius: 4px; font-size: 12px; color: var(--text-secondary); }

/* ---- Product Table ---- */
.product-table-wrap { overflow-x: auto; margin: 0 -24px; padding: 0 24px; }
.product-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  min-width: 1400px; font-size: 13px;
}
.product-table thead th {
  position: sticky; top: 0; background: var(--bg-secondary);
  padding: 14px 12px; text-align: left; font-weight: 600;
  color: var(--accent); border-bottom: 2px solid var(--border);
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px;
  white-space: nowrap;
}
.product-table tbody tr { transition: background var(--transition); border-bottom: 1px solid var(--border); }
.product-table tbody tr:hover { background: var(--bg-card); }
.product-table tbody td { padding: 14px 12px; color: var(--text-secondary); white-space: nowrap; }
.product-table .prod-name { color: var(--text); font-weight: 600; }
.product-table .prod-name a { color: var(--accent); }
.product-table .prod-img { width: 60px; height: 40px; object-fit: contain; }
.product-table .prod-cat { color: var(--accent); font-size: 12px; }
.product-table .yes { color: #4ade80; }
.product-table .no { color: var(--text-muted); }

/* Category filter */
.cat-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.cat-btn {
  padding: 8px 18px; border-radius: 6px; background: var(--bg-card);
  border: 1px solid var(--border); color: var(--text-secondary);
  font-size: 13px; cursor: pointer; transition: all var(--transition);
}
.cat-btn:hover, .cat-btn.active { border-color: var(--accent); color: var(--accent); background: var(--bg-card-hover); }

/* ---- Open Systems ---- */
.open-systems {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
  padding: 48px; margin-top: 48px;
}
.open-systems h3 { font-size: 24px; margin-bottom: 16px; }
.open-systems p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.open-systems ul { list-style: none; padding: 0; }
.open-systems li { padding: 8px 0; color: var(--text-secondary); display: flex; align-items: center; gap: 10px; }
.open-systems li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---- Capabilities ---- */
.cap-section { margin-bottom: 48px; }
.cap-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
  padding: 32px; transition: all var(--transition);
}
.cap-card:hover { border-color: var(--accent); }
.cap-card h3 { font-size: 22px; margin-bottom: 12px; }
.cap-card .cap-logo { height: 40px; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.cap-card p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.cap-compat { margin-top: 20px; }
.cap-compat h4 { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; }
.cap-compat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cap-compat-item { padding: 8px 12px; background: var(--bg-tertiary); border: 1px solid var(--border); border-radius: 6px; font-size: 12px; color: var(--text-secondary); text-align: center; }
.cap-compat-item.validated { border-color: #4ade80; color: #4ade80; }
.cap-compat-item.requirements { border-color: var(--accent); color: var(--accent); }

/* ---- About ---- */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.stat-card { text-align: center; padding: 32px 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; }
.stat-num { font-size: 36px; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 14px; color: var(--text-secondary); margin-top: 8px; }

.location-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.location-card { padding: 24px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; }
.location-card h4 { font-size: 16px; margin-bottom: 8px; }
.location-card .loc-type { font-size: 12px; color: var(--accent); margin-bottom: 8px; }
.location-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

.consortia-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.consortium-group h4 { font-size: 14px; color: var(--accent); margin-bottom: 12px; text-transform: uppercase; }
.consortium-group ul { list-style: none; padding: 0; }
.consortium-group li { padding: 6px 0; font-size: 13px; color: var(--text-secondary); display: flex; align-items: center; gap: 8px; }
.consortium-group li::before { content: ''; width: 16px; height: 16px; background: var(--accent); border-radius: 3px; flex-shrink: 0; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info-card { padding: 32px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 20px; }
.contact-info-card h3 { font-size: 18px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.contact-info-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }
.contact-form { padding: 32px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; color: var(--text-secondary); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; background: var(--bg-primary);
  border: 1px solid var(--border); border-radius: 6px; color: var(--text);
  font-size: 14px; font-family: var(--font-sans); transition: border var(--transition);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---- Blog Page ---- */
.blog-page-list { display: flex; flex-direction: column; gap: 16px; }
.blog-page-item {
  display: grid; grid-template-columns: 100px 1fr; gap: 20px; align-items: start;
  padding: 20px 24px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; transition: all var(--transition);
}
.blog-page-item:hover { border-color: var(--accent); }
.blog-page-date { font-size: 13px; color: var(--text-muted); text-align: right; }
.blog-page-info h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.blog-page-info .author { font-size: 13px; color: var(--text-muted); }

/* ---- Footer ---- */
.footer { background: var(--bg-primary); border-top: 1px solid var(--border); padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo-link,
.footer-logo .logo-link { margin-bottom: 16px; }
.footer-brand p,
.footer-section p { color: var(--text-secondary); font-size: 14px; margin-top: 0; max-width: 300px; }
.footer-col h4,
.footer-section h4 { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul,
.footer-section ul { list-style: none; padding: 0; }
.footer-col li,
.footer-section li { margin-bottom: 10px; }
.footer-col a,
.footer-section a { color: var(--text-secondary); font-size: 14px; text-decoration: none; transition: color var(--transition); }
.footer-col a:hover,
.footer-section a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.footer-bottom > p { font-size: 13px; color: var(--text-muted); }
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: var(--text-muted); transition: color var(--transition); }
.footer-social a:hover { color: var(--accent); }
.footer-beian { text-align: center; flex-basis: 100%; order: 3; padding-top: 8px; border-top: 1px solid rgba(26, 58, 92, 0.5); }
.footer-beian p { font-size: 12px; color: var(--text-muted); margin: 2px 0; }
.footer-beian a { color: var(--text-muted); text-decoration: none; transition: color var(--transition); }
.footer-beian a:hover { color: var(--accent); }

/* ---- Page Header ---- */
.page-header {
  padding: calc(var(--header-h) + 60px) 0 48px;
  background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-header h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 700; margin-bottom: 12px; }
.page-header p { color: var(--text-secondary); font-size: 16px; max-width: 700px; margin: 0 auto; }

/* ---- Alternating Section ---- */
.alt-section { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 64px; }
.alt-section:nth-child(even) .alt-img { order: 2; }
.alt-img { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 40px; min-height: 224px; display: flex; align-items: center; justify-content: center; }
.alt-img:has(img) { padding: 0; overflow: hidden; }
.alt-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.alt-info h3 { font-size: 24px; margin-bottom: 16px; }
.alt-info p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.alt-info ul { list-style: none; padding: 0; }
.alt-info li { padding: 6px 0; color: var(--text-secondary); display: flex; align-items: center; gap: 10px; }
.alt-info li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---- Anchor Nav ---- */
.anchor-nav {
  position: sticky; top: var(--header-h); z-index: 50;
  background: var(--bg-secondary); border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.anchor-nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; display: flex; gap: 8px; overflow-x: auto; }
.anchor-nav a {
  padding: 8px 16px; border-radius: 6px; font-size: 13px; color: var(--text-secondary);
  white-space: nowrap; transition: all var(--transition);
}
.anchor-nav a:hover, .anchor-nav a.active { color: var(--accent); background: var(--bg-card); }

/* ---- Resources section ---- */
.resource-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.resource-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; transition: all var(--transition);
  display: flex; flex-direction: column;
}
.resource-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.resource-card .res-img { height: 200px; background: var(--bg-tertiary); overflow: hidden; position: relative; }
.resource-card .res-img img { width: 100%; height: 100%; object-fit: cover; }
.resource-card .res-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.resource-card .res-type { font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 8px; font-weight: 600; }
.resource-card h4 { font-size: 15px; margin-bottom: 8px; line-height: 1.4; }
.resource-card p { font-size: 13px; color: var(--text-secondary); flex: 1; }
.resource-card .res-download { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--accent); font-size: 12px; font-weight: 600; }

/* ---- Hero Slider ---- */
.hero-slider { position: relative; height: 520px; overflow: hidden; margin-top: var(--header-h); }
.hero-slider-track { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 1s ease;
  background-size: cover; background-position: center;
  display: flex; align-items: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,21,37,0.88) 0%, rgba(10,21,37,0.75) 50%, rgba(10,21,37,0.55) 100%);
}
.hero-slide-content { position: relative; z-index: 2; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; width: 100%; text-align: center; }
.hero-slide-content h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 800; line-height: 1.2; max-width: 1200px; margin: 0 auto 12px; }
.hero-slide-content .slide-sub { font-size: 16px; color: var(--accent); font-weight: 600; max-width: 900px; margin: 0 auto; }
.hero-slider-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 8px; }
.hero-slider-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; transition: all var(--transition); }
.hero-slider-dot.active { background: var(--accent); width: 30px; border-radius: 5px; }

/* ---- Contact Box ---- */
.contact-box-section { padding: 80px 0; background: var(--bg-secondary); }
.contact-box {
  max-width: 700px; margin: 0 auto; text-align: center;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 48px 40px;
}
.contact-box h2 { font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.contact-box p { color: var(--text-secondary); font-size: 16px; margin-bottom: 32px; }
.contact-box .btn-cta { font-size: 14px; padding: 12px 28px; }

/* ---- Animations ---- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
@keyframes slideIn { from { transform: translateX(-100%); } to { transform: translateX(0); } }

.fade-in { opacity: 0; }
.fade-in.visible { animation: fadeInUp 0.6s ease forwards; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .alt-section { grid-template-columns: 1fr; }
  .alt-section:nth-child(even) .alt-img { order: 0; }
  .stat-row { grid-template-columns: 1fr; }
  .location-grid, .consortia-list,   .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-slider { height: 400px; }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .nav.mobile-open { display: flex; flex-direction: column; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--bg-secondary); padding: 20px; overflow-y: auto; gap: 0; z-index: 9999; }
  .nav.mobile-open > li { width: 100%; border-bottom: 1px solid var(--border); }
  .nav.mobile-open > li > a { height: auto; padding: 16px 0; }
  .mega-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; min-width: auto; }
  .product-slide { flex-direction: column; }
  .product-slide-img { flex: 1 1 100%; min-height: 240px; width: 100%; }
  .product-slide-img img { position: relative; width: 100%; height: 100%; object-fit: cover; }
  .app-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .team-section { grid-template-columns: 1fr; }
  .team-info { padding: 32px 24px; }
  .blog-card { grid-template-columns: 1fr; }
  .open-systems { padding: 24px; }
  .ap-interactive { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .blog-page-item { grid-template-columns: 1fr; }
  .blog-page-date { text-align: left; }
  .resource-grid { grid-template-columns: 1fr; }
  .hero-slider { height: 320px; }
  .hero-slide-content h2 { font-size: 24px; }
  .contact-box { padding: 32px 20px; }
}

/* ============ SCENARIO GRID & CARDS ============ */
.scenario-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-top: 40px; }
.scenario-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 28px; transition: all var(--transition); }
.scenario-card:hover { background: var(--bg-card-hover); border-color: var(--accent-dark); transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0, 212, 255, 0.1); }
.scenario-card h3 { font-size: 18px; color: var(--text); margin-bottom: 12px; }
.scenario-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.scenario-link { display: inline-block; color: var(--accent); font-size: 14px; font-weight: 500; text-decoration: none; transition: all var(--transition); }
.scenario-link:hover { color: var(--text); transform: translateX(4px); }

/* ============ SCENARIO DETAIL PAGE ============ */
.scenario-detail { padding: 120px 0 80px; min-height: 80vh; }
.scenario-container { max-width: 900px; margin: 0 auto; padding: 40px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.3); }
.scenario-title { font-size: 28px; color: var(--text); margin-bottom: 20px; line-height: 1.4; }
.scenario-meta { color: var(--text-secondary); font-size: 14px; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.scenario-content { font-size: 16px; line-height: 1.8; color: var(--text-secondary); }
.scenario-content p { margin-bottom: 20px; }
.scenario-content h3 { color: var(--accent); margin-top: 30px; margin-bottom: 15px; font-size: 20px; }
.capability-list { background: var(--bg-tertiary); padding: 20px; border-radius: 8px; list-style: none; margin: 20px 0; }
.capability-list li { padding: 8px 0 8px 30px; position: relative; line-height: 1.7; color: var(--text); }
.capability-list li::before { content: "\2713"; color: var(--accent); font-weight: bold; font-size: 16px; position: absolute; left: 0; top: 8px; }
.application-tags { margin-top: 20px; padding: 15px 20px; background: var(--accent-glow); border-radius: 8px; color: var(--text); font-size: 15px; line-height: 1.8; }
.application-tags strong { color: var(--accent); }
.back-link { display: inline-block; margin-top: 30px; color: var(--accent); text-decoration: none; font-weight: 500; }
.back-link:hover { text-decoration: underline; }
@media (max-width: 768px) { .scenario-container { padding: 20px; } }
