/* ==========================================================================
   Shared styles — 韩国股票落地页（深色金融主题）
   Design reference: Figma 市场研究首页 / 收集信息页（桌面端 + H5）
   ========================================================================== */

:root {
  /* ---- Core palette (Figma: 市场研究/展开) ---- */
  --bg: #0f1114;
  --bg-card: #15181d;
  --bg-elevated: #15181d;
  --bg-input: #15181d;
  --bg-hover: #1a1e24;
  --bg-1: #14171c;

  --accent: #fad228;
  --accent-hover: #e8c31f;
  --accent-soft: rgba(250, 210, 40, 0.1);

  --text: #ffffff;
  --text-secondary: #7f8997;
  --text-muted: #7f8997;
  --text-placeholder: #57585c;
  --text-dark: #0f1114;

  --border: #1f2228;
  --border-light: #1f2228;

  --danger: #e54d5e;
  --ok: #3db86b;
  --warning: #f59505;

  /* ---- Spacing / Radius ---- */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 6px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --maxw: 1200px;
  --nav-h: 64px;

  /* ---- Type ---- */
  --font:
    "PingFang SC", "PingFang TC", -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft JhengHei",
    "Noto Sans CJK TC", "Apple SD Gothic Neo", "Noto Sans KR", Roboto, Helvetica, Arial, sans-serif;
}

/* ====================================================================
 * Reset & Base
 * ==================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
::selection {
  background: var(--accent);
  color: var(--text-dark);
}

h1,
h2,
h3,
h4 {
  line-height: 1.3;
  margin: 0 0 0.5em;
  color: var(--text);
}
p {
  margin: 0 0 1em;
}

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

/* ====================================================================
 * Typography helpers
 * ==================================================================== */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-size: 30px;
  font-weight: 800;
}
.lede {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
}
.muted {
  color: var(--text-muted);
  font-size: 14px;
}

/* ====================================================================
 * Buttons
 * ==================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  white-space: nowrap;
  user-select: none;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--accent);
  color: var(--text-dark);
  box-shadow: 0 4px 20px rgba(250, 210, 40, 0.25);
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 24px rgba(250, 210, 40, 0.35);
}
.btn-gold {
  background: var(--accent);
  color: var(--text-dark);
} /* alias */
.btn-gold:hover {
  background: var(--accent-hover);
}
.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
  font-weight: 600;
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-block {
  width: 100%;
}
.btn[disabled],
.btn.is-loading {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

/* ====================================================================
 * Language switcher
 * ==================================================================== */
.lang-switch {
  display: inline-flex;
  gap: 2px;
  background: var(--bg-elevated);
  padding: 3px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
}
.lang-switch[hidden] {
  display: none !important;
}
.lang-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  transition: all 0.15s ease;
}
.lang-btn.active {
  background: var(--bg-hover);
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* ====================================================================
 * Navigation
 * ==================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 100%;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 17px;
  color: var(--text);
  letter-spacing: 0.04em;
  flex: none;
  white-space: nowrap;
}
.nav-logo span {
  color: var(--accent);
}
.nav-logo-text:empty {
  display: none;
}
.nav-logo-text {
  color: #fefefe !important;
  font-family: "PingFang SC";
  font-size: 20.217px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
}
html[lang="ko"] .nav-logo img,
html[lang="en"] .nav-logo img {
  display: none;
}
html[lang="zh-Hant"] .nav-logo-text {
  display: none;
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover {
  color: var(--text);
}
.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}
.nav-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 15px;
  flex: none;
  aspect-ratio: 1;
  overflow: hidden;
  padding: 0;
}
.nav-icon-btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  max-width: none;
}
.lang-trigger img {
  width: 20px;
  height: 20px;
}
.nav-icon-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ====================================================================
 * HERO — Site A
 * ==================================================================== */
