/* ========== Reset & Tokens ========== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: #B6C8E3;
  background: #0A1834;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main { display: block; }
img, picture, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; padding: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; }
address { font-style: normal; }
p { margin: 0; }
h1, h2, h3, h4 {
  font-family: 'Noto Sans CJK SC', 'Source Han Sans SC', 'Alibaba PuHuiTi', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
h4 { font-size: 1.05rem; }
::selection { background: #F2C14E; color: #0A1834; }
:focus-visible { outline: 3px solid #4AFFB0; outline-offset: 3px; border-radius: 10px; }

:root {
  --c-deep: #0A1834;
  --c-panel: #11254A;
  --c-gold: #F2C14E;
  --c-gold-deep: #D3A441;
  --c-neon: #4AFFB0;
  --c-mist: #B6C8E3;
  --c-paper: #E8EDF5;
  --c-white: #FFFFFF;
  --c-red: #FF5A5A;
  --font-head: 'Noto Sans CJK SC', 'Source Han Sans SC', 'Alibaba PuHuiTi', sans-serif;
  --font-body: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --font-data: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
  --nav-h: 84px;
  --content-max: 1280px;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-capsule: 0 12px 40px rgba(0, 0, 0, 0.38);
}

/* ========== Layout Utilities ========== */
.container { width: min(calc(100% - 48px), 1280px); margin-inline: auto; }
.section-dark { background: #0A1834; color: #B6C8E3; }
.section-light { background: #E8EDF5; color: #1A2744; }
.section-pad { padding-block: clamp(64px, 9vw, 120px); }
#main-content { scroll-margin-top: calc(84px + 18px); }

.section-heading {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--c-white);
  line-height: 1.2;
  margin-top: 10px;
}
.section-heading .gold, .mark-gold { color: var(--c-gold); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold);
}
.section-label::before { content: ''; width: 28px; height: 2px; background: var(--c-gold); }

