/* =========================================================
   EmboData - Design System
   Dark tech style for embodied AI data company
   ========================================================= */
:root {
  --bg: #0b0f1a;
  --bg-2: #0e1424;
  --bg-3: #101828;
  --surface: #121a2e;
  --surface-2: #16203a;
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.28);
  --text: #f1f5f9;
  --text-2: #94a3b8;
  --text-3: #64748b;
  --accent: #22d3ee;
  --accent-2: #3b82f6;
  --accent-3: #a78bfa;
  --accent-soft: rgba(34, 211, 238, 0.1);
  --accent-glow: rgba(34, 211, 238, 0.35);
  --green: #34d399;
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1200px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

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

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11, 15, 26, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand img { height: 34px; width: auto; }
.brand .brand-mark {
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; color: #04121a;
}
.brand em { font-style: normal; color: var(--accent); }

.main-nav { min-width: 0; }
.main-nav a { white-space: nowrap; }
.main-nav ul { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  display: block; padding: 7px 12px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--text-2);
  transition: all 0.2s ease;
}
.main-nav a:hover, .main-nav a.inmenu_1 { color: var(--text); background: rgba(148, 163, 184, 0.1); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 10px; font-size: 14.5px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: all 0.2s ease;
  font-family: var(--font); white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #04121a;
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.3), 0 8px 24px -8px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-1px); color: #04121a; box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.5), 0 12px 28px -8px var(--accent-glow); }
.btn-ghost { background: rgba(148, 163, 184, 0.08); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: rgba(148, 163, 184, 0.14); color: var(--text); border-color: var(--accent); }
.btn-sm { padding: 8px 16px; font-size: 13.5px; }
.btn-block { width: 100%; }

.nav-toggle { display: none; background: none; border: 1px solid var(--border-strong); border-radius: 8px; width: 40px; height: 40px; cursor: pointer; color: var(--text); font-size: 18px; line-height: 1; }

/* ---------- hero ---------- */
.hero {
  position: relative; padding: 168px 0 96px; overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 70% -10%, rgba(34, 211, 238, 0.14), transparent 60%),
    radial-gradient(ellipse 60% 40% at 10% 110%, rgba(59, 130, 246, 0.1), transparent 60%),
    var(--bg);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background-image: linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
}
.hero .container { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft);
  border: 1px solid rgba(34, 211, 238, 0.25); border-radius: 100px; padding: 6px 14px; margin-bottom: 26px;
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.hero h1 {
  font-size: clamp(38px, 5.4vw, 62px); font-weight: 800; line-height: 1.08;
  letter-spacing: -0.03em; max-width: 860px; margin-bottom: 24px;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--accent) 10%, var(--accent-2) 60%, var(--accent-3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: clamp(16px, 1.8vw, 19px); color: var(--text-2); max-width: 640px; margin-bottom: 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

/* ---------- hero video background ---------- */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.82) 0%, rgba(2, 6, 23, 0.5) 42%, rgba(2, 6, 23, 0.87) 100%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.68) 0%, rgba(2, 6, 23, 0.18) 55%, transparent 78%);
}
.hero-video-badge {
  position: absolute;
  top: 104px;
  right: 32px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(2, 6, 23, 0.72);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 100px;
  padding: 5px 12px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
}
.hero-video-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@media (max-width: 768px) {
  .hero-video-badge { display: none; }
}

.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.stat-cell { background: var(--bg-2); padding: 26px 28px; position: relative; transition: background 0.3s ease; }
.stat-cell::after {
  content: ""; position: absolute; left: 28px; right: 28px; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}
.stat-cell.visible::after { transform: scaleX(1); }
.stat-cell:hover { background: rgba(34, 211, 238, 0.04); }
.stat-num {
  font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -0.02em; font-family: var(--mono);
  font-variant-numeric: tabular-nums; line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 0%, #bae6fd 45%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 0 14px rgba(34, 211, 238, 0.28));
}
.stat-num .suffix {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin-left: 2px; display: inline-block;
  animation: suffixPop 2.6s ease-in-out infinite;
}
@keyframes suffixPop {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(-3px); opacity: 0.75; }
}
.stat-label { font-size: 13.5px; color: var(--text-3); margin-top: 6px; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-2); }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-tag {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px; display: block;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 750; letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 14px; }
.section-head p { color: var(--text-2); font-size: 16.5px; }