.hero {
  padding: 100px 0 80px;
  overflow: hidden;
  background: radial-gradient(120% 100% at 70% 50%, rgba(250, 210, 40, 0.03), transparent 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
}
.hero .lede {
  max-width: 480px;
  margin-bottom: 30px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero right — chart mockup area */
.hero-art {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art-inner {
  width: 88%;
  height: 82%;
  background: var(--bg-input);
  border-radius: 10px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
/* Fake stock chart inside hero art */
.hero-chart {
  flex: 1;
  position: relative;
  background: linear-gradient(180deg, transparent 60%, rgba(250, 210, 40, 0.05) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  gap: 4px;
}
.hero-chart-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--accent), rgba(250, 210, 40, 0.3));
  border-radius: 3px 3px 0 0;
  min-height: 20px;
  opacity: 0.7;
  animation: chartPulse 3s ease-in-out infinite alternate;
}
@keyframes chartPulse {
  from {
    opacity: 0.5;
  }
  to {
    opacity: 0.9;
  }
}
.hero-chart-label {
  position: absolute;
  top: 14px;
  left: 16px;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}
.hero-chart-price {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
}
/* Floating coin decorations */
.coin-deco {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c8aa58, #8b7323);
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
  z-index: 2;
}
.coin-deco.c1 {
  top: -10px;
  left: -16px;
  transform: rotate(-15deg);
}
.coin-deco.c2 {
  bottom: -12px;
  right: -10px;
  transform: rotate(20deg);
  width: 44px;
  height: 44px;
  font-size: 16px;
}

/* ====================================================================
 * HERO — Site B (lead form page)
 * ==================================================================== */
.site-b-hero .hero-grid {
  align-items: flex-start;
}
.site-b-hero h1 {
  font-size: 36px;
}

/* Data points — big numbers */
.data-points {
  display: flex;
  gap: 40px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.data-point .num {
  font-size: 38px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  display: block;
}
.data-point .lbl {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

/* Sticky CTA card (right side of Site B hero) */
.sticky-cta-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  max-width: 320px;
  margin-left: auto;
}
.sticky-cta-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
  line-height: 1.4;
}
.sticky-cta-card p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.6;
}
.sticky-cta-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.sticky-cta-card li {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 5px 0;
  padding-left: 18px;
  position: relative;
}
.sticky-cta-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ====================================================================
 * Trust strip — dark bar with 3 items
 * ==================================================================== */
.trust-strip {
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 24px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trust-item {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}
.trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  flex: none;
  font-size: 16px;
}

/* ====================================================================
 * Feature / overview cards (icon + title + desc)
 * ==================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}
.card:hover {
  border-color: var(--border);
  transform: translateY(-2px);
}
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-size: 26px;
}
.card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.card p {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0;
  line-height: 1.65;
}
.card-kicker {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

/* ====================================================================
 * Numbered steps (horizontal with arrows)
 * ==================================================================== */
.steps-row {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.step-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  transition: border-color 0.2s ease;
}
.step-card:hover {
  border-color: var(--border);
}
.step-num {
  font-size: 32px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}
.step-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.step-card p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}
.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 20px;
  padding: 0 8px;
  flex: none;
}

/* Vertical steps (for prep steps etc.) */
.steps-vertical {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.step-v {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: border-color 0.2s ease;
}
.step-v:hover {
  border-color: var(--border);
}
.step-v-no {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 15px;
}
.step-v-body h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
}
.step-v-body p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.55;
}

/* Grid steps (2×2 evidence order) */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.step-grid-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s ease;
}
.step-grid-item:hover {
  border-color: var(--border);
}
.step-grid-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.step-grid-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.step-grid-item p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

/* ====================================================================
 * Convert band / CTA section
 * ==================================================================== */
.convert-band {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 64px 40px;
  text-align: center;
}
.convert-band h2 {
  font-size: 28px;
  margin-bottom: 12px;
}
.convert-band p {
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 28px;
  font-size: 15px;
}

/* ====================================================================
 * FAQ Accordion
 * ==================================================================== */
.faq-section {
  background: var(--bg);
}
.faq-header {
  text-align: center;
  margin-bottom: 36px;
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}
.faq-item:last-child {
  border-bottom: none;
}
.fq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 0;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.15s ease;
}
.fq-q:hover {
  color: var(--accent);
}
.fq-q .fq-toggle {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 14px;
  color: var(--text-muted);
  transition: all 0.2s ease;
}
.faq-item.open .fq-q .fq-toggle {
  background: var(--accent);
  color: var(--text-dark);
  border-color: var(--accent);
  transform: rotate(45deg);
}
.fq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.fq-a-inner {
  padding: 0 0 20px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

/* ====================================================================
 * Analyst cards
 * ==================================================================== */
.analyst-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.analyst-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}
.analyst-card:hover {
  border-color: var(--border);
  transform: translateY(-3px);
}
.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-input));
  border: 2px solid var(--border);
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-secondary);
  overflow: hidden;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.analyst-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
.analyst-card .a-field {
  font-size: 12px;
  color: var(--text-muted);
  margin: 3px 0;
  display: flex;
  justify-content: center;
  gap: 4px;
}
.analyst-card .a-field b {
  color: var(--text-secondary);
  font-weight: 600;
}
.analyst-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  margin-top: 10px;
}
.analyst-note {
  background: var(--bg-elevated);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  text-align: center;
}

/* ====================================================================
 * Form (Site B lead form)
 * ==================================================================== */