.skew-band {
  position: relative;
  z-index: 2;
  height: 60px;
  margin: -20px 0;
  background: linear-gradient(135deg, #F2C14E 0%, #D3A441 40%, #4AFFB0 100%);
  transform: skewY(-1.6deg);
  transform-origin: left center;
  pointer-events: none;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.25s, color 0.25s, border-color 0.25s;
}
.btn-gold {
  background: #F2C14E;
  color: #0A1834;
  box-shadow: 0 8px 30px rgba(242, 193, 78, 0.35);
}
.btn-gold:hover { background: #FFFFFF; transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  border-color: rgba(242, 193, 78, 0.55);
  color: #F2C14E;
}
.btn-ghost:hover { background: rgba(242, 193, 78, 0.12); transform: translateY(-2px); }
.btn-neon {
  background: #4AFFB0;
  color: #0A1834;
  box-shadow: 0 0 24px rgba(74, 255, 176, 0.35);
}
.btn-neon:hover { background: #FFFFFF; transform: translateY(-2px); }

/* ========== Skip Link & Scroll Progress ========== */
.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 2000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.9rem;
  color: #0A1834;
  background: #F2C14E;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(242, 193, 78, 0.45);
  transform: translateY(-180%);
  transition: transform 0.3s var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1200;
  width: 100%;
  height: 4px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.06);
}
.scroll-progress::before {
  content: '';
  display: block;
  width: var(--progress, 0%);
  height: 100%;
  background: linear-gradient(90deg, #F2C14E 0%, #4AFFB0 100%);
  box-shadow: 0 0 14px rgba(74, 255, 176, 0.6);
  border-radius: 0 4px 4px 0;
}

/* ========== Header & Floating Capsule Nav ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 24px;
  pointer-events: none;
  transition: padding 0.35s var(--ease-out);
}
.site-header.is-scrolled { padding-top: 10px; padding-bottom: 10px; }
.site-header.is-scrolled .site-nav { box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5); }

.site-nav {
  position: relative;
  z-index: 1010;
  pointer-events: auto;
  max-width: 1280px;
  margin-inline: auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px 10px 18px;
  background: rgba(10, 24, 52, 0.84);
  border: 1px solid rgba(242, 193, 78, 0.24);
  border-radius: 999px;
  box-shadow: var(--shadow-capsule);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.site-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}
.site-nav-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  color: #0A1834;
  background: linear-gradient(135deg, #F2C14E, #D3A441);
  border-radius: 14px;
  padding: 8px 12px;
  box-shadow: 0 6px 18px rgba(242, 193, 78, 0.3);
}
.site-nav-brand-mark .live-dot { background: #0A1834; box-shadow: none; }
.site-nav-brand-mark .live-dot::after { border-color: #0A1834; }

.site-nav-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.site-nav-brand-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.12rem;
  color: #FFFFFF;
  letter-spacing: 0.02em;
}
.site-nav-brand-tag {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #F2C14E;
}

.nav-toggle { display: none; }

.nav-menu { display: flex; align-items: center; gap: 4px; margin: 0; }
.nav-item { margin: 0; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  color: #B6C8E3;
  padding: 10px 16px;
  border-radius: 999px;
  transition: color 0.25s, background 0.25s, box-shadow 0.25s;
}
.nav-link:hover { color: #F2C14E; background: rgba(242, 193, 78, 0.08); }
.nav-link[aria-current="page"] {
  color: #0A1834;
  background: #F2C14E;
  box-shadow: 0 6px 18px rgba(242, 193, 78, 0.35);
}

/* ========== Mobile Nav ========== */
@media (max-width: 992px) {
  :root { --nav-h: 76px; }
  .site-header { padding: 12px 16px; }
  .site-nav { min-height: 58px; padding: 8px 10px 8px 14px; }
  .site-nav-brand-tag { display: none; }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(242, 193, 78, 0.32);
    color: #B6C8E3;
    flex-shrink: 0;
  }
  .nav-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: #F2C14E;
    border-radius: 2px;
    transition: transform 0.3s var(--ease-out), opacity 0.3s;
  }
  .nav-toggle-label {
    font-family: var(--font-data);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    line-height: 1;
    opacity: 0.85;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    margin: 0;
    background: rgba(8, 18, 40, 0.97);
    border: 1px solid rgba(242, 193, 78, 0.24);
    border-radius: 22px;
    box-shadow: var(--shadow-capsule);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0.3s;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }
  .nav-menu[data-open] { opacity: 1; visibility: visible; transform: none; }
  .nav-link { padding: 13px 16px; border-radius: 14px; font-size: 1rem; }
  .nav-link[aria-current="page"] { background: #F2C14E; color: #0A1834; box-shadow: none; }
}

/* ========== Footer ========== */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, #060E20 0%, #0A1834 100%);
  color: #B6C8E3;
  border-top: 1px solid rgba(242, 193, 78, 0.2);
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0A1834 0%, #F2C14E 30%, #D3A441 60%, #4AFFB0 100%);
}
.site-footer::after {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -160px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 255, 176, 0.1) 0%, rgba(74, 255, 176, 0) 68%);
  pointer-events: none;
}

.site-footer-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), 1280px);
  margin-inline: auto;
  padding: 72px 0 48px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.1fr;
  gap: 44px;
}

.site-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 14px;
}
.site-footer-logo-mark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-data);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 1rem;
  color: #0A1834;
  background: linear-gradient(135deg, #F2C14E, #D3A441);
  border-radius: 14px;
  padding: 7px 11px;
}
.site-footer-logo-mark .live-dot { background: #0A1834; box-shadow: none; }
.site-footer-logo-mark .live-dot::after { border-color: #0A1834; }
.site-footer-logo-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.15rem;
  color: #FFFFFF;
}

.site-footer-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  color: #F2C14E;
  margin-bottom: 12px;
}
.site-footer-tag::before { content: ''; width: 22px; height: 2px; background: #F2C14E; }

.site-footer-note {
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 34ch;
  color: rgba(182, 200, 227, 0.8);
}

.site-footer-heading {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F2C14E;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(242, 193, 78, 0.25);
}

.site-footer-links { display: flex; flex-direction: column; gap: 10px; }
.site-footer-link {
  font-size: 0.94rem;
  text-decoration: none;
  color: #B6C8E3;
  transition: color 0.2s, padding-left 0.25s var(--ease-out);
}
.site-footer-link:hover { color: #FFFFFF; padding-left: 4px; }

.site-footer-address { display: flex; flex-direction: column; gap: 10px; }
.site-footer-contact-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.92rem;
  color: rgba(182, 200, 227, 0.88);
}
.site-footer-contact-line::before {
  content: '/';
  font-family: var(--font-data);
  font-weight: 700;
  color: #F2C14E;
}

.site-footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  width: min(calc(100% - 48px), 1280px);
  margin-inline: auto;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  color: rgba(182, 200, 227, 0.66);
}
.site-footer-bottom p { margin: 0; }
.site-footer-bottom-icp { font-family: var(--font-data); letter-spacing: 0.04em; }