/* ---------- cards grid ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 28px; transition: all 0.25s ease; position: relative; overflow: hidden;
}
.card:hover { border-color: rgba(34, 211, 238, 0.4); transform: translateY(-3px); background: var(--surface-2); }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  background: var(--accent-soft); border: 1px solid rgba(34, 211, 238, 0.25);
  display: flex; align-items: center; justify-content: center; color: var(--accent);
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 18.5px; font-weight: 650; letter-spacing: -0.01em; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--text-2); }
.card .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--accent); }
.card .card-link:hover { gap: 10px; }

/* ---------- scenario cards ---------- */
.scenario-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.scenario-card {
  position: relative;
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  aspect-ratio: 1024 / 712;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.scenario-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.scenario-card:hover { border-color: rgba(34, 211, 238, 0.45); transform: translateY(-2px); }
.scenario-card:hover img { transform: scale(1.06); }
.scenario-card figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 46px 16px 15px;
  background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.55) 38%, rgba(2, 6, 23, 0.96));
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.scenario-card .sc-dot { width: 9px; height: 9px; border-radius: 2px; background: var(--accent); flex: none; opacity: 0.95; box-shadow: 0 0 8px rgba(34, 211, 238, 0.5); }
.scenario-card:nth-child(2n) .sc-dot { background: var(--accent-2); }
.scenario-card:nth-child(3n) .sc-dot { background: var(--accent-3); }
.scenario-card:nth-child(4n) .sc-dot { background: var(--green); }

/* ---------- data structure ---------- */
.struct-wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.modality-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.modality-tag {
  font-family: var(--mono); font-size: 12.5px; padding: 7px 13px; border-radius: 8px;
  background: var(--bg-3); border: 1px solid var(--border-strong); color: var(--text-2);
}
.modality-tag.hot { color: var(--accent); border-color: rgba(34, 211, 238, 0.35); background: var(--accent-soft); }

.code-panel {
  background: #0a0f1c; border: 1px solid var(--border-strong); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6);
}
.code-head {
  display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  border-bottom: 1px solid var(--border); background: rgba(148, 163, 184, 0.04);
}
.code-head .cdot { width: 10px; height: 10px; border-radius: 50%; }
.code-head .cdot:nth-child(1) { background: #f87171; }
.code-head .cdot:nth-child(2) { background: #fbbf24; }
.code-head .cdot:nth-child(3) { background: #34d399; }
.code-head span { margin-left: 8px; font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.code-body { padding: 20px 22px; font-family: var(--mono); font-size: 13px; line-height: 1.8; color: var(--text-2); overflow-x: auto; }
.code-body .k { color: var(--accent-3); }
.code-body .s { color: var(--green); }
.code-body .n { color: var(--accent); }
.code-body .c { color: var(--text-3); }

/* ---------- process steps ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.process-step { position: relative; padding: 28px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.process-step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--accent);
  display: block; margin-bottom: 14px; letter-spacing: 0.1em;
}
.process-step h3 { font-size: 17px; font-weight: 650; margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--text-2); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 50% 120%, rgba(34, 211, 238, 0.18), transparent 70%),
    var(--bg-3);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 72px 0; text-align: center;
}
.cta-band h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 750; letter-spacing: -0.025em; margin-bottom: 14px; }
.cta-band p { color: var(--text-2); max-width: 520px; margin: 0 auto 30px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  padding: 148px 0 64px;
  background:
    radial-gradient(ellipse 70% 60% at 50% -20%, rgba(34, 211, 238, 0.12), transparent 65%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-hero .container { position: relative; }
.breadcrumb { font-size: 13px; color: var(--text-3); margin-bottom: 20px; font-family: var(--mono); }
.breadcrumb a { color: var(--text-2); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 16px; }
.page-hero .lead { font-size: 17px; color: var(--text-2); max-width: 680px; }

/* ---------- filter bar ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-btn {
  padding: 8px 18px; border-radius: 100px; font-size: 13.5px; font-weight: 550;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-2);
  cursor: pointer; transition: all 0.2s ease; font-family: var(--font);
}
.filter-btn:hover { color: var(--text); border-color: var(--border-strong); }
.filter-btn.active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }

/* ---------- dataset card ---------- */
.ds-card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: all 0.25s ease;
}
.ds-card:hover { border-color: rgba(34, 211, 238, 0.4); transform: translateY(-3px); }
.ds-card .ds-visual { height: 168px; position: relative; overflow: hidden; background: var(--bg-3); }
.ds-card .ds-visual img { width: 100%; height: 100%; object-fit: cover; }
.ds-card .ds-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.ds-card .ds-scenario {
  font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.ds-card h3 { font-size: 19px; font-weight: 650; letter-spacing: -0.01em; margin-bottom: 8px; }
.ds-card h3 a:hover { color: var(--accent); }
.ds-card .ds-desc { font-size: 14px; color: var(--text-2); margin-bottom: 18px; flex: 1; }
.ds-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.ds-meta .m { font-family: var(--mono); font-size: 11.5px; color: var(--text-2); background: var(--bg-3); border: 1px solid var(--border); padding: 4px 9px; border-radius: 6px; }
.ds-meta .m b { color: var(--text); font-weight: 600; }
.ds-card .ds-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--border); }
.ds-card .ds-foot .link { font-size: 14px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.ds-card .ds-foot .link:hover { gap: 10px; }

/* ---------- detail page ---------- */
.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: start; }
.detail-main { min-width: 0; }
.detail-side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 20px; }

.spec-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.spec-box h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
.spec-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.spec-row:last-child { border-bottom: none; }
.spec-row .k { color: var(--text-3); flex: none; }
.spec-row .v { color: var(--text); font-weight: 550; text-align: right; font-family: var(--mono); font-size: 13px; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 40px; }
.stat-tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; }
.stat-tile .num { font-family: var(--mono); font-size: 24px; font-weight: 700; color: var(--accent); letter-spacing: -0.02em; }
.stat-tile .lab { font-size: 12.5px; color: var(--text-3); margin-top: 4px; }

