/* ========== Reset & Base ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }

:root {
  --primary: #0b1a30;
  --primary-light: #112240;
  --accent: #1e90ff;
  --accent-glow: #4db8ff;
  --accent-dark: #0066cc;
  --accent-teal: #00c9db;
  --gold: #e6b422;
  --text: #e8edf5;
  --text-muted: #a8b8cc;
  --text-dim: #8497ae;
  --bg-dark: #070f1e;
  --bg-card: rgba(15, 30, 55, 0.88);
  --bg-card-hover: rgba(20, 40, 75, 0.92);
  --border: rgba(30, 144, 255, 0.18);
  --border-glow: rgba(30, 144, 255, 0.45);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 35px rgba(30, 144, 255, 0.12);
  --font: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --font-mono: 'Cascadia Code', 'Fira Code', 'Consolas', monospace;
  --gradient-hero: linear-gradient(135deg, #0b1a30 0%, #0d2847 30%, #0a1628 60%, #0f2a4a 100%);
}

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 88px; }
body {
  font-family: var(--font);
  font-size: 16px;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
small { font-size: .875rem; }
body.modal-open { overflow: hidden; }
small { font-size: .875rem; }

/* ===== 动态渐变背景 ===== */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 15% 15%, rgba(30, 144, 255, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 40%, rgba(0, 201, 219, 0.05) 0%, transparent 55%),
    radial-gradient(ellipse at 40% 80%, rgba(30, 144, 255, 0.05) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 85%, rgba(230, 180, 34, 0.03) 0%, transparent 50%);
  animation: bgShift 20s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: -2;
}
@keyframes bgShift {
  0% { opacity: 0.8; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

body::after {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(30, 144, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 144, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: -1;
}

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-glow); }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1300px; margin: 0 auto; padding: 0 28px; }
.section { padding: 100px 0; position: relative; }

/* ========== Typography ========== */
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #e8edf5 0%, var(--accent) 45%, var(--accent-teal) 75%, #e8edf5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.08rem;
  margin-bottom: 64px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== Navigation ========== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(7, 15, 30, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}
.nav-logo img { width: 34px; height: 34px; border-radius: 6px; }
.nav-logo .logo-accent { color: var(--accent); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; }
.nav-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-toggle {
  font-size: 14px;
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(17, 34, 64, 0.88);
  cursor: pointer;
}
.section-kicker-centered { text-align: center; }
.nav-toggle span { width: 20px; height: 2px; border-radius: 2px; background: var(--text); transition: var(--transition); }
.inquiry-close { font-size: 1.25rem; }
.nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 26px;
  border-radius: 50px;
  font-size: 0.93rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #0066dd);
  color: #fff;
  box-shadow: 0 4px 20px rgba(30, 144, 255, 0.3);
}
.btn-primary:hover { box-shadow: 0 6px 30px rgba(30, 144, 255, 0.5); transform: translateY(-2px); color: #fff; }
.btn-outline {
  background: transparent;
  border: 1px solid var(--border-glow);
  color: var(--accent-glow);
}
.btn-outline:hover { background: rgba(30, 144, 255, 0.1); border-color: var(--accent); color: #fff; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #c7940a);
  color: #fff;
  box-shadow: 0 4px 20px rgba(230, 180, 34, 0.25);
}
.btn-gold:hover { box-shadow: 0 6px 30px rgba(230, 180, 34, 0.45); transform: translateY(-2px); color: #fff; }
.btn-sm { padding: 7px 18px; font-size: .875rem; }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* ========== Hero ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 130px 0 90px;
  overflow: hidden;
}
.hero-bg-effect {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-bg-effect.top-right {
  top: -180px; right: -120px;
  width: 650px; height: 650px;
  background: radial-gradient(circle, rgba(30,144,255,0.1) 0%, rgba(0,201,219,0.05) 40%, transparent 70%);
}
.hero-bg-effect.bottom-left {
  bottom: -80px; left: -80px;
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(230,180,34,0.06) 0%, transparent 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, .88fr);
  align-items: center;
  gap: clamp(44px, 6vw, 88px);
}
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 22px;
  border-radius: 50px;
  background: rgba(30, 144, 255, 0.1);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--accent-glow);
  margin-bottom: 36px;
  letter-spacing: 0.5px;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1} 50%{opacity:0.25} }
.hero h1 {
  font-size: clamp(2.4rem, 4.3vw, 3.5rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent), var(--accent-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.05rem;
  color: var(--accent-teal);
  font-weight: 500;
  margin-bottom: 28px;
  letter-spacing: 1px;
}
.hero-desc {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.95;
  margin-bottom: 40px;
  max-width: 700px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 52px;
  margin-top: 68px;
  padding-top: 44px;
  border-top: 1px solid var(--border);
}
.hero-stat h3 {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-mono);
}
.hero-stat p { color: var(--text-muted); font-size: 0.88rem; margin-top: 4px; }
.hero-visual {
  position: relative;
  z-index: 2;
  padding: 12px;
  border-radius: 22px;
  border: 1px solid rgba(77, 184, 255, .35);
  background: linear-gradient(145deg, rgba(16, 35, 65, .96), rgba(8, 20, 38, .96));
  box-shadow: 0 30px 90px rgba(0, 0, 0, .5), 0 0 70px rgba(30, 144, 255, .12);
  cursor: zoom-in;
}
.hero-product-line { white-space: nowrap; }
.hero-visual::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(77,184,255,.8), transparent 36%, rgba(0,201,219,.55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.hero-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  background: #07101e;
}
.hero-visual-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 4px 11px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: .875rem;
  letter-spacing: .08em;
}
.live-dot { color: #65e3ef; }
.live-dot::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #24d8a7; box-shadow: 0 0 10px #24d8a7; }
.hero-visual-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 4px 2px; }
.hero-visual-tags span { padding: 5px 9px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-muted); font-size: .875rem; }

/* ========== Slogan Banner ========== */
.slogan-banner {
  padding: 50px 0;
  background: linear-gradient(135deg, rgba(30,144,255,0.06) 0%, rgba(0,201,219,0.04) 50%, rgba(30,144,255,0.06) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.slogan-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 300px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-teal), transparent);
}
.slogan-main {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
  line-height: 2;
  letter-spacing: 1px;
}
.slogan-main .s-accent { color: var(--accent-glow); }
.slogan-sub {
  font-size: 1.05rem;
  color: var(--accent-teal);
  margin-top: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ========== Features Grid ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 26px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px 34px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-teal), transparent);
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.feature-card:hover::before { opacity: 1; }
.feature-index { display: block; margin-bottom: 18px; color: var(--accent-teal); font-family: var(--font-mono); font-size: .875rem; font-weight: 700; letter-spacing: .08em; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 12px; color: var(--text); font-weight: 700; }
.feature-card p { color: var(--text-muted); font-size: 1rem; line-height: 1.85; }
.features-grid > .feature-card > .feature-index { display: inline-block; margin: 0 12px 12px 0; vertical-align: baseline; }
.features-grid > .feature-card > h3 { display: inline-block; }