@media (max-width: 1024px) {
  .site-footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  .site-footer-inner { grid-template-columns: 1fr; gap: 32px; padding-top: 52px; }
  .site-footer-bottom { justify-content: center; text-align: center; }
}

/* ========== Page Hero & Split Hero ========== */
.page-hero {
  position: relative;
  background: #0A1834;
  color: #FFFFFF;
  padding: calc(84px + 64px) 0 76px;
  overflow: hidden;
  border-bottom: 1px solid rgba(242, 193, 78, 0.16);
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: -6%;
  width: 34%;
  background: linear-gradient(140deg, rgba(242, 193, 78, 0.18), rgba(242, 193, 78, 0) 68%);
  transform: skewX(-14deg);
  transform-origin: top;
}
.page-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, #4AFFB0, #F2C14E 55%, transparent);
  opacity: 0.7;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-data);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #F2C14E;
  margin-bottom: 18px;
}
.hero-kicker::before { content: ''; width: 30px; height: 2px; background: #F2C14E; }

.hero-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  max-width: 12ch;
}
.hero-lede {
  margin-top: 22px;
  font-size: 1.08rem;
  line-height: 1.85;
  color: #B6C8E3;
  max-width: 58ch;
}

.hero-split {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  min-height: calc(100vh - 84px);
  padding: calc(84px + 48px) 0 88px;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 70% 24%, rgba(242, 193, 78, 0.22), transparent 42%),
    linear-gradient(145deg, #11254A, rgba(10, 24, 52, 0.4));
  border: 1px solid rgba(242, 193, 78, 0.22);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.hero-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(-32deg, transparent 0 18px, rgba(74, 255, 176, 0.09) 18px 20px, transparent 20px 42px);
  animation: data-flow 16s linear infinite;
}
.hero-visual::after {
  content: '';
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -12%;
  height: 64%;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(242, 193, 78, 0.55), transparent 70%),
    radial-gradient(ellipse at 50% 120%, rgba(74, 255, 176, 0.3), transparent 74%);
  filter: blur(2px);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

@media (max-width: 960px) {
  .hero-split { grid-template-columns: 1fr; min-height: 0; padding-top: calc(84px + 32px); }
  .hero-visual { min-height: 320px; }
}

/* ========== Panels & Data Visuals ========== */
.panel {
  position: relative;
  background: linear-gradient(160deg, #11254A 0%, #0A1834 100%);
  border: 1px solid rgba(242, 193, 78, 0.16);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  transition: transform 0.35s var(--ease-out), border-color 0.3s;
}
.panel:hover { transform: translateY(-3px); border-color: rgba(242, 193, 78, 0.4); }
.panel-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  color: #F2C14E;
  margin-bottom: 14px;
}