.form-section {
  background: var(--bg);
}
.form-intro {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.65;
}
.mock-hint {
  background: rgba(250, 210, 40, 0.08);
  border: 1px solid rgba(250, 210, 40, 0.25);
  color: var(--accent);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 13px;
  margin-bottom: 20px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field.full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.field label .req {
  color: var(--danger);
  margin-left: 3px;
}
.field label .opt {
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 6px;
  font-size: 11px;
}

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 14px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  color: var(--text);
  width: 100%;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-muted);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239A9AAF' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(250, 210, 40, 0.12);
}
.field textarea {
  resize: none;
  height: 130px;
  padding-bottom: 30px;
}
.textarea-wrap {
  position: relative;
}
.textarea-wrap .char-count {
  position: absolute;
  right: 12px;
  bottom: 16px;
  margin: 0;
  line-height: 1;
  pointer-events: none;
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: var(--danger);
}
.field .err {
  color: var(--danger);
  font-size: 12px;
  min-height: 15px;
}
.char-count {
  font-size: 12px;
  color: var(--text-muted);
  text-align: right;
}

/* Collapse toggle */
.collapse-toggle {
  margin: 12px 0 4px;
}
.collapse-toggle button {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 18px;
  font-size: 13px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.collapse-toggle button:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.collapsed {
  display: none;
}
.collapsed.show {
  display: grid;
  animation: fadeSlideIn 0.25s ease;
}
@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Agreements */
.agreements {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}
.agree {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 7px 0;
  cursor: pointer;
}
.agree input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex: none;
  accent-color: var(--accent);
  cursor: pointer;
}
.agree span {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}
.agree.all {
  font-weight: 700;
}
.agree.all span {
  color: var(--text);
}
.agree.invalid span {
  color: var(--danger);
}
#agree-err {
  color: var(--danger);
  font-size: 12px;
  margin-top: 4px;
}

.form-actions {
  margin-top: 24px;
}
.form-status {
  margin-top: 16px;
  font-size: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  display: none;
}
.form-status.ok {
  display: block;
  background: rgba(61, 184, 107, 0.1);
  color: var(--ok);
  border: 1px solid rgba(61, 184, 107, 0.25);
}
.form-status.err {
  display: block;
  background: rgba(229, 77, 94, 0.1);
  color: var(--danger);
  border: 1px solid rgba(229, 77, 94, 0.25);
}

.toast {
  position: fixed;
  top: calc(var(--nav-h, 54px) + 12px);
  right: 16px;
  z-index: 9999;
  max-width: min(360px, calc(100vw - 32px));
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #fff;
  background: var(--bg-card);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
}
.toast-ok {
  color: var(--ok);
}
.toast-err {
  color: var(--danger);
}

/* ====================================================================
 * Footer / Risk disclaimer
 * ==================================================================== */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  padding: 40px 0;
}
.risk-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.75;
  text-align: center;
}
.footer-meta {
  margin-top: 14px;
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.6;
}

/* ====================================================================
 * Section divider / alternating bg
 * ==================================================================== */
.alt-bg {
  background: var(--bg-card);
}
.section-divider {
  height: 1px;
  background: var(--border-light);
  margin: 0;
  border: none;
}

/* ====================================================================
 * Responsive — Tablet
 * ==================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-art {
    max-width: 520px;
    margin: 0 auto;
  }
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
  .analyst-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-row {
    flex-wrap: wrap;
    gap: 12px;
  }
  .step-card {
    flex: 1 1 calc(50% - 6px);
  }
  .step-arrow {
    display: none;
  }
  .sticky-cta-card {
    position: static;
    max-width: 100%;
    margin-top: 24px;
  }
  .data-points {
    gap: 28px;
  }
}

/* ====================================================================
 * Responsive — Mobile (H5)
 * ==================================================================== */
@media (max-width: 720px) {
  section {
    padding: 56px 0;
  }
  .hero {
    padding: 60px 0 48px;
  }
  .hero h1 {
    font-size: 28px;
  }
  .site-b-hero h1 {
    font-size: 24px;
  }
  .section-title {
    font-size: 24px;
  }

  .nav-links {
    display: none;
  }
  .nav-right .btn {
    display: none;
  } /* hide CTA on mobile nav, keep lang switch */

  .nav-logo-text {
    font-size: 18px;
  }

  .card-grid,
  .steps-grid,
  .analyst-grid {
    grid-template-columns: 1fr;
  }
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }

  .data-points {
    gap: 20px;
  }
  .data-point .num {
    font-size: 28px;
  }

  .convert-band {
    padding: 40px 24px;
  }
  .convert-band h2 {
    font-size: 22px;
  }

  .step-card {
    padding: 20px 18px;
  }
  .step-num {
    font-size: 26px;
  }

  .steps-vertical {
    gap: 10px;
  }
  .step-v {
    padding: 16px 18px;
  }

  .form-wrap {
    padding: 0 0 10px !important;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 24px;
  }
  .section-title {
    font-size: 21px;
  }
  .container {
    padding: 0 16px;
  }
}