/* ========== Products & Services ========== */
.services-section { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #081b2c; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.service-card { display: flex; min-height: 480px; padding: 34px 30px; flex-direction: column; border: 1px solid #1b4463; border-radius: 16px; background: #0d2439; box-shadow: 0 16px 40px rgba(0, 8, 18, .22); }
.service-card-featured { border-color: rgba(99, 199, 255, .55); box-shadow: inset 0 3px 0 var(--accent), 0 18px 46px rgba(0, 8, 18, .28); }
.service-index { margin-bottom: 24px; color: #63c7ff; font-family: var(--font-mono); font-size: .875rem; font-weight: 700; letter-spacing: .08em; }
.service-card h3 { margin-bottom: 14px; color: #f7fbff; font-size: 1.4rem; }
.service-card > p { color: #b9c9d9; font-size: 1rem; line-height: 1.85; }
.service-card ul { margin: 24px 0 30px; padding: 22px 0 0; border-top: 1px solid #1b4463; list-style: none; }
.service-card li { position: relative; margin-bottom: 12px; padding-left: 20px; color: #a8bcd0; line-height: 1.7; }
.service-card li::before { position: absolute; left: 0; color: var(--accent-teal); content: '—'; }
.service-actions { display: flex; margin-top: auto; gap: 10px; flex-wrap: wrap; }

/* ========== Tech Items ========== */
.tech-list { display: flex; flex-direction: column; gap: 20px; }
.tech-item {
  display: flex;
  gap: 22px;
  padding: 26px 30px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.tech-item:hover { border-color: var(--border-glow); background: var(--bg-card-hover); box-shadow: var(--shadow-glow); }
.tech-num {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #0055cc);
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  font-family: var(--font-mono);
}
.tech-info h4 { font-size: 1.05rem; margin-bottom: 8px; font-weight: 700; }
.tech-info p { color: var(--text-muted); font-size: 0.91rem; line-height: 1.8; }

/* ========== Gallery ========== */
.gallery-section-header {
  font-size: 1.25rem;
  margin: 48px 0 22px;
  color: var(--accent-glow);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.gallery-section-header::before {
  content: '';
  width: 4px; height: 24px;
  background: linear-gradient(180deg, var(--accent), var(--accent-teal));
  border-radius: 2px;
}
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 24px; }
.gallery-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.gallery-item:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.gallery-img-wrap {
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: #fff;
  position: relative;
  padding: 12px;
  box-shadow: inset 0 0 0 1px rgba(24, 65, 105, .09);
}
.gallery-img-wrap img,
.gallery-img-wrap video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}
.media-ui .gallery-img-wrap,
.media-animation .gallery-img-wrap { aspect-ratio: 16/9; padding: 9px; }
.media-ultrawide { grid-column: 1 / -1; }
.media-ultrawide .gallery-img-wrap { aspect-ratio: 3/1; padding: 14px 18px; }
.gallery-caption { padding: 17px 22px; border-top: 1px solid rgba(17,94,170,.1); }
.gallery-caption h4 { font-size: 0.96rem; margin-bottom: 4px; font-weight: 600; }
.gallery-caption p { font-size: .875rem; color: var(--text-dim); }
.gallery-stage { display: flex; margin: 50px 0 20px; align-items: flex-start; gap: 16px; }
.gallery-stage > span { color: #63c7ff; font-family: var(--font-mono); font-size: 1rem; font-weight: 800; }
.gallery-stage strong { display: block; margin-bottom: 3px; color: #eef8ff; font-size: 1.2rem; }
.gallery-stage p { color: #9fb3c7; }
.gallery-img-wrap-light { background: #eef3f7 !important; }
.deliverables-strip { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 24px; border: 1px solid #1b4463; border-radius: 12px; overflow: hidden; }
.deliverables-strip span { padding: 15px 10px; border-right: 1px solid #1b4463; background: #0a2034; color: #b9d8ec; text-align: center; }
.deliverables-strip span:last-child { border-right: 0; }

/* ========== Download Table ========== */
.download-section { max-width: 960px; margin: 0 auto; }
.download-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.download-table thead { background: var(--primary-light); }
.download-table th {
  padding: 16px 24px;
  text-align: left;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--accent-glow);
  border-bottom: 2px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.download-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
}
.download-table tbody tr { background: var(--bg-card); transition: var(--transition); }
.download-table tbody tr:hover { background: var(--bg-card-hover); }
.download-table tbody tr:last-child td { border-bottom: none; }
.download-table .col-file { width: 50%; }
.download-table .col-desc { width: 50%; color: var(--text-muted); }
.download-placeholder { color: var(--text-dim); font-style: italic; }
.download-meta { display: block; margin-top: 5px; color: var(--text-dim); font-size: .875rem; font-weight: 400; }

/* ========== Auth Pages ========== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 24px 60px;
}
.auth-card {
  width: 100%;
  max-width: 480px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 42px;
  box-shadow: var(--shadow);
}
.auth-card h2 {
  font-size: 1.65rem;
  text-align: center;
  margin-bottom: 6px;
  font-weight: 700;
}
.auth-card .subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 34px;
  font-size: 0.9rem;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-muted);
}
.form-group label .required { color: #f87171; margin-left: 2px; }
.form-input, .form-select {
  width: 100%;
  padding: 13px 16px;
  background: var(--primary-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.94rem;
  font-family: var(--font);
  transition: var(--transition);
  outline: none;
}
.form-input:focus, .form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(30,144,255,0.12); }
.form-input::placeholder { color: var(--text-dim); }
.form-select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238899b4' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-select option { background: var(--primary-light); color: var(--text); }
.form-row { display: flex; gap: 14px; }
.form-row .form-group { flex: 1; }
.form-hint { font-size: .875rem; color: var(--text-dim); margin-top: 6px; }
.form-error { color: #f87171; font-size: .875rem; margin-top: 6px; display: none; }
.form-error.show { display: block; }
.form-success { color: #4ade80; font-size: .875rem; margin-top: 6px; display: none; }
.form-success.show { display: block; }
.auth-footer { text-align: center; margin-top: 26px; color: var(--text-muted); font-size: 0.9rem; }
.auth-footer a { font-weight: 600; }
.auth-footer-secondary { margin-top: 10px; font-size: .875rem; }
.consent-row { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; margin: 8px 0 20px; color: var(--text-muted); font-size: .875rem; line-height: 1.7; }
.consent-row input { width: 16px; height: 16px; margin-top: 4px; accent-color: var(--accent); }

/* ========== Dashboard ========== */
.dashboard-page { padding: 110px 0 60px; }
.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 42px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--border);
}
.dashboard-header h1 { font-size: 1.85rem; font-weight: 700; }
.user-info { color: var(--text-muted); font-size: 0.9rem; }
.dashboard-tabs { display: flex; gap: 2px; margin-bottom: 34px; border-bottom: 1px solid var(--border); }
.dashboard-tab {
  padding: 13px 26px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 600;
  font-family: var(--font);
  transition: var(--transition);
  position: relative;
}
.dashboard-tab.active { color: var(--accent-glow); }
.dashboard-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-teal));
  border-radius: 2px 2px 0 0;
}
.dashboard-tab:hover { color: var(--text); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* Messages */
.message-list { display: flex; flex-direction: column; gap: 14px; }
.message-item {
  padding: 22px 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.message-item.is-staff { border-color: rgba(0, 201, 219, .34); background: linear-gradient(135deg, rgba(0, 201, 219, .06), var(--bg-card)); }
.staff-badge { display: inline-flex; margin-left: 8px; padding: 2px 8px; border-radius: 99px; color: #9ff6fd; background: rgba(0, 201, 219, .12); font-size: .875rem; font-weight: 700; }
.message-header { display: flex; justify-content: space-between; margin-bottom: 10px; }
.message-author { font-weight: 700; font-size: 0.95rem; }
.message-time { font-size: .875rem; color: var(--text-dim); }
.message-body { color: var(--text-muted); line-height: 1.7; font-size: 0.93rem; }
.message-input { display: flex; gap: 12px; margin-bottom: 26px; }
.message-input textarea {
  flex: 1;
  padding: 14px 18px;
  background: var(--primary-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.93rem;
  font-family: var(--font);
  resize: vertical;
  min-height: 90px;
  outline: none;
  transition: var(--transition);
}
.message-input textarea:focus { border-color: var(--accent); }

/* File list */
.file-list { display: flex; flex-direction: column; gap: 12px; }
.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.file-item:hover { border-color: var(--border-glow); }
.file-info h4 { font-size: 0.93rem; margin-bottom: 4px; font-weight: 600; }
.file-info p { font-size: .875rem; color: var(--text-dim); }
.file-actions { display: flex; gap: 8px; }
.status-badge { display: inline-flex; align-items: center; margin-top: 6px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-muted); font-size: .875rem; }
.status-pending { color: #fcd34d; border-color: rgba(252,211,77,.32); background: rgba(252,211,77,.06); }
.status-reviewing { color: #7dd3fc; border-color: rgba(125,211,252,.32); background: rgba(125,211,252,.06); }
.status-approved { color: #6ee7b7; border-color: rgba(110,231,183,.32); background: rgba(110,231,183,.06); }
.status-rejected { color: #fca5a5; border-color: rgba(252,165,165,.32); background: rgba(252,165,165,.06); }

.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 50px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 26px;
}
.upload-zone:hover, .upload-zone.dragover { border-color: var(--accent); background: rgba(30,144,255,0.04); }
.upload-zone .icon { font-size: 2.6rem; margin-bottom: 14px; }
.upload-zone p { color: var(--text-muted); font-size: 0.9rem; }

/* ========== Admin ========== */
.admin-page { padding: 110px 0 60px; }
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 22px;
  margin-bottom: 44px;
}
.admin-stat {
  padding: 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.admin-stat h3 { font-size: 2.2rem; background: linear-gradient(135deg, var(--accent), var(--accent-teal)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-family: var(--font-mono); font-weight: 800; }
.admin-stat p { color: var(--text-muted); font-size: .875rem; margin-top: 4px; }
.admin-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 36px;
}
.admin-table th, .admin-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.admin-table th { background: var(--primary-light); color: var(--accent-glow); font-weight: 700; }
.admin-table td { background: var(--bg-card); }
.admin-table tbody tr:hover td { background: var(--bg-card-hover); }
.admin-file-actions { display: flex; align-items: center; gap: 8px; min-width: 230px; }
.admin-status-select { width: 112px; padding: 8px 30px 8px 10px; font-size: .875rem; }
.download-admin-filters { display: grid; grid-template-columns: 180px minmax(220px, 1fr) 180px auto auto; gap: 12px; margin-bottom: 16px; align-items: end; }
.download-admin-filters .form-group { margin: 0; }
.download-admin-summary { display: flex; margin-bottom: 16px; gap: 10px; flex-wrap: wrap; }
.download-admin-summary span { padding: 9px 13px; border: 1px solid var(--border); border-radius: 999px; background: rgba(30, 144, 255, .06); color: var(--text-muted); }
.download-admin-summary strong { color: var(--accent-glow); }
.download-times { min-width: 190px; line-height: 1.75; }
.admin-pagination { display: flex; margin: 18px 0 38px; align-items: center; justify-content: flex-end; gap: 12px; color: var(--text-muted); }

/* ========== Contact / QR ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
  align-items: center;
}
.contact-info h3 { font-size: 1.25rem; margin-bottom: 16px; font-weight: 700; }
.contact-info p { color: var(--text-muted); font-size: 0.93rem; line-height: 2.2; }
.contact-info .contact-email { color: var(--accent-glow); font-weight: 600; }
.contact-qr {
  text-align: center;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.contact-qr img { width: 180px; height: 180px; margin: 0 auto 12px; border-radius: var(--radius-sm); }
.contact-qr p { color: var(--text-muted); font-size: .875rem; }

/* ========== Footer ========== */
.footer {
  background: rgba(7, 15, 30, 0.95);
  border-top: 1px solid var(--border);
  padding: 60px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 44px;
  margin-bottom: 44px;
}
.footer-col h4 { font-size: 1rem; margin-bottom: 20px; color: var(--text); font-weight: 700; }
.footer-col p, .footer-col a { color: var(--text-muted); font-size: 0.89rem; line-height: 2.3; display: block; }
.footer-col a:hover { color: var(--accent-glow); }
.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-dim);
  font-size: .875rem;
}
.footer-bottom a { color: var(--text-muted); }

/* ========== Lightbox ========== */
.lightbox {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox img, .lightbox video {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: var(--radius);
  box-shadow: 0 0 80px rgba(30, 144, 255, 0.2);
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* ========== Disclaimer ========== */
.disclaimer-box {
  background: rgba(230, 180, 34, 0.05);
  border: 1px solid rgba(230, 180, 34, 0.22);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-top: 44px;
}
.disclaimer-box h4 { color: var(--gold); margin-bottom: 10px; font-size: 0.96rem; font-weight: 700; }
.disclaimer-box p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.9; }

/* ========== Legal ========== */
.legal-page { padding-top: 132px; }
.legal-container { max-width: 920px; }
.eyebrow { color: var(--accent-teal); font-family: var(--font-mono); font-size: .875rem; letter-spacing: .14em; }
.legal-container > h1 { margin: 8px 0 14px; font-size: clamp(2rem, 5vw, 3.3rem); }
.legal-lead { margin-bottom: 34px; color: var(--text-muted); font-size: 1rem; }
.legal-card { margin-bottom: 14px; padding: 24px 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); }
.legal-card h2 { margin-bottom: 8px; font-size: 1.02rem; color: var(--accent-glow); }
.legal-card p { color: var(--text-muted); font-size: .92rem; line-height: 1.9; }
.legal-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.compact-footer { padding-top: 20px; }
.site-legal-footer { margin-top: auto; padding: 18px 0 12px; background: #061421; }
.site-legal-footer .footer-bottom { padding-top: 10px; }

/* ========== Toast ========== */
.toast-container {
  position: fixed;
  top: 24px; right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  animation: slideIn 0.3s ease;
  min-width: 280px;
  box-shadow: var(--shadow);
}
.toast-success { background: #065f46; border: 1px solid #10b981; color: #d1fae5; }
.toast-error { background: #7f1d1d; border: 1px solid #ef4444; color: #fee2e2; }
.toast-info { background: #1e3a5f; border: 1px solid #3b82f6; color: #dbeafe; }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ========== Portal account overview ========== */
.portal-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 26px; }
.portal-card { padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: rgba(15,31,55,.72); }
.portal-card small { color: var(--text-dim); }
.portal-card h3 { margin: 8px 0; color: var(--accent-glow); }
.portal-card ul { margin: 12px 0 0; padding-left: 18px; line-height: 1.9; color: var(--text-muted); }
.application-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

/* Account authorization, private feedback and administration */
.portal-form { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: rgba(15,31,55,.72); }
.portal-form h3, .admin-module h2 { margin-bottom: 20px; }
.authorization-guide { margin-bottom: 28px; }
.authorization-guide p, .license-vault > p, .muted-copy { color: var(--text-muted); line-height: 1.75; }
.license-vault { margin-top: 28px; }
.record-stack { display: flex; flex-direction: column; gap: 16px; }
.record-card { padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-card); }
.record-card > p { color: var(--text-muted); line-height: 1.7; margin: 10px 0; }
.record-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.record-head strong { display: block; font-size: 1rem; }
.record-head span { display: inline-block; margin-top: 7px; color: var(--accent-glow); font-size: .875rem; }
.record-head time, .timeline-item time { color: var(--text-dim); font-size: .875rem; }
.record-meta { font-size: .875rem; }
.record-links { margin: 12px 0; display: flex; flex-wrap: wrap; gap: 10px; color: var(--text-muted); }
.record-links a { color: var(--accent-glow); }
.timeline { margin: 16px 0; padding-left: 15px; border-left: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; }
.timeline-item { padding: 12px 14px; border-radius: 6px; background: rgba(255,255,255,.025); }
.timeline-item.is-admin { background: rgba(0,201,219,.07); }
.timeline-item b { font-size: .875rem; color: var(--accent-glow); }
.timeline-item p { color: var(--text-muted); line-height: 1.65; margin: 5px 0; white-space: pre-wrap; }
.application-reply, .feedback-reply, .admin-app-reply, .feedback-admin-reply { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.application-reply textarea, .feedback-reply textarea, .admin-app-reply input, .feedback-admin-reply input { flex: 1; min-width: 220px; }
.application-reply input[type="file"] { flex-basis: 100%; }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.settings-column { display: flex; flex-direction: column; gap: 22px; }
.form-action-align { display: flex; align-items: flex-end; }
.admin-login-card { margin: 40px auto; max-width: 440px; }
.admin-module-nav { position: sticky; top: 72px; z-index: 20; display: flex; gap: 8px; overflow-x: auto; padding: 12px; margin-bottom: 28px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: rgba(7,20,36,.94); }
.admin-module-nav a { white-space: nowrap; padding: 8px 12px; border-radius: 5px; color: var(--text-muted); font-size: .875rem; }
.admin-module-nav a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.admin-module { scroll-margin-top: 150px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.analytics-range { width: 140px; }
.analytics-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.metric-row { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--border); color: var(--text-muted); }
.metric-row b { color: var(--text); text-align: right; }
.module-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.filter-row .form-input, .filter-row .form-select { width: auto; min-width: 150px; }
.admin-table-wrap { overflow-x: auto; }
.admin-action-grid { display: grid; grid-template-columns: 150px 1fr auto; gap: 10px; margin-top: 14px; }
.feedback-admin-reply .form-select { width: 160px; }
.narrow-form { max-width: 560px; }
.application-service-grid { grid-template-columns: repeat(2,1fr); }
.center-actions { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.operation-guide { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.operation-guide article { padding: 18px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-card); }
.operation-guide strong { color: var(--accent-glow); }
.operation-guide p { margin-top: 8px; color: var(--text-muted); line-height: 1.7; }

@media (max-width: 880px) {
  .application-grid, .settings-grid, .analytics-grid, .application-service-grid { grid-template-columns: 1fr; }
  .module-heading { display: block; }
  .filter-row { margin-top: 14px; }
  .admin-action-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .dashboard-tabs { overflow-x: auto; }
  .dashboard-tab { white-space: nowrap; }
  .portal-summary { grid-template-columns: 1fr; }
  .record-head { display: block; }
  .record-head time { display: block; margin-top: 8px; }
  .application-reply, .feedback-reply, .admin-app-reply, .feedback-admin-reply { display: grid; grid-template-columns: 1fr; }
  .operation-guide { grid-template-columns: 1fr; }
  .center-actions { flex-direction: column; }
}
.security-note { padding: 14px 16px; border-left: 3px solid var(--accent); background: rgba(30,144,255,.08); color: var(--text-muted); font-size: .88rem; }
.honeypot-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
/* ========== Home ink-blue theme ========== */
.home-page {
  --text: #f7fbff;
  --text-muted: #b7c7d8;
  --text-dim: #8299af;
  --bg-dark: #061421;
  --bg-card: #0d2439;
  --bg-card-hover: #102b44;
  --border: #1b4463;
  --border-glow: rgba(99, 199, 255, .55);
  --shadow: 0 18px 46px rgba(0, 7, 16, .3);
  --shadow-glow: 0 18px 44px rgba(0, 14, 28, .4);
  background: #061421;
}
.home-page::before { background: radial-gradient(circle at 18% 10%, rgba(99,199,255,.045), transparent 34%), radial-gradient(circle at 84% 48%, rgba(87,216,220,.025), transparent 28%); animation: none; }
.home-page::after { background-image: linear-gradient(rgba(99,199,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(99,199,255,.018) 1px, transparent 1px); }
.home-page .nav, .home-page .hero, .home-page .footer {
  --text: #f7fbff;
  --text-muted: #b8c8d9;
  --text-dim: #8ea4b9;
  --bg-card: rgba(14, 31, 55, .9);
  --bg-card-hover: rgba(20, 42, 72, .94);
  --border: rgba(77,184,255,.21);
  --border-glow: rgba(77,184,255,.52);
  --primary-light: #112743;
}
.home-page .hero {
  min-height: 92vh;
  background:
    radial-gradient(ellipse at 84% 26%, rgba(45, 180, 218, .12), transparent 30%),
    linear-gradient(118deg, #061523 0%, #08253b 58%, #0a3652 100%);
}
.home-page .hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-radial-gradient(ellipse at 90% 55%, transparent 0 38px, rgba(106, 211, 230, .06) 39px 40px),
    linear-gradient(90deg, rgba(5, 18, 30, .7), transparent 64%);
  pointer-events: none;
}
.home-page .hero-bg-effect.top-right { background: radial-gradient(circle, rgba(81,205,229,.08) 0%, transparent 70%); }
.home-page .hero-bg-effect.bottom-left { background: radial-gradient(circle, rgba(99,199,255,.025) 0%, transparent 70%); }
.home-page .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(430px, .95fr); gap: clamp(46px, 5.5vw, 82px); }
.home-page .hero-content { z-index: 2; max-width: 720px; }
.home-page .hero h1 { display: flex; flex-direction: column; margin-bottom: 0; color: #f7fbff; text-shadow: 0 2px 16px rgba(0,0,0,.18); }
.hero-brand { display: block; font-size: clamp(4.6rem, 8.2vw, 7.7rem); font-weight: 800; line-height: .85; letter-spacing: -.065em; background: linear-gradient(105deg, #ffffff 0%, #d8f3ff 48%, #70dbe2 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-fullname { display: block; margin-top: 26px; color: #9adcf7; font-family: var(--font-mono); font-size: clamp(.875rem, 1.24vw, 1.08rem); font-weight: 600; line-height: 1.5; letter-spacing: .055em; }
.hero-category { display: block; margin-top: 7px; color: #f4f9fc; font-size: clamp(1.65rem, 2.55vw, 2.35rem); font-weight: 650; line-height: 1.35; letter-spacing: .04em; }
.hero-slogan { display: flex; align-items: baseline; gap: 16px; margin: 29px 0 18px; padding-left: 17px; border-left: 2px solid #5ddce2; }
.hero-slogan strong { color: #eefaff; font-size: 1.12rem; font-weight: 650; letter-spacing: .02em; }
.hero-slogan span { color: #77d8df; font-size: .98rem; }
.home-page .hero-desc { max-width: 690px; margin-bottom: 22px; color: #b8c9d7; font-size: 1rem; line-height: 1.9; }
.home-page .hero-actions { margin-top: 28px; }
.home-page .hero .btn { min-height: 46px; padding: 10px 24px; border-radius: 8px; }
.home-page .hero-visual { z-index: 2; padding: 10px; border-radius: 15px; border-color: rgba(109, 204, 237, .24); background: rgba(7, 25, 42, .82); box-shadow: 0 26px 70px rgba(0, 8, 19, .42); }
.home-page .hero-visual::before { opacity: .45; }
.home-page .hero-visual-topline { padding: 3px 4px 10px; color: #7896ab; }
.home-page .hero-visual-topline span:last-child { color: #69d7df; }
.home-page .nav.scrolled { background: rgba(7,27,49,.96); border-bottom-color: rgba(99,199,255,.16); }
.home-page .nav-links a { color: #a9bad0; }
.home-page .nav-links a:hover, .home-page .nav-links a.active { color: #fff; }
.home-page .section { background: #061421; }
.home-page #tech, .home-page #scenarios { background: #081b2c !important; }
.home-page #gallery, .home-page #editions { background: #061421; }
.home-page .section-title { background: linear-gradient(135deg, #f7fbff 0%, #b9e8ff 58%, #63c7ff 100%); -webkit-background-clip: text; background-clip: text; }
.home-page .section-subtitle { color: #9fb3c7; }
.home-page .feature-card, .home-page .tech-item, .home-page .gallery-item, .home-page .scenario-card { background: #0d2439; border-color: #1b4463; box-shadow: 0 14px 34px rgba(0, 8, 18, .22); }
.home-page .gallery-img-wrap, .home-page .gallery-img-wrap img, .home-page .gallery-img-wrap video { background: #fff; }
.home-page .gallery-img-wrap { padding: 14px; box-shadow: inset 0 0 0 1px rgba(27,68,99,.18); }
.home-page .gallery-section-header { color: #8fd9ff; }
.home-page .gallery-caption { border-top-color: #1b4463; }
.home-page .btn-outline { color: #8fd9ff; }
.home-page .hero .btn-outline, .home-page .footer .btn-outline { color: #76c8ff; }

.hero-audiences { display: flex; flex-wrap: wrap; gap: 9px; margin: 22px 0 4px; }
.hero-audiences span { position: relative; padding: 0 15px 0 13px; border: 0; border-radius: 0; background: none; color: #bdd4e2; font-size: .875rem; }
.hero-audiences span::before { content: ''; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: #61d5df; transform: translateY(-50%); }

.process-section { position: relative; padding: 68px 0 74px; overflow: hidden; background: #081b2c; border-top: 1px solid rgba(99,199,255,.13); border-bottom: 1px solid #1b4463; }
.process-section::after { content: ''; position: absolute; right: -12%; bottom: -90%; width: 52%; height: 180%; border-radius: 50%; border: 1px solid rgba(89,211,220,.08); box-shadow: 0 0 0 44px rgba(89,211,220,.025), 0 0 0 88px rgba(89,211,220,.018); pointer-events: none; }
.process-heading { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: end; margin-bottom: 46px; }
.process-heading .section-kicker { margin-bottom: 8px; color: #69d7df; font-family: var(--font-mono); font-size: .875rem; font-weight: 700; letter-spacing: .16em; }
.process-heading h2 { color: #f4f9fc; font-size: clamp(1.8rem, 3vw, 2.65rem); line-height: 1.3; }
.process-heading > p { max-width: 580px; color: #9fb5c6; line-height: 1.9; }
.process-track { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; counter-reset: none; }
.process-track::before { content: ''; position: absolute; top: 25px; left: 4%; right: 4%; height: 1px; background: linear-gradient(90deg, #5fcee8, #5cdae0 72%, rgba(230,180,34,.7)); }
.process-track li { position: relative; min-width: 0; padding: 0 24px; border-right: 1px solid rgba(99,199,255,.13); }
.process-track li:first-child { padding-left: 0; }
.process-track li:last-child { padding-right: 0; border-right: 0; }
.process-track li > span { position: relative; z-index: 1; display: inline-flex; width: 50px; height: 50px; align-items: center; justify-content: center; margin-bottom: 20px; border: 1px solid #3f8dad; border-radius: 50%; background: #081b2c; color: #75dcec; font-family: var(--font-mono); font-size: .875rem; font-weight: 700; }
.process-track li:last-child > span { border-color: rgba(230,180,34,.68); color: #eccd68; }
.process-track strong { display: block; margin-bottom: 8px; color: #eef8fc; font-size: 1rem; }
.process-track p { color: #8fa8ba; font-size: .875rem; line-height: 1.75; }
.process-related-links { position: relative; z-index: 1; margin-top: 28px; color: #9fb5c6; line-height: 1.8; }
.process-related-links a { color: #75dcec; text-decoration: underline; text-underline-offset: 3px; }
.process-related-links a:hover, .process-related-links a:focus-visible { color: #f4f9fc; }

.capability-flow { padding: 34px 0; background: #081b2c; border-bottom: 1px solid #1b4463; box-shadow: none; }
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.flow-grid > div { position: relative; display: grid; grid-template-columns: 38px 1fr; column-gap: 12px; padding: 10px 28px; border-right: 1px solid #1b4463; }
.flow-grid > div:last-child { border-right: 0; }
.flow-grid span { grid-row: 1 / 3; color: #63c7ff; font-family: var(--font-mono); font-weight: 800; font-size: 1.05rem; }
.flow-grid strong { color: #f7fbff; font-size: .92rem; }
.flow-grid small { color: #8299af; line-height: 1.5; }

.feature-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.feature-meta span { padding: 4px 9px; border-radius: 999px; background: rgba(99,199,255,.08); color: #8fd9ff; font-size: .875rem; font-weight: 600; }
.tech-proof { margin-top: 14px; padding-top: 12px; border-top: 1px dashed #1b4463; color: #8fd9ff; font-size: .875rem; font-weight: 600; letter-spacing: .01em; }
.scenario-card { display: flex; flex-direction: column; }
.scenario-card p { flex: 1; }
.scenario-outcome { margin-top: 20px; padding-top: 15px; border-top: 1px solid #1b4463; display: flex; flex-direction: column; gap: 3px; }
.scenario-outcome strong { color: #63c7ff; font-size: .875rem; }
.scenario-outcome span { color: #9fb3c7; font-size: .875rem; }

.editions-section { border-top: 1px solid rgba(99,199,255,.08); }
.editions-section .section-kicker { text-align: center; }
.edition-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.edition-card { display: flex; min-height: 360px; padding: 30px; flex-direction: column; border: 1px solid #1b4463; border-radius: 14px; background: #0d2439; box-shadow: 0 14px 34px rgba(0,8,18,.22); }
.edition-card-featured { border-color: rgba(99,199,255,.6); box-shadow: inset 0 3px 0 #63c7ff, 0 16px 38px rgba(0,8,18,.3); }
.edition-index { margin-bottom: 28px; color: #63c7ff; font-family: var(--font-mono); font-size: .875rem; }
.edition-en { margin-bottom: 7px; color: #8299af; font-family: var(--font-mono); font-size: .875rem; letter-spacing: .08em; }
.edition-card h3 { margin-bottom: 12px; color: #f7fbff; font-size: 1.35rem; }
.edition-card strong { margin-bottom: 14px; color: #57d8dc; font-size: .88rem; }
.edition-card > p:not(.edition-en) { color: #b7c7d8; font-size: .9rem; line-height: 1.85; }
.edition-card .btn { align-self: flex-start; margin-top: auto; }

.conversion-strip { padding: 46px 0; background: #0a2942; border-top: 1px solid #1b4463; border-bottom: 1px solid #1b4463; color: #fff; }
.conversion-inner { display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.conversion-inner h2 { margin-bottom: 7px; font-size: clamp(1.35rem, 2.3vw, 1.9rem); line-height: 1.4; }
.conversion-inner p { color: #c3d8e8; }
.conversion-inner .conversion-eyebrow { margin-bottom: 7px; color: #72d9df; font-family: var(--font-mono); font-size: .875rem; font-weight: 700; letter-spacing: .14em; }
.conversion-actions { display: flex; flex-shrink: 0; gap: 12px; }
.conversion-strip .btn-outline { border-color: rgba(255,255,255,.42); color: #fff; }
.conversion-strip .btn-outline:hover { background: rgba(255,255,255,.11); }
.about-section { padding: 54px 0 48px; background: #081b2c; border-bottom: 1px solid #1b4463; }
.about-inner { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 34px; align-items: center; max-width: 980px; margin: 0 auto; }
.about-company-logo { display: grid; width: 148px; height: 148px; place-items: center; overflow: hidden; border: 1px solid rgba(99,199,255,.22); border-radius: 18px; background: #fff; box-shadow: 0 16px 38px rgba(0,0,0,.22); }
.about-company-logo img { width: 126px; height: 126px; object-fit: contain; }
.about-eyebrow { margin-bottom: 7px; color: #63c7ff; font-family: var(--font-mono); font-size: .875rem; font-weight: 700; letter-spacing: .15em; }
.about-inner h2 { margin-bottom: 14px; color: #f7fbff; font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.35; }
.about-inner > div:last-child > p:last-child { color: #b7c7d8; font-size: .95rem; line-height: 1.95; }
.technical-note-section { padding: 24px 0 30px; background: #061421; }
.technical-note { display: grid; grid-template-columns: 90px 1fr; gap: 20px; align-items: start; padding: 18px 22px; border: 1px solid #1b4463; border-radius: 10px; background: #0d2439; }
.technical-note h4 { color: #63c7ff; font-size: .92rem; }
.technical-note p { color: #9fb3c7; font-size: .875rem; line-height: 1.75; }

.home-page .footer { padding: 18px 0 10px; background: #061421; border-top: 1px solid rgba(99,199,255,.16); }
.home-page .footer-grid { grid-template-columns: 1.05fr .68fr .82fr 1.45fr; gap: clamp(24px, 3.4vw, 46px); margin-bottom: 10px; align-items: start; }
.home-page .footer-col h4 { font-size: .98rem; margin-bottom: 10px; }
.home-page .footer-col p, .home-page .footer-col a { line-height: 1.55; }
.footer-brand-title { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; }
.footer-brand-title img { width: 42px; height: 42px; border-radius: 8px; }
.footer-brand-title h4 { margin-bottom: 0 !important; line-height: 1.45; }
.footer-brand-title span { display: block; margin-top: 2px; color: #91aac0; font-size: .875rem; line-height: 1.5; }
.footer-positioning { max-width: 250px; color: #9bb2c7 !important; font-size: .875rem !important; line-height: 1.6 !important; }
.footer-contact-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: start; }
.footer-contact { margin-bottom: 5px; }
.footer-contact strong { display: block; color: #dceeff; font-size: .875rem; line-height: 1.3; }
.footer-contact a { color: #85cfff; font-size: .875rem !important; line-height: 1.45 !important; overflow-wrap: anywhere; }
.footer-wechat { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 74px; text-align: center; }
.footer-wechat img { width: 74px; height: 74px; padding: 4px; border-radius: 9px; background: #fff; object-fit: contain; }
.footer-wechat p { font-size: .875rem !important; line-height: 1.5 !important; }
.home-page .footer-bottom { padding-top: 10px; font-size: .875rem; }

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .nav { padding: 0 16px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 12px;
    right: 12px;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(7, 15, 30, .98);
    box-shadow: var(--shadow);
  }
  .nav.nav-open .nav-links { display: flex; }
  .nav-links a { display: block; padding: 10px 12px; }
  .nav-links .btn { justify-content: center; }
  .section { padding: 64px 0; }
  .section-title { font-size: 1.8rem; }
  .hero h1 { font-size: inherit; }
  .hero-brand { font-size: clamp(4rem, 22vw, 5.6rem); }
  .hero-category { font-size: 1.72rem; }
  .hero-slogan { align-items: flex-start; flex-direction: column; gap: 3px; }
  .hero { min-height: auto; padding: 112px 0 70px; }
  .hero-grid, .home-page .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 42px; }
  .home-page .hero-content, .home-page .hero-visual { width: 100%; max-width: 100%; }
  .hero-badge { margin-bottom: 24px; padding: 7px 14px; font-size: .875rem; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .gallery { grid-template-columns: 1fr; }
  .edition-grid { grid-template-columns: 1fr; }
  .edition-card { min-height: 300px; }
  .portal-summary, .application-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr 1fr; }
  .flow-grid > div:nth-child(2) { border-right: 0; }
  .flow-grid > div { border-bottom: 1px solid rgba(17,94,170,.13); padding: 18px; }
  .flow-grid > div:nth-child(3), .flow-grid > div:nth-child(4) { border-bottom: 0; }
  .process-section { padding: 54px 0 58px; }
  .process-heading { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
  .process-track { grid-template-columns: 1fr; gap: 0; }
  .process-track::before { top: 0; bottom: 0; left: 24px; right: auto; width: 1px; height: auto; }
  .process-track li, .process-track li:first-child, .process-track li:last-child { min-height: 110px; padding: 0 0 25px 72px; border-right: 0; }
  .process-track li > span { position: absolute; left: 0; top: 0; margin: 0; }
  .home-page .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 22px; }
  .home-page .footer-brand, .home-page .footer-contact-col { grid-column: 1 / -1; }
  .about-section { padding: 42px 0 38px; }
  .about-inner { grid-template-columns: 108px minmax(0, 1fr); gap: 22px; }
  .about-company-logo { width: 108px; height: 108px; border-radius: 14px; }
  .about-company-logo img { width: 94px; height: 94px; }
  .about-inner > div:last-child > p:last-child { font-size: .9rem; line-height: 1.85; }
  .conversion-inner { align-items: flex-start; flex-direction: column; }
  .conversion-actions { width: 100%; flex-wrap: wrap; }
  .technical-note { grid-template-columns: 1fr; gap: 5px; }
  .deliverables-strip { grid-template-columns: repeat(2, 1fr); }
  .deliverables-strip span:nth-child(2n) { border-right: 0; }
  .deliverables-strip span { border-bottom: 1px solid #1b4463; }
  .deliverables-strip span:nth-last-child(-n+2) { border-bottom: 0; }
  .media-ultrawide .gallery-img-wrap { aspect-ratio: 2.2/1; padding: 10px; }
  .auth-card { padding: 34px 24px; }
  .form-row { flex-direction: column; }
  .contact-grid { grid-template-columns: 1fr; }
  .dashboard-tabs { overflow-x: auto; }
  .dashboard-tab { padding: 12px 18px; white-space: nowrap; }
  .message-input { flex-direction: column; }
  .file-item { align-items: flex-start; gap: 16px; flex-direction: column; }
  .upload-zone { padding: 32px 18px; }
  .download-table th, .download-table td { padding: 14px 15px; vertical-align: top; }
}

@media (min-width: 769px) and (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-content { max-width: 860px; }
  .hero-visual { max-width: 860px; }
  .process-track li { padding: 0 15px; }
  .home-page .footer-grid { grid-template-columns: 1.35fr .7fr .7fr; }
  .home-page .footer-contact-col { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-dark); }

/* ========== Unified download and license page ========== */
.downloads-page {
  background:
    radial-gradient(circle at 12% 4%, rgba(30, 144, 255, .14), transparent 28%),
    radial-gradient(circle at 88% 28%, rgba(0, 201, 219, .08), transparent 26%),
    var(--bg-dark);
}
.download-hero { padding: 142px 0 82px; border-bottom: 1px solid var(--border); }
.download-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(380px, .75fr); gap: 72px; align-items: center; }
.download-eyebrow, .section-kicker { margin-bottom: 12px; color: var(--accent-teal); font-family: var(--font-mono); font-size: .875rem; font-weight: 700; letter-spacing: .16em; }
.download-hero-copy h1 { max-width: 760px; margin-bottom: 22px; font-size: clamp(2.45rem, 5vw, 4.6rem); line-height: 1.08; letter-spacing: -.035em; }
.download-lead { max-width: 680px; color: var(--text-muted); font-size: 1.06rem; line-height: 1.95; }
.download-limit-note { max-width: 680px; margin-top: 16px; color: #b9d8ec; font-size: .9rem; line-height: 1.75; }
.single-package-note { display: flex; align-items: center; gap: 14px; max-width: 600px; margin-top: 30px; padding: 16px 18px; border: 1px solid rgba(0, 201, 219, .26); border-radius: 12px; background: rgba(0, 201, 219, .065); }
.single-package-icon { display: grid; flex: 0 0 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--accent-teal); color: #061629; font-weight: 800; }
.single-package-note strong, .single-package-note span { display: block; }
.single-package-note strong { margin-bottom: 3px; color: var(--text); font-size: .92rem; }
.single-package-note div > span { color: var(--text-muted); font-size: .875rem; }
.download-primary-card { position: relative; padding: 30px; overflow: hidden; border: 1px solid var(--border-glow); border-radius: 20px; background: linear-gradient(145deg, rgba(17, 39, 67, .98), rgba(10, 27, 49, .98)); box-shadow: 0 28px 80px rgba(0, 0, 0, .28); }
.download-primary-card::before { position: absolute; top: -80px; right: -80px; width: 210px; height: 210px; border-radius: 50%; background: rgba(30, 144, 255, .12); content: ''; filter: blur(5px); }
.material-entry { position: relative; margin-top: 12px; }
.material-heading { max-width: 780px; margin: 0 0 36px; }
.material-heading h1 { margin: 0 0 18px; font-size: clamp(2rem, 4vw, 3.5rem); }
.material-heading p:not(.section-kicker) { margin-bottom: 22px; color: var(--text-muted); line-height: 1.8; }
.material-page .admin-table td:first-child { overflow-wrap: anywhere; }
.managed-progress { display: block; width: 100%; height: 12px; margin: 16px 0 8px; accent-color: var(--accent-teal); }
#managedUploadStatus { color: var(--text-muted); }
#managedFilesBody td:last-child { min-width: 245px; }
#managedFilesBody td:last-child > * { margin: 2px 5px 2px 0; }
.download-card-heading { position: relative; display: flex; align-items: center; gap: 15px; margin-bottom: 24px; }
.download-card-heading p { margin-bottom: 4px; color: var(--text-dim); font-size: .875rem; letter-spacing: .08em; }
.download-card-heading h2 { font-size: 1.35rem; }
.download-file-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 12px; background: rgba(30, 144, 255, .15); color: var(--accent-glow); }
.download-file-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.download-main-btn { position: relative; flex-direction: column; gap: 1px; min-height: 62px; }
.download-main-btn > span { font-size: 1rem; }
.download-main-btn small { font-size: .875rem; font-weight: 500; opacity: .76; }
.btn.is-disabled, .resource-link.is-disabled { cursor: not-allowed; filter: saturate(.35); opacity: .58; }
.download-facts { display: grid; grid-template-columns: 1fr 1fr; margin: 24px 0 0; }
.download-facts div { padding: 13px 8px; border-bottom: 1px solid var(--border); }
.download-facts div:nth-child(odd) { padding-left: 0; }
.download-facts div:nth-child(even) { padding-right: 0; text-align: right; }
.download-facts dt { margin-bottom: 4px; color: var(--text-dim); font-size: .875rem; }
.download-facts dd { color: var(--text); font-size: .875rem; }
.download-resource-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 20px; }
.resource-link { display: flex; min-height: 68px; padding: 11px 8px; align-items: center; justify-content: center; flex-direction: column; border: 1px solid var(--border); border-radius: 9px; background: rgba(255,255,255,.025); text-align: center; transition: var(--transition); }
.resource-link:hover { border-color: var(--border-glow); background: rgba(30, 144, 255, .08); }
.resource-link span { color: var(--text); font-size: .875rem; font-weight: 650; }
.resource-link small { margin-top: 4px; color: var(--text-dim); font-size: .875rem; }
.license-section { position: relative; }
.license-plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; }
.license-plan-card { display: flex; min-height: 350px; padding: 28px; flex-direction: column; border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(165deg, rgba(17, 39, 67, .76), rgba(9, 24, 44, .7)); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.license-plan-card:hover { transform: translateY(-5px); border-color: var(--border-glow); box-shadow: var(--shadow); }
.license-plan-card.is-featured { border-color: rgba(30, 144, 255, .48); box-shadow: inset 0 3px 0 var(--accent); }
.plan-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.plan-index { color: var(--text-dim); font-family: var(--font-mono); font-size: .875rem; }
.plan-badge { padding: 5px 9px; border: 1px solid rgba(0, 201, 219, .25); border-radius: 999px; background: rgba(0, 201, 219, .07); color: var(--accent-teal); font-size: .875rem; }
.license-plan-card h3 { margin-bottom: 4px; font-size: 1.7rem; }
.plan-en { margin-bottom: 22px; color: var(--text-dim); font-family: var(--font-mono); font-size: .875rem; letter-spacing: .06em; }
.plan-summary { min-height: 76px; color: var(--text-muted); font-size: .92rem; line-height: 1.8; }
.plan-feature-list { margin: 24px 0 30px; padding: 20px 0 0; border-top: 1px solid var(--border); list-style: none; }
.plan-feature-list li { position: relative; margin-bottom: 12px; padding-left: 19px; color: var(--text-muted); font-size: .875rem; }
.plan-feature-list li::before { position: absolute; left: 0; color: var(--accent-teal); content: '✓'; }
.plan-action, .plan-actions { margin-top: auto; }
.plan-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.plan-actions .btn { padding-inline: 12px; }
.upgrade-note { display: flex; margin-top: 22px; padding: 18px 22px; align-items: center; justify-content: center; gap: 14px; border: 1px dashed rgba(77, 184, 255, .32); border-radius: 12px; color: var(--text-muted); font-size: .88rem; text-align: center; }
.upgrade-note strong { color: var(--accent-glow); }
.download-help-section { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(8, 22, 41, .5); }
.help-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; align-items: start; }
.help-grid h2, .changelog-card h2 { margin-bottom: 14px; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.help-grid > div > p:last-child { color: var(--text-muted); line-height: 1.9; }
.install-steps { list-style: none; }
.install-steps li { display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.install-steps li:first-child { padding-top: 0; }
.install-steps li:last-child { border-bottom: 0; }
.install-steps li > span { padding-top: 2px; color: var(--accent-teal); font-family: var(--font-mono); font-size: .875rem; }
.install-steps strong { display: block; margin-bottom: 7px; color: var(--text); }
.install-steps p { color: var(--text-muted); font-size: .875rem; line-height: 1.75; }
.changelog-section { padding-top: 70px; padding-bottom: 70px; }
.changelog-card { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; align-items: center; }
.release-empty { padding: 24px 26px; border-left: 3px solid var(--accent); background: rgba(30, 144, 255, .06); }
.release-empty strong { display: block; margin-bottom: 7px; }
.release-empty p { color: var(--text-muted); font-size: .875rem; }
.inquiry-dialog { width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; overflow: hidden auto; border: 1px solid var(--border-glow); border-radius: 18px; background: #0c1d34; color: var(--text); box-shadow: 0 30px 100px rgba(0,0,0,.6); }
.inquiry-dialog::backdrop { background: rgba(2, 8, 18, .78); backdrop-filter: blur(7px); }
.inquiry-dialog-shell { position: relative; padding: 34px; }
.dialog-close { position: absolute; top: 16px; right: 18px; width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 50%; background: transparent; color: var(--text-muted); font-size: 1.55rem; line-height: 1; cursor: pointer; }
.dialog-close:hover { border-color: var(--border-glow); color: var(--text); }
.inquiry-heading { margin-bottom: 28px; padding-right: 42px; }
.inquiry-heading h2 { margin-bottom: 8px; font-size: 1.8rem; }
.inquiry-heading > p:last-child { color: var(--text-muted); font-size: .9rem; line-height: 1.7; }
.inquiry-marketing-consent { margin-top: -12px; }
.inquiry-submit { min-height: 52px; margin-top: 8px; }
.inquiry-success { padding: 34px 0 12px; text-align: center; }
.success-mark { display: grid; width: 58px; height: 58px; margin: 0 auto 20px; place-items: center; border-radius: 50%; background: rgba(16, 185, 129, .16); color: #4ade80; font-size: 1.7rem; }
.inquiry-success h3 { margin-bottom: 10px; font-size: 1.5rem; }
.inquiry-success > p { color: var(--text-muted); }
.success-actions { display: flex; margin-top: 26px; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* Search resource and topic pages */
.resource-strip { padding: 68px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #081b2c; }
.resource-strip-heading { max-width: 760px; }
.resource-strip-heading h2 { margin: 10px 0 14px; color: #f7fbff; font-size: clamp(1.8rem, 3.2vw, 2.7rem); }
.resource-strip-heading p { color: var(--text-muted); line-height: 1.85; }
.resource-strip-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 30px 0 20px; }
.resource-strip-links a { display: flex; min-height: 58px; padding: 15px 18px; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--border); border-radius: 10px; background: #0d2439; color: #dcecf8; font-size: .93rem; transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.resource-strip-links a:hover { border-color: var(--accent); background: #102d46; transform: translateY(-2px); }
.resource-strip-links span { color: var(--accent-glow); font-size: 1.2rem; }
.resource-strip-all { color: var(--accent-glow); font-size: .9rem; }

.topic-page, .resources-page { min-height: 100vh; background: #061421; color: var(--text); }
.topic-main { padding: 118px 0 72px; }
.topic-hero { max-width: 900px; padding-bottom: 44px; }
.breadcrumbs { display: flex; margin-bottom: 24px; gap: 8px; color: var(--text-dim); font-size: .875rem; flex-wrap: wrap; }
.breadcrumbs a { color: var(--accent-glow); }
.topic-kicker { color: var(--accent-teal); font-family: var(--font-mono); font-size: .875rem; letter-spacing: .12em; text-transform: uppercase; }
.topic-hero h1 { max-width: 820px; margin: 14px 0 18px; color: #f7fbff; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.15; }
.topic-lead { max-width: 790px; color: var(--text-muted); font-size: 1.04rem; line-height: 1.95; }
.topic-section { padding: 50px 0; border-top: 1px solid var(--border); }
.topic-section h2 { margin-bottom: 16px; color: #f7fbff; font-size: clamp(1.5rem, 3vw, 2.25rem); }
.topic-section p { max-width: 880px; color: var(--text-muted); line-height: 1.95; }
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.topic-card { padding: 22px; border: 1px solid var(--border); border-radius: 12px; background: #0d2439; }
.topic-card h3 { margin: 0 0 10px; color: #eaf5fd; font-size: 1.04rem; }
.topic-card p { font-size: .9rem; line-height: 1.8; }
.evidence-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.evidence-card { overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: #0d2439; }
.technical-canvas { display: grid; min-height: 242px; padding: 14px; place-items: center; background: #fff; }
.technical-canvas img { width: 100%; max-height: 360px; object-fit: contain; }
.evidence-card figcaption { padding: 13px 16px 15px; color: var(--text-dim); font-size: .875rem; line-height: 1.65; }
.topic-list { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.topic-list li { position: relative; padding-left: 20px; color: var(--text-muted); line-height: 1.8; }
.topic-list li::before { position: absolute; top: .55em; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-teal); content: ''; }
.faq-list { display: grid; gap: 10px; margin-top: 22px; }
.faq-list details { padding: 16px 18px; border: 1px solid var(--border); border-radius: 10px; background: #0d2439; }
.faq-list summary { color: #eaf5fd; cursor: pointer; }
.faq-list p { margin-top: 12px; font-size: .9rem; }
.topic-cta { display: flex; padding: 28px; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid rgba(99, 199, 255, .34); border-radius: 14px; background: linear-gradient(100deg, rgba(14, 51, 78, .9), rgba(13, 36, 57, .9)); }
.topic-cta h2 { margin: 0 0 8px; font-size: 1.45rem; }
.topic-cta p { margin: 0; font-size: .9rem; }
.topic-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.resource-page-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.resource-page-card { display: flex; min-height: 220px; padding: 26px; flex-direction: column; border: 1px solid var(--border); border-radius: 13px; background: #0d2439; }
.resource-page-card h2 { margin: 14px 0 10px; color: #f7fbff; font-size: 1.38rem; }
.resource-page-card p { color: var(--text-muted); line-height: 1.8; }
.resource-page-card a { margin-top: auto; padding-top: 22px; color: var(--accent-glow); font-size: .9rem; }
.article-meta { margin-top: 20px; color: var(--text-dim); font-size: .875rem; line-height: 1.7; }
.topic-section p a, .standard-facts a { color: var(--accent-glow); text-decoration: underline; text-underline-offset: 3px; }
.topic-section p a:hover, .standard-facts a:hover { color: #f7fbff; }
.article-table-wrap { overflow-x: auto; margin-top: 24px; border: 1px solid var(--border); border-radius: 12px; }
.article-table-wrap:focus-visible { outline: 2px solid var(--accent-glow); outline-offset: 3px; }
.article-scroll-hint { margin-top: 12px; color: var(--text-dim); font-size: .875rem; }
.article-table { width: 100%; min-width: 650px; border-collapse: collapse; background: #0d2439; color: var(--text-muted); font-size: .9rem; }
.article-table th, .article-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; line-height: 1.7; }
.article-table thead th { background: #102d46; color: #f7fbff; }
.article-table tbody th { color: #eaf5fd; font-weight: 650; }
.article-table tbody tr:last-child th, .article-table tbody tr:last-child td { border-bottom: 0; }
.standard-facts { padding: 22px 24px; border: 1px solid var(--border); border-radius: 12px; background: #0d2439; }
.standard-facts p { margin: 0 0 10px; overflow-wrap: anywhere; }
.standard-facts p:last-child { margin-bottom: 0; }
.standard-facts strong { color: #eaf5fd; }
.compact-footer { padding: 22px 0; border-top: 1px solid var(--border); background: #061421; color: var(--text-dim); font-size: .875rem; text-align: center; }
.compact-footer a { color: var(--accent-glow); }

@media (max-width: 900px) {
  .download-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .download-primary-card { max-width: 620px; }
  .license-plan-grid { grid-template-columns: 1fr; }
  .license-plan-card { min-height: auto; }
  .plan-summary { min-height: auto; }
  .help-grid, .changelog-card { grid-template-columns: 1fr; gap: 36px; }
  .topic-grid { grid-template-columns: 1fr; }
  .download-admin-filters { grid-template-columns: 1fr 1fr; }
  .download-admin-filters .form-group:nth-child(2) { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .download-hero { padding: 108px 0 56px; }
  .download-hero-copy h1 { font-size: 2.25rem; }
  .download-primary-card { padding: 22px 18px; }
  .download-resource-links { grid-template-columns: 1fr; }
  .resource-link { min-height: 54px; }
  .about-inner { grid-template-columns: 1fr; }
  .about-company-logo { width: 116px; height: 116px; }
  .download-facts { grid-template-columns: 1fr; }
  .download-facts div, .download-facts div:nth-child(odd), .download-facts div:nth-child(even) { padding: 12px 0; text-align: left; }
  .download-facts div:nth-child(3) { border-bottom: 1px solid var(--border); }
  .plan-actions { grid-template-columns: 1fr; }
  .upgrade-note { align-items: flex-start; flex-direction: column; text-align: left; }
  .inquiry-dialog-shell { padding: 28px 20px 22px; }
  .inquiry-heading { padding-right: 32px; }
  .inquiry-heading h2 { font-size: 1.55rem; }
  .success-actions { flex-direction: column; }
  .resource-strip { padding: 52px 0; }
  .resource-strip-links, .evidence-grid, .resource-page-grid { grid-template-columns: 1fr; }
  .topic-main { padding-top: 102px; }
  .topic-cta { align-items: flex-start; flex-direction: column; }
  .download-admin-filters { grid-template-columns: 1fr; }
  .download-admin-filters .form-group:nth-child(2) { grid-column: auto; }
  .admin-pagination { justify-content: flex-start; flex-wrap: wrap; }
}

/* Animations */
.fade-in { animation: fadeIn 0.6s ease forwards; }
.fade-up { animation: fadeUp 0.8s ease forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.activity-filter-row { flex-wrap: wrap; margin: 1rem 0; }
.activity-filter-row > input, .activity-filter-row > select { min-width: 150px; flex: 1 1 170px; }
.activity-bar { display: block; height: 4px; border-radius: 4px; background: #259db8; margin: -0.3rem 0 0.7rem; max-width: 100%; }