.rich-content { font-size: 15.5px; color: var(--text-2); }
.rich-content h2 { font-size: 22px; font-weight: 700; color: var(--text); margin: 36px 0 14px; letter-spacing: -0.015em; }
.rich-content h3 { font-size: 17.5px; font-weight: 650; color: var(--text); margin: 28px 0 12px; }
.rich-content p { margin-bottom: 14px; }
.rich-content ul, .rich-content ol { margin: 0 0 16px 0; }
.rich-content li { padding-left: 22px; position: relative; margin-bottom: 8px; }
.rich-content ul li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); }
.rich-content strong { color: var(--text); font-weight: 650; }
.rich-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- article (research) ---------- */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 44px; align-items: start; }
.article-meta { display: flex; align-items: center; gap: 14px; font-size: 13.5px; color: var(--text-3); margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.article-meta .a-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #04121a; }

.news-card { display: flex; gap: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; transition: all 0.25s ease; }
.news-card:hover { border-color: rgba(34, 211, 238, 0.4); transform: translateY(-2px); }
.news-card .n-img { width: 200px; flex: none; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-3); }
.news-card .n-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.news-card .n-body { flex: 1; min-width: 0; }
.news-card .n-date { font-family: var(--mono); font-size: 12.5px; color: var(--text-3); margin-bottom: 8px; }
.news-card h3 { font-size: 18px; font-weight: 650; letter-spacing: -0.01em; margin-bottom: 8px; }
.news-card .n-text { font-size: 14px; color: var(--text-2); margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .n-more { font-size: 13.5px; font-weight: 600; color: var(--accent); }

.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.article-nav a { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; font-size: 14px; }
.article-nav a:hover { border-color: rgba(34, 211, 238, 0.4); }
.article-nav .lab { font-size: 12px; color: var(--text-3); display: block; margin-bottom: 6px; font-family: var(--mono); }

/* ---------- forms ---------- */
.form-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.form-field label .req { color: var(--accent); }
.form-field input, .form-field textarea, .form-field select {
  background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  padding: 11px 14px; font-size: 14.5px; color: var(--text); font-family: var(--font);
  transition: border-color 0.2s ease; width: 100%;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--text-3); margin-top: 14px; }

/* ---------- contact info ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.info-list { display: flex; flex-direction: column; gap: 14px; }
.info-item { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 20px; }
.info-item .i-icon { width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--accent-soft); border: 1px solid rgba(34, 211, 238, 0.25); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.info-item .i-icon svg { width: 18px; height: 18px; }
.info-item .i-lab { font-size: 12.5px; color: var(--text-3); margin-bottom: 2px; }
.info-item .i-val { font-size: 15px; font-weight: 600; color: var(--text); word-break: break-all; }

/* ---------- faq ---------- */
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq-item .faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; background: none; border: none; color: var(--text); font-size: 15.5px; font-weight: 600; cursor: pointer; font-family: var(--font); text-align: left; }
.faq-item .faq-q .fx { color: var(--accent); font-size: 18px; flex: none; transition: transform 0.2s ease; }
.faq-item.open .faq-q .fx { transform: rotate(45deg); }
.faq-item .faq-a { display: none; padding: 0 22px 20px; font-size: 14.5px; color: var(--text-2); }
.faq-item.open .faq-a { display: block; }