.diagonal-panel {
  position: relative;
  background: linear-gradient(155deg, #11254A 0%, #0A1834 88%);
  border: 1px solid rgba(242, 193, 78, 0.14);
  border-radius: var(--radius-lg);
  padding: 30px;
  overflow: hidden;
}
.diagonal-panel::after {
  content: '';
  position: absolute;
  top: -60%;
  right: -8%;
  width: 140px;
  height: 220%;
  background: repeating-linear-gradient(115deg, transparent 0 14px, rgba(74, 255, 176, 0.08) 14px 16px, transparent 16px 28px);
  transform: rotate(18deg);
  pointer-events: none;
}

.data-number {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}
.data-label {
  font-family: var(--font-data);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #B6C8E3;
  opacity: 0.75;
}

.stat-quote {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  line-height: 1.5;
  color: #FFFFFF;
}
.stat-quote .accent { color: #F2C14E; }

/* ========== Live Dot ========== */
.live-dot {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #4AFFB0;
  box-shadow: 0 0 12px rgba(74, 255, 176, 0.7);
  animation: live-pulse 1.8s var(--ease-out) infinite;
}
.live-dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #4AFFB0;
  animation: live-ping 1.8s ease-out infinite;
}

/* ========== Data Table ========== */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.data-table th {
  text-align: left;
  font-family: var(--font-data);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #F2C14E;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(242, 193, 78, 0.28);
}
.data-table td { padding: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); color: #B6C8E3; }
.data-table tr:hover td { background: rgba(74, 255, 176, 0.04); }

/* ========== Topic Filter ========== */
.topic-filter { display: flex; flex-wrap: wrap; gap: 10px; }
.topic-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  color: #B6C8E3;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease-out);
}
.topic-filter-btn:hover { color: #F2C14E; border-color: rgba(242, 193, 78, 0.5); transform: translateY(-2px); }
.topic-filter-btn.is-active {
  background: #F2C14E;
  border-color: #F2C14E;
  color: #0A1834;
  box-shadow: 0 8px 24px rgba(242, 193, 78, 0.3);
}
.is-filtered { display: none !important; }

/* ========== Accordion ========== */
.accordion { border-top: 1px solid rgba(255, 255, 255, 0.09); }
.accordion-item { border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  color: #FFFFFF;
  text-align: left;
  cursor: pointer;
}
.accordion-trigger::after {
  content: '+';
  font-family: var(--font-data);
  font-size: 1.4rem;
  line-height: 1;
  color: #F2C14E;
  transition: transform 0.3s var(--ease-out);
  flex: 0 0 auto;
}
.accordion-item[data-open] .accordion-trigger::after { transform: rotate(45deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-out); }
.accordion-item[data-open] .accordion-panel { max-height: 600px; }
.accordion-content { padding: 0 0 20px; color: #B6C8E3; line-height: 1.85; max-width: 70ch; }

/* ========== Breadcrumb ========== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-data);
  font-size: 0.82rem;
  color: #B6C8E3;
  margin-bottom: 18px;
}
.breadcrumb-link { color: #B6C8E3; text-decoration: none; transition: color 0.2s; }
.breadcrumb-link:hover { color: #F2C14E; }
.breadcrumb-separator { color: #F2C14E; opacity: 0.7; }
.breadcrumb-current { color: #FFFFFF; }

/* ========== Image Frame ========== */
.img-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #11254A, #0A1834);
  border: 1px solid rgba(242, 193, 78, 0.16);
  min-height: 240px;
}
.img-frame:empty::before {
  content: 'IMAGE';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-data);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  color: rgba(242, 193, 78, 0.5);
}
.img-frame img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.img-frame:hover img { transform: scale(1.04); }

/* ========== Reveal & Back To Top ========== */
html.js-enabled .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
html.js-enabled .reveal.is-revealed { opacity: 1; transform: none; }

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 950;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  font-family: var(--font-data);
  color: #F2C14E;
  background: rgba(10, 24, 52, 0.9);
  border: 1px solid rgba(242, 193, 78, 0.45);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s, transform 0.3s var(--ease-out), visibility 0.3s, background 0.25s, color 0.25s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: #F2C14E; color: #0A1834; }

/* ========== Legal Text ========== */
.legal-text {
  background: #E8EDF5;
  color: #1D2B49;
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 46px);
  line-height: 1.95;
  font-size: 0.95rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 16px 40px rgba(0, 0, 0, 0.12);
}
.legal-text h2, .legal-text h3 { color: #0A1834; }
.legal-text a { color: #D3A441; }

/* ========== Keyframes ========== */
@keyframes live-pulse {
  0%, 100% { transform: scale(0.9); opacity: 0.55; }
  50% { transform: scale(1); opacity: 1; }
}
@keyframes live-ping {
  0% { transform: scale(0.6); opacity: 0.9; }
  80%, 100% { transform: scale(1.6); opacity: 0; }
}
@keyframes data-flow {
  to { background-position: -80px 0; }
}

/* ========== Reduced Motion ========== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  html.js-enabled .reveal { opacity: 1; transform: none; transition: none; }
  .back-to-top { transition: none; }
}