/* ---------- timeline ---------- */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(180deg, var(--accent), rgba(34, 211, 238, 0.05)); }
.timeline-item { position: relative; padding-bottom: 32px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: -25px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.timeline-item .t-year { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
.timeline-item h3 { font-size: 16.5px; font-weight: 650; margin-bottom: 6px; }
.timeline-item p { font-size: 14px; color: var(--text-2); }

/* ---------- search ---------- */
.search-panel { max-width: 640px; margin: 0 auto; }
.search-panel .search-form { display: flex; gap: 10px; }
.search-panel input {
  flex: 1; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  padding: 13px 18px; font-size: 15px; color: var(--text); font-family: var(--font);
}
.search-panel input:focus { outline: none; border-color: var(--accent); }
.search-result-item { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 22px; margin-bottom: 12px; }
.search-result-item:hover { border-color: rgba(34, 211, 238, 0.4); }
.search-result-item h3 { font-size: 16.5px; font-weight: 650; margin-bottom: 6px; }
.search-result-item p { font-size: 13.5px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- pagination ---------- */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span {
  min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; font-size: 14px; font-weight: 550; padding: 0 10px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-2);
}
.pagination a:hover { color: var(--accent); border-color: var(--accent); }
.pagination .current { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--border); }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; padding: 64px 0 48px; }
.footer-brand p { font-size: 14px; color: var(--text-2); margin: 16px 0 20px; max-width: 300px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 9px; background: var(--surface); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-2); }
.footer-social a:hover { color: var(--accent); border-color: var(--accent); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14px; color: var(--text-2); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: 13px; color: var(--text-3); }
.footer-bottom .fb-links { display: flex; gap: 20px; }
.footer-bottom .fb-links a { font-size: 13px; color: var(--text-3); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .grid-4, .scenario-grid, .process { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .struct-wrap, .detail-layout, .article-layout, .contact-layout { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  /* backdrop-filter makes .site-header the containing block for position:fixed
     descendants, which collapsed the mobile dropdown panel to zero height.
     Disable it on mobile so the panel positions against the viewport. */
  .site-header { background: #121a2e; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .main-nav {
    position: fixed; top: 68px; left: 0; right: 0; bottom: 0; z-index: 95;
    background: #121a2e;
    padding: 24px; display: none; border-top: 1px solid var(--border);
    overflow-y: auto;
  }
  .main-nav.open { display: block; background: #121a2e; }
  .main-nav a { color: var(--text); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a { padding: 13px 16px; font-size: 16px; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .header-actions .btn { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 132px 0 72px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .news-card { flex-direction: column; }
  .news-card .n-img { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; padding: 44px 0 32px; }
  .article-nav { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .grid-4, .scenario-grid, .process { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
}

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.ci-item { display: flex; gap: 16px; align-items: flex-start; }
.ci-icon { width: 42px; height: 42px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--accent-soft); border: 1px solid rgba(34, 211, 238, 0.22); color: var(--accent); }
.ci-icon svg { width: 19px; height: 19px; }
.ci-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.ci-item a { color: var(--text); font-weight: 600; font-size: 16px; }
.ci-item a:hover { color: var(--accent); }
.ci-note { font-size: 13.5px; color: var(--text-3); margin: 4px 0 0; }

/* ---------- forms ---------- */
.site-form { display: flex; flex-direction: column; gap: 18px; margin-top: 8px; }
.form-lead { font-size: 14px; color: var(--text-3); margin-top: -6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-panel h2 { font-size: 24px; font-weight: 750; letter-spacing: -0.02em; margin-bottom: 6px; }

/* ---------- search hero form ---------- */
.search-hero-form { display: flex; gap: 10px; max-width: 560px; margin-top: 28px; }
.search-hero-form input { flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 13px 16px; color: var(--text); font-size: 15px; font-family: var(--font); }
.search-hero-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.search-hero-form .btn { flex: none; }

/* ---------- chip ---------- */
.chip { display: inline-block; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(34, 211, 238, 0.25); border-radius: 999px; padding: 3px 10px; vertical-align: middle; margin-left: 8px; }

/* ---------- faq / timeline aliases ---------- */
.faq-item .faq-q .faq-icon { color: var(--accent); font-size: 18px; flex: none; font-weight: 400; transition: transform 0.2s ease; }
.faq-item.open .faq-q .faq-icon { transform: rotate(45deg); }
.timeline-item .timeline-year { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
.timeline-item .timeline-body h3 { font-size: 16.5px; font-weight: 650; margin-bottom: 6px; }
.timeline-item .timeline-body p { font-size: 14px; color: var(--text-2); }

@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
  .search-hero-form { flex-direction: column; }
  .search-hero-form .btn { width: 100%; }
}
