:root {
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-light: #3b82f6;
  --cyan: #22d3ee;
  --ink: #0f172a;
  --ink-2: #1e293b;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-soft2: #f1f5f9;
  --dark: #0a0f1f;
  --dark-2: #0e1730;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(2, 6, 23, .06);
  --shadow-lg: 0 24px 60px rgba(2, 6, 23, .12);
  --maxw: 1160px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
/* the hidden attribute must always win over display rules (.assistant-panel,
   .btn, etc. set display, which would otherwise override [hidden]) */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4, h5 { line-height: 1.2; letter-spacing: -.02em; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }
.container.auth-narrow { max-width: 460px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.hero-emphasis { color: #60a5fa; font-weight: 800; }
.grad { color: var(--brand-light); font-weight: 700; }

/* ---------------- Nav ---------------- */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.82);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: background .3s, border-color .3s; }
.has-dark-hero .nav { background: rgba(10,15,31,.55); border-bottom-color: rgba(255,255,255,.08); }
.has-dark-hero .nav .nav-links a:not(.btn) { color: rgba(255,255,255,.78); }
.has-dark-hero .nav .nav-links a:not(.btn):hover { color: #fff; }
.has-dark-hero .nav .brand-sub { color: #fff; }
.has-dark-hero .nav .btn-ghost { color: #fff; border-color: rgba(255,255,255,.25); }
.has-dark-hero .nav .btn-ghost:hover { background: rgba(255,255,255,.1); }
.has-dark-hero .nav.scrolled { background: rgba(255,255,255,.92); border-bottom-color: var(--line); }
.has-dark-hero .nav.scrolled .nav-links a:not(.btn) { color: var(--muted); }
.has-dark-hero .nav.scrolled .nav-links a:not(.btn):hover { color: var(--ink); }
.has-dark-hero .nav.scrolled .brand-sub { color: var(--ink); }
.has-dark-hero .nav.scrolled .btn-ghost { color: var(--ink); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; font-size: 1.3rem; }
.brand-logo { width: 28px; height: 28px; object-fit: contain; display: block; }
.brand-wordmark { display: inline-flex; align-items: baseline; gap: 2px; }
.brand-mark { color: var(--brand); }
.brand-sub { color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a:not(.btn) { color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.has-dark-hero .nav-toggle { color: #fff; }
.has-dark-hero .nav.scrolled .nav-toggle { color: var(--ink); }

/* ---------------- Buttons ---------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius-sm); font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; transition: all .18s; white-space: nowrap; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(37,99,235,.28); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-glass { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); color: #fff; backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255,255,255,.18); }
.btn-voice {
  background: linear-gradient(100deg, rgba(37,99,235,.12), rgba(34,211,238,.14));
  border-color: rgba(37,99,235,.2);
  color: var(--brand-dark);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.4);
}
.btn-voice:hover {
  background: linear-gradient(100deg, rgba(37,99,235,.18), rgba(34,211,238,.2));
  border-color: rgba(37,99,235,.32);
  transform: translateY(-1px);
}
.has-dark-hero .nav .btn-voice {
  color: #e0f2fe;
  background: linear-gradient(100deg, rgba(37,99,235,.28), rgba(34,211,238,.18));
  border-color: rgba(125,211,252,.3);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.has-dark-hero .nav .btn-voice:hover { background: linear-gradient(100deg, rgba(37,99,235,.36), rgba(34,211,238,.24)); }
.has-dark-hero .nav.scrolled .btn-voice {
  color: var(--brand-dark);
  background: linear-gradient(100deg, rgba(37,99,235,.1), rgba(34,211,238,.12));
  border-color: rgba(37,99,235,.18);
}
.btn-lg { padding: 14px 28px; font-size: 1.02rem; border-radius: 12px; }
.w-full { width: 100%; }

/* ---------------- Flash ---------------- */
.flash-wrap { position: relative; z-index: 5; }
.flash { margin: 14px 0 0; padding: 12px 16px; border-radius: var(--radius-sm); font-size: .92rem; }
.flash-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.flash-danger { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ---------------- Hero (dark + 3D) ---------------- */
.hero { position: relative; background: var(--dark); color: #fff; overflow: hidden;
  padding: 120px 0 110px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 60% at 75% 30%, rgba(37,99,235,.32), transparent 60%),
    radial-gradient(50% 50% at 20% 80%, rgba(34,211,238,.18), transparent 60%),
    linear-gradient(180deg, #0a0f1f 0%, #0b1226 100%); }
.hero-globe { position: absolute; top: 0; right: 0; width: 60%; height: 100%; z-index: -1;
  opacity: .9; pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; position: relative; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; color: #bfdbfe;
  background: rgba(59,130,246,.16); border: 1px solid rgba(59,130,246,.35);
  padding: 6px 13px; border-radius: 999px; margin-bottom: 20px; }
.hero h1 { font-size: 3.1rem; font-weight: 800; }
.hero .lead { margin: 22px 0 30px; font-size: 1.12rem; color: rgba(255,255,255,.78); max-width: 44ch; }
.hero .lead strong { color: #fff; font-weight: 600; }
.hero-typed { font-size: .98rem; color: rgba(255,255,255,.82); margin: -6px 0 26px;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; }
.hero-typed .ht-prefix { color: rgba(255,255,255,.55); }
.hero-typed .ht-prefix::after { content: '：'; }
.hero-typed #hero-typed { color: #67e8f9; font-weight: 600; }
.hero-typed .ht-caret { color: var(--cyan); animation: blink 1s step-end infinite; margin-left: 1px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 20px; margin-top: 30px; flex-wrap: wrap; font-size: .88rem; color: rgba(255,255,255,.7); }

.hero-side { display: flex; justify-content: flex-end; }
.hero-card { width: 100%; max-width: 380px; background: rgba(15,23,42,.72);
  border: 1px solid rgba(255,255,255,.1); border-radius: 18px; box-shadow: var(--shadow-lg);
  overflow: hidden; backdrop-filter: blur(10px); }
.hero-card-head { display: flex; align-items: center; gap: 9px; padding: 13px 16px; background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.06); }
.status-indicator-live { width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 8px rgba(16,185,129,.6); flex-shrink: 0; }
.hero-card-title { font-size: .84rem; font-weight: 600; color: #f1f5f9; }
.hero-card-head em { margin-left: auto; font-style: normal; font-size: .75rem; color: rgba(255,255,255,.5); }
.hero-card-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.hcr { display: flex; justify-content: space-between; align-items: center;
  background: rgba(255,255,255,.05); color: #e2e8f0; padding: 13px 15px; border-radius: 10px; font-size: .92rem; }
.hcr > span, .roadmap-pill, .case-note, .contact-line > span { display: inline-flex; align-items: center; gap: 7px; }
.hcr > span .ui-icon, .roadmap-pill .ui-icon, .case-note .ui-icon, .contact-line .ui-icon { width: 1.05em; height: 1.05em; }
.hcr em, .hcr-val { font-style: normal; color: #93c5fd; font-weight: 700; }
.hcr-accent { background: rgba(37,99,235,.25); border: 1px solid rgba(37,99,235,.4); }
.hcr-accent .hcr-val { color: #67e8f9; }

/* ---------------- Sections ---------------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head h2 { font-size: 2.1rem; font-weight: 800; }
.section-head h3 { font-size: 1.5rem; font-weight: 800; }
.section-head p { margin-top: 12px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Pain */
.pain-item { display: flex; gap: 14px; padding: 22px; background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius); transition: transform .18s, box-shadow .18s; }
.pain-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ui-icon { width: 1.25em; height: 1.25em; display: inline-block; vertical-align: -0.2em; flex: 0 0 auto; }
.pain-icon .ui-icon, .card-icon .ui-icon, .diff-icon .ui-icon { width: 1.45em; height: 1.45em; }
.pain-icon { color: #2563eb; display: flex; align-items: center; justify-content: center; width: 2.7rem; height: 2.7rem; flex-shrink: 0; border: 1px solid #bfdbfe; border-radius: 12px; background: #eff6ff; }
.pain-item h4 { font-size: 1.05rem; margin-bottom: 5px; }

/* Flow */
.flow { display: flex; align-items: stretch; gap: 12px; flex-wrap: wrap; justify-content: center; }
.flow-step { flex: 1; min-width: 210px; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.flow-no { font-size: 1.6rem; font-weight: 900; color: var(--brand); opacity: .35; }
.flow-step h4 { font-size: 1.15rem; margin: 4px 0; }
.flow-step ul { margin-top: 14px; display: flex; flex-direction: column; gap: 7px; }
.flow-step li { font-size: .9rem; color: var(--ink-2); padding-left: 18px; position: relative; }
.flow-step li::before { content: '✓'; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.flow-arrow { display: flex; align-items: center; color: var(--brand); font-size: 1.5rem; font-weight: 700; opacity: .5; }

/* Capability cards */
.cap-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
.cap-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #c7d2fe; }
.cap-soon { background: linear-gradient(180deg, #fafbff, #f5f7ff); border-style: dashed; }
.cap-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; }
.card-icon { color: #2563eb; font-size: 1.8rem; display: flex; align-items: center; justify-content: center; width: 2.9rem; height: 2.9rem; border: 1px solid #bfdbfe; border-radius: 12px; background: #eff6ff; }
.cap-card h3 { font-size: 1.12rem; margin-bottom: 7px; }
.badge { font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.badge-live { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.badge-soon { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }

/* Design showcase gallery */
.sc-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.sc-tab { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg);
  color: var(--muted); font-weight: 600; font-size: .88rem; font-family: inherit; cursor: pointer; transition: all .15s; }
.sc-tab:hover { border-color: var(--brand-light); color: var(--ink); }
.sc-tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.sc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.sc-card { display: block; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.sc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.sc-thumb { height: 180px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
  padding: 14px 16px; background: #f8fafc; position: relative; overflow: hidden; }
.sc-thumb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform 0.35s ease; z-index: 1; }
.sc-card:hover .sc-thumb-img { transform: scale(1.05); }
.sc-thumb-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 23, 42, 0.48) 0%, rgba(15, 23, 42, 0.05) 40%, rgba(15, 23, 42, 0.65) 100%);
  z-index: 2; transition: background 0.25s ease; }
.sc-card:hover .sc-thumb-overlay { background: linear-gradient(180deg, rgba(15, 23, 42, 0.58) 0%, rgba(15, 23, 42, 0.15) 40%, rgba(15, 23, 42, 0.78) 100%); }
.sc-thumb-tag { position: relative; z-index: 3; background: rgba(15, 23, 42, 0.78); border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff; font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); }
.sc-thumb-open { position: relative; z-index: 3; color: #fff; font-weight: 700; font-size: .88rem; opacity: 0.85;
  transform: translateY(4px); transition: all .2s ease; background: rgba(15, 23, 42, 0.78); border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 12px; border-radius: 6px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sc-card:hover .sc-thumb-open { opacity: 1; transform: translateY(0); background: var(--brand); border-color: var(--brand); }
.sc-thumb-soon { background: var(--bg-soft2); display: flex; align-items: center; justify-content: center; }
.sc-thumb-soon .sc-thumb-tag { background: #e2e8f0; color: var(--muted); border: none; box-shadow: none; }
.sc-card-body { padding: 18px 20px 20px; }
.sc-card-body h4, .sc-card-body h2 { font-size: 1.12rem; font-weight: 800; margin-bottom: 6px; line-height: 1.4; color: var(--ink); }
.sc-card-body p { font-size: .88rem; color: var(--muted); line-height: 1.5; }
.sc-card-langs { display: flex; gap: 6px; margin-top: 14px; align-items: center; }
.sc-card-langs span { font-size: .68rem; font-weight: 700; color: var(--muted); background: var(--bg-soft2);
  padding: 3px 7px; border-radius: 5px; }
.sc-badge-live { background: #ecfdf5 !important; color: #047857 !important; border: 1px solid #a7f3d0 !important; font-weight: 700 !important; }
.sc-card-soon { cursor: default; opacity: .7; }
.sc-card-soon:hover { transform: none; box-shadow: var(--shadow); }

/* AI 出海诊断 quiz (clean / premium / spacious) */
.section-diagnose { background: #fff; }
.quiz { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
.quiz-progress { height: 4px; background: var(--bg-soft2); }
.quiz-progress-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), var(--cyan)); transition: width .45s ease; }
.quiz-stage { padding: 44px; min-height: 300px; }
.quiz-q { animation: quizIn .35s ease; }
@keyframes quizIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.quiz-step { font-size: .78rem; color: var(--muted); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }
.quiz-q h3 { font-size: 1.55rem; font-weight: 800; margin-bottom: 26px; line-height: 1.3; }
.quiz-opts { display: flex; flex-direction: column; gap: 12px; }
.quiz-opt { display: flex; align-items: center; justify-content: space-between; width: 100%; text-align: left;
  padding: 18px 22px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer;
  font-size: 1.02rem; font-weight: 500; color: var(--ink); font-family: inherit; transition: all .15s; }
.quiz-opt:hover { border-color: var(--brand); background: #f5f8ff; transform: translateX(4px); box-shadow: var(--shadow); }
.quiz-opt em { font-style: normal; color: var(--brand); opacity: 0; transition: opacity .15s; font-size: 1.1rem; }
.quiz-opt:hover em { opacity: 1; }

.quiz-analyze { text-align: center; padding: 60px 20px; }
.quiz-spinner { width: 46px; height: 46px; margin: 0 auto 22px; border: 3px solid var(--line);
  border-top-color: var(--brand); border-radius: 50%; animation: quizspin .8s linear infinite; }
@keyframes quizspin { to { transform: rotate(360deg); } }
#quiz-amsg { color: var(--muted); font-size: 1.02rem; }

.quiz-report { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: start; animation: quizIn .4s ease; }
.quiz-score { position: relative; width: 150px; height: 150px; flex-shrink: 0; }
.quiz-ring { width: 150px; height: 150px; transform: rotate(-90deg); }
.quiz-ring .ring-bg { fill: none; stroke: var(--bg-soft2); stroke-width: 9; }
.quiz-ring .ring-fg { fill: none; stroke: var(--brand); stroke-width: 9; stroke-linecap: round; }
.quiz-score-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.quiz-score-num strong { font-size: 2.4rem; font-weight: 800; color: var(--ink); line-height: 1; }
.quiz-score-num span { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.quiz-report-main h3 { font-size: 1.45rem; font-weight: 800; margin-bottom: 10px; }
.quiz-diag { color: var(--ink-2); margin-bottom: 22px; }
.quiz-recs { display: flex; flex-direction: column; gap: 16px; margin-bottom: 22px; }
.quiz-rec { display: flex; gap: 13px; }
.quiz-rec-ic { font-size: 1.5rem; flex-shrink: 0; }
.quiz-rec strong { display: block; margin-bottom: 2px; font-size: 1.02rem; }
.quiz-rec p { font-size: .92rem; }
.quiz-pkg { padding: 14px 18px; background: #f5f8ff; border: 1px solid #dbeafe; border-radius: 12px; margin-bottom: 24px; font-size: .98rem; }
.quiz-pkg strong { color: var(--brand); }
.quiz-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.quiz-restart { background: none; border: 0; color: var(--muted); cursor: pointer; text-decoration: underline; font-family: inherit; font-size: .92rem; }
.quiz-restart:hover { color: var(--ink); }
@media (max-width: 640px) {
  .quiz-stage { padding: 28px 20px; }
  .quiz-q h3 { font-size: 1.3rem; }
  .quiz-report { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 24px; }
  .quiz-rec { text-align: left; }
  .quiz-cta { justify-content: center; }
}

/* AI interactive demo */
.demo-panel { max-width: 880px; margin: 0 auto; background: #0b1226; border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.demo-head { display: flex; align-items: center; gap: 7px; padding: 13px 16px; background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.06); }
.demo-head .dot { width: 11px; height: 11px; border-radius: 50%; background: #475569; }
.demo-head em { margin-left: auto; font-style: normal; font-size: .8rem; color: rgba(255,255,255,.5);
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; }
.demo-body { padding: 22px; }
.demo-controls { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 18px; }
.demo-field { flex: 1; min-width: 150px; }
.demo-field label { display: block; font-size: .8rem; color: rgba(255,255,255,.55); margin-bottom: 6px; }
.demo-field input, .demo-field select { width: 100%; padding: 10px 12px; border-radius: 9px;
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: #e2e8f0; font-size: .92rem; font-family: inherit; }
.demo-field input:focus, .demo-field select:focus { outline: none; border-color: var(--brand-light); }
.demo-field select option { color: #0f172a; }
.demo-controls .btn { white-space: nowrap; }

.demo-log { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: .86rem; }
.demo-log-line { color: #93c5fd; padding: 3px 0; opacity: 0; transform: translateX(-6px); transition: all .25s; }
.demo-log-line.show { opacity: 1; transform: none; }
.demo-spin { color: #22d3ee; }

.demo-leads { margin-top: 18px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 16px; }
.demo-leads-head { display: flex; justify-content: space-between; align-items: baseline; color: #e2e8f0; font-weight: 600; font-size: .92rem; margin-bottom: 10px; }
.demo-leads-head .muted { color: rgba(255,255,255,.45); }
.demo-rows { display: flex; flex-direction: column; gap: 8px; }
.demo-row { display: grid; grid-template-columns: 1.6fr .8fr 1fr .8fr; align-items: center; gap: 10px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 9px; padding: 11px 14px;
  opacity: 0; transform: translateY(6px); transition: all .3s; }
.demo-row.show { opacity: 1; transform: none; }
.demo-co { color: #fff; font-weight: 600; font-size: .92rem; }
.demo-row .muted { color: rgba(255,255,255,.45); }
.demo-mail { color: #34d399; font-size: .82rem; }
.demo-score { color: #fcd34d; font-size: .85rem; font-weight: 700; text-align: right; }
#demo-write { margin-top: 16px; }

.demo-email { margin-top: 18px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 16px; }
.demo-email-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; color: #e2e8f0; font-size: .9rem; }
.demo-email-body { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 9px;
  padding: 16px; color: #cbd5e1; font-size: .88rem; line-height: 1.6; white-space: pre-wrap; word-break: break-word;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; max-height: 320px; overflow: auto; min-height: 60px; }
.demo-email-body.typing::after { content: '▋'; color: var(--cyan); animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.demo-note { text-align: center; margin-top: 16px; }

@media (max-width: 640px) {
  .demo-row { grid-template-columns: 1fr auto; row-gap: 4px; }
  .demo-loc, .demo-mail { display: none; }
}

/* Agency (second business line) */
.section-agency { background: linear-gradient(180deg, #eff4ff, #f8fafc); }
.pill { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--brand);
  background: #dbeafe; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
/* ── AI Call Demo ── */
.call-demo { display: grid; grid-template-columns: 340px 1fr; gap: 28px; margin: 48px auto 32px; max-width: 880px; }

.hermes-form { display: grid; gap: 6px; min-width: 190px; }
.hermes-form select, .hermes-form input[type="text"], .hermes-form input:not([type]) { max-width: 230px; }
.dnc-btn { margin-top: 7px; }
.call-phone { background: #0b1226; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); overflow: hidden; }
.call-status-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.06); }
.call-status-bar .call-dot { width: 11px; height: 11px; border-radius: 50%; background: #475569; }
.call-status-bar em { margin-left: auto; font-style: normal; font-size: .8rem; color: rgba(255,255,255,.45); }
.call-party { display: flex; align-items: center; gap: 13px; padding: 20px 20px 0; }
.call-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg,#2563eb,#22d3ee); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.call-party-info { flex: 1; min-width: 0; }
.call-party-name { font-weight: 700; color: #fff; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.call-party-loc { font-size: .75rem; color: rgba(255,255,255,.45); margin-top: 2px; }
.call-badge-live { font-size: .72rem; font-weight: 600; padding: 3px 9px; border-radius: 20px; background: rgba(100,116,139,.25); color: rgba(255,255,255,.5); white-space: nowrap; flex-shrink: 0; transition: background .3s, color .3s; }
.call-badge-live.active { background: rgba(34,197,94,.18); color: #4ade80; }
.call-wave-box { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 8px; gap: 10px; }
.call-wave { display: flex; align-items: center; gap: 3px; height: 40px; flex: 1; }
.call-wave span { flex: 1; background: rgba(255,255,255,.18); border-radius: 3px; height: 6px; transition: height .08s; }
.call-wave.playing span { animation: wave-bar .6s ease-in-out infinite alternate; }
.call-wave.playing span:nth-child(2)  { animation-delay: .05s; }
.call-wave.playing span:nth-child(3)  { animation-delay: .10s; }
.call-wave.playing span:nth-child(4)  { animation-delay: .15s; }
.call-wave.playing span:nth-child(5)  { animation-delay: .20s; }
.call-wave.playing span:nth-child(6)  { animation-delay: .25s; }
.call-wave.playing span:nth-child(7)  { animation-delay: .08s; }
.call-wave.playing span:nth-child(8)  { animation-delay: .13s; }
.call-wave.playing span:nth-child(9)  { animation-delay: .18s; }
.call-wave.playing span:nth-child(10) { animation-delay: .22s; }
.call-wave.playing span:nth-child(11) { animation-delay: .03s; }
.call-wave.playing span:nth-child(12) { animation-delay: .09s; }
.call-wave.playing span:nth-child(13) { animation-delay: .16s; }
.call-wave.playing span:nth-child(14) { animation-delay: .21s; }
.call-wave.playing span:nth-child(15) { animation-delay: .06s; }
@keyframes wave-bar { from { height: 4px; } to { height: 34px; } }
.call-timer { font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.6); font-variant-numeric: tabular-nums; min-width: 38px; text-align: right; }
.call-controls { display: flex; gap: 10px; padding: 0 20px 16px; align-items: center; }
.call-play-btn { flex: 1; font-size: .85rem; padding: 9px 16px; }
.call-reset-btn { padding: 9px 13px; font-size: 1rem; }
.call-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 20px 18px; min-height: 28px; }
.call-tag { font-size: .72rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; background: rgba(34,197,94,.15); color: #4ade80; border: 1px solid rgba(34,197,94,.3); animation: tag-pop .3s ease; }
@keyframes tag-pop { from { transform: scale(.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.call-transcript-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden; min-height: 320px; }
.call-transcript-head { display: flex; align-items: center; justify-content: space-between; padding: 13px 18px; background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: .85rem; font-weight: 600; }
.call-transcript-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.ct-placeholder { margin: auto; text-align: center; font-size: .9rem; }
.ct-line { display: flex; flex-direction: column; gap: 3px; animation: ct-in .25s ease; }
@keyframes ct-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ct-speaker { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.ct-ai .ct-speaker { color: var(--brand); }
.ct-buyer .ct-speaker { color: var(--muted); }
.ct-text { font-size: .88rem; line-height: 1.55; background: var(--bg-soft); border-radius: 10px; padding: 9px 13px; }
.ct-ai .ct-text { background: #eff6ff; border-left: 3px solid var(--brand); }
.ct-buyer .ct-text { border-left: 3px solid var(--line); }
.ct-moment { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; font-weight: 700; color: #15803d; background: #dcfce7; border-radius: 20px; padding: 2px 10px; margin-top: 2px; align-self: flex-start; }
.call-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 880px; margin: 0 auto; }
.call-feat { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 18px; text-align: center; }
.call-feat-ic { color: #2563eb; font-size: 1.8rem; display: flex; margin-bottom: 10px; }
.call-feat-ic .ui-icon { width: 1.35em; height: 1.35em; }
.call-feat strong { display: block; font-size: .9rem; margin-bottom: 6px; }
@media (max-width: 800px) { .call-demo { grid-template-columns: 1fr; } .call-feats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .call-feats { grid-template-columns: 1fr; } }

/* ── 3D polish: tilt cards, reveals, floats ── */
.tilt { position: relative; transition: transform .25s ease, box-shadow .25s ease; transform-style: preserve-3d; will-change: transform; }
.tilt:hover { box-shadow: 0 18px 44px rgba(15, 40, 100, .16); z-index: 2; }
.tilt-glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; z-index: 1; }
.rv { opacity: 0; transform: translateY(26px); filter: blur(5px); transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1), filter .7s ease; }
.rv-in { opacity: 1; transform: none; filter: none; }
@keyframes float-idle { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.float-idle { animation: float-idle 7s ease-in-out infinite; }
.section-dark { position: relative; overflow: hidden; }
.section-dark::before, .section-dark::after {
  content: ''; position: absolute; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,.16), transparent 65%);
  animation: beam-drift 16s ease-in-out infinite alternate; pointer-events: none;
}
.section-dark::before { top: -180px; left: -140px; }
.section-dark::after  { bottom: -200px; right: -120px; animation-delay: -8s; }
@keyframes beam-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(90px, 50px) scale(1.25); } }
#hero-globe { transition: opacity .2s linear; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; filter: none; transition: none; }
  .float-idle, .section-dark::before, .section-dark::after { animation: none; }
}

/* ── WhatsApp AI Demo ── */
.wa-demo { display: grid; grid-template-columns: 1fr 320px; gap: 28px; margin: 48px auto 32px; max-width: 880px; }
.wa-phone { background: #0a1512; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.wa-chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #10231d; border-bottom: 1px solid rgba(255,255,255,.06); }
.wa-avatar { width: 40px; height: 40px; border-radius: 50%; background: #e8f7ef; color: #168a58; border: 1px solid #8ed1ad; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.wa-chat-info { flex: 1; min-width: 0; }
.wa-chat-name { font-weight: 700; color: #fff; font-size: .92rem; }
.wa-chat-status { font-size: .72rem; color: rgba(255,255,255,.45); margin-top: 2px; }
.wa-ai-badge { font-size: .72rem; font-weight: 600; padding: 3px 9px; border-radius: 20px; background: rgba(100,116,139,.25); color: rgba(255,255,255,.5); white-space: nowrap; transition: background .3s, color .3s; }
.wa-ai-badge.active { background: rgba(52,211,153,.18); color: #34d399; }
.wa-chat-body { flex: 1; min-height: 340px; max-height: 420px; overflow-y: auto; padding: 18px 14px; display: flex; flex-direction: column; gap: 10px;
  background: #0a1512 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" opacity="0.03"><circle cx="30" cy="30" r="1.5" fill="white"/></svg>'); }
.wa-placeholder { margin: auto; text-align: center; font-size: .88rem; padding: 0 20px; }
.wa-msg { display: flex; flex-direction: column; max-width: 85%; animation: ct-in .25s ease; }
.wa-in  { align-self: flex-start; align-items: flex-start; }
.wa-out { align-self: flex-end; align-items: flex-end; }
.wa-bubble { border-radius: 12px; padding: 9px 12px; font-size: .86rem; line-height: 1.5; }
.wa-in  .wa-bubble { background: #1c2b26; color: #e7f0ec; border-top-left-radius: 4px; }
.wa-out .wa-bubble { background: #056e50; color: #eafff7; border-top-right-radius: 4px; }
.wa-bubble-text { word-break: break-word; }
.wa-zh { font-size: .74rem; color: rgba(255,255,255,.55); border-top: 1px dashed rgba(255,255,255,.15); margin-top: 6px; padding-top: 5px; }
.wa-meta { font-size: .68rem; color: rgba(255,255,255,.4); margin-top: 4px; text-align: right; }
.wa-sys { align-self: center; font-size: .72rem; font-weight: 600; color: #34d399; background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.25);
  border-radius: 20px; padding: 4px 13px; text-align: center; animation: tag-pop .3s ease; }
.wa-moment { font-size: .7rem; font-weight: 700; color: #4ade80; background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.3); border-radius: 20px; padding: 2px 10px; margin-top: 4px; animation: tag-pop .3s ease; }
.wa-typing { display: flex; gap: 4px; align-items: center; min-width: 44px; min-height: 20px; }
.wa-typing span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.5); animation: wa-blink 1s infinite; }
.wa-typing span:nth-child(2) { animation-delay: .2s; }
.wa-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes wa-blink { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
.wa-chat-foot { display: flex; gap: 10px; padding: 12px 14px; background: #10231d; border-top: 1px solid rgba(255,255,255,.06); }
.wa-play-btn { flex: 1; font-size: .85rem; padding: 9px 16px; }
.wa-reset-btn { padding: 9px 13px; font-size: 1rem; }
.wa-inbox { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden; }
.wa-inbox-head { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: .85rem; font-weight: 600; }
.wa-inbox-list { flex: 1; overflow-y: auto; padding: 8px; display: flex; flex-direction: column; gap: 4px; min-height: 220px; }
.wa-inbox-item { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; animation: ct-in .3s ease; }
.wa-inbox-item:hover { background: var(--bg-soft); }
.wa-flag { font-size: 1.2rem; flex-shrink: 0; }
.wa-inbox-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.wa-inbox-info strong { font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-tag { font-size: .66rem; font-weight: 700; padding: 3px 8px; border-radius: 20px; white-space: nowrap; flex-shrink: 0; }
.wa-tag-hot    { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.wa-tag-auto   { background: #eff6ff; color: var(--brand); border: 1px solid #bfdbfe; }
.wa-tag-follow { background: #fffbeb; color: #d97706; border: 1px solid #fde68a; }
.wa-tag-done   { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.wa-inbox-foot { padding: 12px 16px; border-top: 1px solid var(--line); background: var(--bg-soft); }
@media (max-width: 800px) { .wa-demo { grid-template-columns: 1fr; } }

.agency-card { transition: transform .18s, box-shadow .18s; }
.agency-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.agency-cta { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 40px; text-align: center; }

/* Differentiation (dark) */
.section-dark { background: linear-gradient(180deg, #0b1226, #0a0f1f); color: #fff; }
.section-head-light h2 { color: #fff; }
.diff-grid { gap: 26px; }
.diff-item { display: flex; gap: 16px; padding: 26px; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); }
.diff-icon { color: #60a5fa; font-size: 1.8rem; display: flex; flex-shrink: 0; }
.diff-item h4 { font-size: 1.12rem; margin-bottom: 6px; color: #fff; }
.diff-item p { color: rgba(255,255,255,.72); font-size: .95rem; }
.roadmap { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 40px; flex-wrap: wrap; }
.roadmap-label { font-size: .85rem; color: rgba(255,255,255,.55); }
.roadmap-pill { font-size: .9rem; font-weight: 600; padding: 8px 16px; border-radius: 999px;
  background: rgba(34,211,238,.12); border: 1px solid rgba(34,211,238,.35); color: #a5f3fc; }

/* Case */
.case-card { max-width: 920px; margin: 0 auto; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-lg); }
.case-tag { display: inline-block; font-size: .85rem; font-weight: 600; color: var(--brand);
  background: #eff6ff; padding: 6px 14px; border-radius: 999px; margin-bottom: 24px; }
.case-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.case-stat strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--ink);
  background: linear-gradient(100deg, var(--brand), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case-stat span { font-size: .85rem; color: var(--muted); }
.case-note { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }

/* Why us */
.why-item { display: flex; gap: 14px; }
.why-item h4 { font-size: 1.05rem; margin-bottom: 4px; }
.check { flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; background: #ecfdf5;
  color: #059669; display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* Certification badges */
.cert-strip { display: flex; justify-content: center; margin-top: 40px; }
.cert-badge { display: flex; align-items: center; gap: 14px; padding: 12px 20px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
.cert-badge:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.cert-badge img { width: 56px; height: 56px; object-fit: contain; flex-shrink: 0; }
.cert-badge-text { display: flex; flex-direction: column; gap: 2px; }
.cert-badge-text strong { font-size: .95rem; }

/* Steps + pricing */
.steps-line { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 64px; }
.step-card { flex: 1; min-width: 200px; text-align: center; padding: 24px; background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.step-no { width: 40px; height: 40px; margin: 0 auto 12px; border-radius: 50%; background: var(--brand);
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.pricing-head { margin-top: 8px; margin-bottom: 36px; }
.price-card { position: relative; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.price-featured { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.price-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: .78rem; font-weight: 700; padding: 5px 16px; border-radius: 999px; }
.price-name { font-size: 1.15rem; font-weight: 800; }
.price-for { margin: 4px 0 16px; }
.price-amount { font-size: 1.9rem; font-weight: 800; color: var(--ink); margin-bottom: 20px; }
.price-amount span { color: var(--brand); }
.price-amount em { font-size: .9rem; font-weight: 500; color: var(--muted); font-style: normal; }
.price-custom { color: var(--brand); }
.price-feat { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; flex: 1; }
.price-feat li { font-size: .92rem; padding-left: 22px; position: relative; }
.price-feat li::before { content: '✓'; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.pricing-note { text-align: center; margin-top: 18px; }

/* Contact */
.section-contact { background: linear-gradient(180deg, var(--bg-soft), var(--bg)); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px; max-width: 980px; margin: 0 auto; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.contact-direct h3, .contact-form h3 { font-size: 1.2rem; margin-bottom: 20px; }
.qr-box { text-align: center; margin-bottom: 22px; }
.qr-placeholder { width: 168px; height: 168px; margin: 0 auto 10px; border: 2px dashed var(--line);
  border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--muted); font-size: .92rem; background: var(--bg-soft); }
.qr-image { width: 168px; height: 168px; margin: 0 auto 10px; display: block; object-fit: cover;
  border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-lines { display: flex; flex-direction: column; gap: 10px; }
.contact-line { display: flex; justify-content: space-between; align-items: center; padding: 13px 16px;
  background: var(--bg-soft); border-radius: var(--radius-sm); transition: background .15s; }
.contact-line:hover { background: var(--bg-soft2); }
.contact-line strong { color: var(--brand); }

/* Forms */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); font-size: .95rem; font-family: inherit; background: var(--bg); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.form-note { text-align: center; margin-top: 12px; }

/* Auth */
.auth-wrap { min-height: calc(100vh - 66px); display: flex; align-items: center; padding: 60px 0; }
.auth-card { max-width: 460px; margin: 0 auto; width: 100%; }
.auth-card h2 { font-size: 1.7rem; }
.auth-card .auth-sub { margin-bottom: 24px; }
.auth-alt { text-align: center; margin-top: 18px; font-size: .92rem; }
.auth-alt a { color: var(--brand); font-weight: 600; }

/* Dashboard */
.dash-head { margin-bottom: 32px; }
.dash-head h2 { font-size: 1.8rem; }
.dash-note { margin-top: 28px; }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card .btn { margin-top: 14px; }

.dashboard-shell { background: linear-gradient(180deg, var(--bg-soft), #fff); }
.dashboard-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: center; margin-bottom: 24px; }
.dashboard-hero h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin: 10px 0 8px; }
.dashboard-hero-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.metric { padding: 16px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); }
.metric span { display: block; font-size: .78rem; color: var(--muted); margin-bottom: 6px; }
.metric strong { font-size: 1rem; color: var(--ink); }
.dash-cards { margin-bottom: 24px; }
.dash-card { display: block; height: 100%; transition: transform .18s, box-shadow .18s, border-color .18s; }
.dash-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #c7d2fe; }
.dash-link { display: inline-flex; margin-top: 10px; color: var(--brand); font-weight: 700; }
.dashboard-panels { align-items: start; }
.section-head-left { text-align: left; margin: 0 0 18px; }
.section-head-left h3 { display: flex; align-items: center; gap: 8px; }
.support-panel { height: 100%; }
.support-form .btn { margin-top: 6px; }
.ticket-list { display: flex; flex-direction: column; gap: 14px; }
.ticket-item { padding: 18px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); }
.ticket-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 10px; }
.ticket-top h4 { font-size: 1rem; }
.ticket-message { color: var(--ink-2); margin-bottom: 12px; white-space: pre-wrap; }
.empty-state { padding: 18px; border-radius: 14px; background: var(--bg-soft); border: 1px dashed var(--line); color: var(--muted); }
.demo-stat { height: 100%; }
.demo-stat-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.demo-stat-top strong { font-size: 2rem; color: var(--ink); }
.pipeline-list { display: flex; flex-direction: column; gap: 12px; }
.pipeline-item { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); }
.pipeline-item h4 { font-size: 1rem; margin-bottom: 4px; }
.pipeline-meta { text-align: right; }
.pipeline-meta .lead-tag { margin-bottom: 6px; }
.demo-checklist { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.demo-check { display: flex; gap: 14px; align-items: flex-start; }
.demo-check strong { display: block; margin-bottom: 4px; }
.demo-foot { display: flex; gap: 12px; flex-wrap: wrap; }

/* BuJuan CRM demo: read-only view of the current CRM2 workflow. */
.crm-demo-body .nav, .crm-demo-body .footer, .crm-demo-body .assistant { display: none; }
.crm-demo { --crm-blue:#2563eb; --crm-ink:#162033; --crm-muted:#64748b; --crm-line:#e6eaf0; --crm-soft:#f6f8fc; display:flex; min-height:100vh; background:var(--crm-soft); color:var(--crm-ink); font-family:Inter,system-ui,sans-serif; }
.crm-demo-sidebar { width:248px; background:#fff; border-right:1px solid var(--crm-line); display:flex; flex-direction:column; padding:18px 12px; position:fixed; inset:0 auto 0 0; z-index:20; }.crm-demo-brand { display:flex; align-items:center; gap:10px; padding:5px 9px 20px; color:var(--crm-ink); text-decoration:none; }.crm-demo-mark { width:34px; height:34px; display:grid; place-items:center; border-radius:10px; background:var(--crm-blue); color:#fff; font-weight:800; }.crm-demo-brand strong,.crm-demo-brand small { display:block; line-height:1.05; }.crm-demo-brand small,.crm-demo-kicker,.crm-demo-eyebrow { color:var(--crm-muted); font-size:.69rem; letter-spacing:.09em; text-transform:uppercase; font-weight:700; }.crm-demo-kicker { margin:2px 10px 8px; }.crm-demo-nav { display:grid; gap:3px; }.crm-demo-nav button { border:0; cursor:pointer; color:#475569; background:transparent; text-align:left; border-radius:9px; padding:10px 12px; font:600 .9rem inherit; }.crm-demo-nav button span { width:25px; display:inline-block; font-size:1.05rem; }.crm-demo-nav button:hover,.crm-demo-nav button.active { color:var(--crm-blue); background:#eff6ff; }.crm-demo-safe { margin-top:auto; padding:12px; border:1px solid #dbeafe; background:#f0f7ff; border-radius:10px; font-size:.76rem; color:#475569; }.crm-demo-safe strong,.crm-demo-safe span { display:block; }.crm-demo-safe strong { color:var(--crm-blue); margin-bottom:3px; }
.crm-demo-main { margin-left:248px; width:calc(100% - 248px); min-width:0; }.crm-demo-topbar { height:58px; padding:0 30px; background:#fff; border-bottom:1px solid var(--crm-line); display:flex; align-items:center; justify-content:space-between; color:var(--crm-muted); font-size:.82rem; }.crm-demo-topbar button { display:none; }.crm-demo-status { display:inline-block; width:8px; height:8px; border-radius:50%; background:#22c55e; margin-right:7px; }.crm-demo-back { color:var(--crm-blue); font-weight:700; text-decoration:none; }.crm-demo-content { max-width:1320px; padding:38px 40px 60px; margin:auto; }.crm-demo-intro { display:flex; justify-content:space-between; gap:20px; align-items:flex-start; margin-bottom:28px; }.crm-demo-intro h1 { font-size:1.9rem; margin:5px 0 8px; letter-spacing:-.04em; }.crm-demo-intro p { max-width:620px; color:var(--crm-muted); margin:0; }.crm-demo-readonly { white-space:nowrap; color:var(--crm-blue); background:#eff6ff; border:1px solid #dbeafe; border-radius:99px; padding:6px 10px; font-size:.75rem; font-weight:700; }
.crm-demo-metrics { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-bottom:18px; }.crm-demo-metric,.crm-demo-card { background:#fff; border:1px solid var(--crm-line); border-radius:14px; box-shadow:0 1px 2px rgba(15,23,42,.025); }.crm-demo-metric { padding:17px; border-top:3px solid var(--crm-blue); }.crm-demo-metric.amber { border-top-color:#f59e0b; }.crm-demo-metric.violet { border-top-color:#7c3aed; }.crm-demo-metric.green { border-top-color:#10b981; }.crm-demo-metric span,.crm-demo-metric small { display:block; color:var(--crm-muted); font-size:.79rem; }.crm-demo-metric strong { display:block; font-size:1.75rem; margin:8px 0 5px; }.crm-demo-metric small { color:#16a34a; }.crm-demo-grid { display:grid; grid-template-columns:1.15fr .85fr; gap:18px; }.crm-demo-card { padding:22px; }.crm-demo-wide { min-height:260px; }.crm-demo-card-head { display:flex; justify-content:space-between; gap:12px; align-items:flex-start; }.crm-demo-card h2 { font-size:1.08rem; margin:4px 0 15px; }.crm-demo-text-action { background:transparent; border:0; color:var(--crm-blue); cursor:pointer; font-weight:700; }.crm-demo-queue { display:grid; gap:10px; }.crm-demo-queue>div { display:flex; align-items:center; gap:10px; padding:13px 0; border-top:1px solid var(--crm-line); }.crm-demo-queue span { flex:1; }.crm-demo-queue small { color:var(--crm-muted); }.crm-demo-dot { width:9px; height:9px; border-radius:50%; }.crm-demo-dot.overdue { background:#ef4444; }.crm-demo-dot.due { background:#f59e0b; }.crm-demo-dot.untouched { background:#3b82f6; }.crm-demo-activity { display:grid; grid-template-columns:auto 1fr auto; gap:10px; padding:12px 0; border-top:1px solid var(--crm-line); align-items:start; }.crm-demo-activity p { color:var(--crm-muted); font-size:.8rem; margin:3px 0 0; }.crm-demo-activity time { color:var(--crm-muted); font-size:.7rem; white-space:nowrap; }.crm-demo-channel { border-radius:6px; padding:4px 6px; font-size:.66rem; font-weight:800; background:#f1f5f9; color:#475569; }.crm-demo-channel.whatsapp { color:#15803d; background:#dcfce7; }.crm-demo-channel.email { color:#1d4ed8; background:#dbeafe; }.crm-demo-channel.rfq { color:#7e22ce; background:#f3e8ff; }.crm-demo-view { display:none; }.crm-demo-view.active { display:block; }.crm-demo-copy,.crm-demo-feature>p { color:var(--crm-muted); max-width:760px; line-height:1.7; }.crm-demo-table-wrap { overflow-x:auto; }.crm-demo-table { width:100%; border-collapse:collapse; font-size:.87rem; }.crm-demo-table th { color:var(--crm-muted); font-size:.72rem; text-transform:uppercase; letter-spacing:.04em; text-align:left; background:var(--crm-soft); }.crm-demo-table th,.crm-demo-table td { white-space:nowrap; padding:12px 13px; border-bottom:1px solid var(--crm-line); }.crm-demo-stage { color:#1d4ed8; background:#eff6ff; border-radius:99px; padding:4px 8px; font-size:.73rem; font-weight:700; }.crm-demo-feature { max-width:850px; }.crm-demo-feature h2 { font-size:1.4rem; }.crm-demo-feature-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin-top:22px; }.crm-demo-feature-grid span { background:var(--crm-soft); border:1px solid var(--crm-line); border-radius:9px; padding:13px; font-weight:600; color:#334155; }
.crm-demo-editor { margin-top:18px; border-top:1px solid var(--crm-line); padding-top:16px; }.crm-demo-editor summary { cursor:pointer; color:var(--crm-blue); font-weight:700; }.crm-demo-editor form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:14px; }.crm-demo-editor label { display:grid; gap:5px; color:var(--crm-muted); font-size:.75rem; font-weight:700; }.crm-demo-editor input,.crm-demo-editor select { width:100%; min-width:0; border:1px solid var(--crm-line); border-radius:8px; padding:9px; font:inherit; }.crm-demo-editor .btn { justify-self:start; }
.crm-demo-editor-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:22px; }.crm-demo-editor-form label { display:grid; gap:5px; color:var(--crm-muted); font-size:.75rem; font-weight:700; }.crm-demo-editor-form input,.crm-demo-editor-form select { width:100%; min-width:0; border:1px solid var(--crm-line); border-radius:8px; padding:9px; font:inherit; }.crm-demo-editor-form .btn { justify-self:start; }
@media (max-width: 900px) { .crm-demo-sidebar { width:210px; }.crm-demo-main { margin-left:210px; width:calc(100% - 210px); }.crm-demo-content { padding:28px 24px 48px; }.crm-demo-metrics { grid-template-columns:repeat(2,1fr); }.crm-demo-grid { grid-template-columns:1fr; } }
@media (max-width: 640px) { .crm-demo-sidebar { transform:translateX(-100%); transition:transform .18s ease; box-shadow:8px 0 25px rgba(15,23,42,.16); }.crm-demo-sidebar.open { transform:none; }.crm-demo-main { margin-left:0; width:100%; }.crm-demo-topbar { padding:0 16px; }.crm-demo-topbar button { display:block; border:0; background:transparent; font-size:1.2rem; }.crm-demo-content { padding:24px 14px 40px; }.crm-demo-intro { display:block; }.crm-demo-readonly { display:inline-block; margin-top:14px; }.crm-demo-metrics,.crm-demo-feature-grid { grid-template-columns:1fr; }.crm-demo-card { padding:17px; }.crm-demo-activity { grid-template-columns:auto 1fr; }.crm-demo-activity time { grid-column:2; }.crm-demo-queue>div { align-items:flex-start; }.crm-demo-queue small { display:none; } }

/* Small button variant */
.btn-sm { padding: 6px 14px; font-size: .85rem; }
.dash-head .btn-sm { margin-top: 12px; }

/* Leads dashboard table */
.leads-wrap { overflow-x: auto; border: 1px solid var(--line, #e5e7eb); border-radius: 12px; background: #fff; }
.leads-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.leads-table th, .leads-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line, #eef0f3); vertical-align: top; }
.leads-table thead th { background: #f8fafc; font-weight: 600; color: #475569; white-space: nowrap; position: sticky; top: 0; }
.leads-table tbody tr:hover { background: #f8fbff; }
.leads-table .lead-msg { max-width: 280px; }
.leads-table form { margin: 0; }
.lead-pending td:not(:first-child) { }
.lead-handled { opacity: .62; }
.lead-tag { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: .72rem; font-weight: 600; white-space: nowrap; }
.lead-tag.new { background: #dbeafe; color: #1d4ed8; }
.lead-tag.done { background: #e6f4ea; color: #15803d; }
.lead-tag.call-tag-neutral { background: #f1f5f9; color: #475569; }

/* AI call column */
.leads-table .lead-call { min-width: 160px; }
.call-status { margin-bottom: 6px; }
.call-summary { margin: 4px 0 0; max-width: 220px; }
.call-btn { display: block; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 28px; background: var(--ink); color: rgba(255,255,255,.7); }
.footer .muted { color: rgba(255,255,255,.5); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 32px; }
.footer .brand-sub { color: #fff; }
.brand-footer { font-size: 1.2rem; margin-bottom: 12px; }
.footer-col h5 { font-size: .9rem; color: #fff; margin-bottom: 14px; }
.footer-col a { display: block; font-size: .9rem; color: rgba(255,255,255,.6); margin-bottom: 9px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); text-align: center; }

/* Legal pages */
.legal-page { min-height: 70vh; padding: 116px 0 80px; background:
  radial-gradient(circle at 88% 8%, rgba(37,99,235,.1), transparent 34%), var(--bg-soft); }
.legal-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }
.legal-nav { position: sticky; top: 92px; padding: 22px; background: var(--ink); color: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.legal-nav .eyebrow { color: #67e8f9; margin-bottom: 14px; }
.legal-nav a { display: block; padding: 8px 0; color: rgba(255,255,255,.68); font-size: .88rem; }
.legal-nav a:hover { color: #fff; }
.legal-card { padding: clamp(28px, 5vw, 58px); background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.legal-card h1 { margin-bottom: 8px; font-size: clamp(2rem, 4vw, 3.2rem); }
.legal-meta { margin-bottom: 38px; color: var(--muted); }
.legal-section { padding: 28px 0; border-top: 1px solid var(--line); }
.legal-section h2 { margin-bottom: 14px; font-size: 1.35rem; }
.legal-section h3 { margin: 20px 0 8px; font-size: 1.02rem; }
.legal-section p, .legal-section li { color: #475569; line-height: 1.8; }
.legal-section ul { margin: 10px 0 0 20px; }
.legal-section li { margin-bottom: 7px; }
.legal-contact { padding: 20px; border-radius: var(--radius-sm); background: #eff6ff; }
.legal-contact a { color: var(--brand); font-weight: 700; }

/* ---------------- AI Assistant ---------------- */
.assistant { position: fixed; right: 22px; bottom: 22px; z-index: 200; }
.assistant-fab { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border: 0;
  border-radius: 999px; cursor: pointer; font-weight: 700; font-size: .95rem; color: #fff;
  background: linear-gradient(100deg, var(--brand), var(--cyan)); box-shadow: 0 10px 28px rgba(37,99,235,.4);
  transition: transform .18s, opacity .18s; }
.assistant-fab:hover { transform: translateY(-2px); }
.assistant-fab.hidden { opacity: 0; pointer-events: none; transform: scale(.8); }
.assistant-fab.is-open { background: var(--ink); }
.assistant-fab-icon { display: inline-flex; font-size: 1.1rem; animation: asstPulse 2.4s ease-in-out infinite; }
.assistant-fab-icon .ui-icon, .assistant-avatar .ui-icon { width: 1.1em; height: 1.1em; }
.assistant-fab.is-open .assistant-fab-icon { animation: none; }
@keyframes asstPulse { 0%,100% { opacity: 1; } 50% { opacity: .5; } }

.assistant-panel { position: fixed; right: 22px; bottom: 92px; width: 360px; max-width: calc(100vw - 32px);
  height: 520px; max-height: calc(100vh - 130px); background: #0b1226; border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden;
  animation: asstIn .22s ease; }
@keyframes asstIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.assistant-head { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; background: linear-gradient(100deg, rgba(37,99,235,.5), rgba(34,211,238,.35)); }
.assistant-title { display: flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; font-size: .98rem; }
.assistant-avatar { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center;
  background: rgba(255,255,255,.2); border-radius: 50%; }
.assistant-close { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  flex-shrink: 0; background: rgba(255,255,255,.12); border: 0; border-radius: 50%; color: #fff;
  font-size: 1.4rem; line-height: 1; cursor: pointer; opacity: .9; transition: background .15s, opacity .15s; }
.assistant-close:hover { opacity: 1; background: rgba(255,255,255,.25); }
.assistant-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.asst-msg { max-width: 84%; padding: 11px 14px; border-radius: 14px; font-size: .9rem; line-height: 1.55; white-space: pre-wrap; }
.asst-bot { align-self: flex-start; background: rgba(255,255,255,.07); color: #e2e8f0; border-bottom-left-radius: 4px; }
.asst-user { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.asst-cta { display: inline-block; margin-top: 6px; color: #67e8f9; font-weight: 600; }
.asst-typing span { display: inline-block; width: 7px; height: 7px; margin: 0 2px; border-radius: 50%;
  background: #93c5fd; animation: asstDot 1.2s infinite; }
.asst-typing span:nth-child(2) { animation-delay: .2s; }
.asst-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes asstDot { 0%,60%,100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.assistant-chips { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 16px 10px; }
.asst-chip { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #cbd5e1;
  font-size: .82rem; padding: 7px 12px; border-radius: 999px; cursor: pointer; transition: background .15s; }
.asst-chip:hover { background: rgba(255,255,255,.14); }
.assistant-form { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid rgba(255,255,255,.08); }
.assistant-form input { flex: 1; padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05); color: #e2e8f0; font-size: .9rem; font-family: inherit; }
.assistant-form input:focus { outline: none; border-color: var(--brand-light); }
.assistant-form button { width: 40px; height: 40px; flex-shrink: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--brand); color: #fff; font-size: 1.1rem; }
.assistant-form button:hover { background: var(--brand-dark); }
@media (max-width: 480px) {
  .assistant-fab-text { display: none; }
  .assistant-panel { height: 70vh; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-globe { width: 100%; opacity: .35; }
  .hero-side { justify-content: flex-start; }
  .case-stats { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .dashboard-hero { grid-template-columns: 1fr; }
  .dashboard-hero-metrics { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-links { position: fixed; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 4px; padding: 16px 24px 24px; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all .2s; }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .has-dark-hero .nav .nav-links a:not(.btn) { color: var(--muted); }
  .nav-links a:not(.btn) { padding: 10px 0; }
  .nav-links .btn { width: 100%; }
  .hero { padding: 84px 0 72px; }
  .hero h1 { font-size: 2.3rem; }
  .grid, .grid-3 { grid-template-columns: 1fr; }
  .case-stats { grid-template-columns: 1fr 1fr; }
  .flow-arrow { display: none; }
  .price-featured { transform: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .section { padding: 60px 0; }
  .section-head h2 { font-size: 1.7rem; }
  .legal-page { padding-top: 92px; }
  .legal-shell { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
  .dashboard-hero-metrics { grid-template-columns: 1fr; }
  .ticket-top, .pipeline-item { flex-direction: column; align-items: flex-start; }
  .pipeline-meta { text-align: left; }
}

/* Scroll-reveal (hidden state gated behind body.reveal-on so content is
   always visible if JS doesn't run) */
body.reveal-on .reveal { opacity: 0; transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease; will-change: opacity, transform; }
body.reveal-on .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.reveal-on .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------------- Unified Command Cockpit ---------------- */
.cockpit-shell {
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-top: 28px;
}
.cockpit-status-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: .8rem;
  color: rgba(255, 255, 255, 0.6);
}
.cockpit-status-mode {
  margin-left: auto;
  font-size: .75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}
.cockpit-tabs {
  display: flex;
  background: rgba(11, 18, 38, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
}
.cockpit-tab-btn {
  flex: 1;
  min-width: 220px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: rgba(255, 255, 255, 0.65);
  font-family: inherit;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all .18s;
}
.cockpit-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}
.cockpit-tab-btn.is-active {
  color: #67e8f9;
  background: rgba(34, 211, 238, 0.05);
  border-bottom-color: var(--cyan);
}
.cockpit-tab-btn .tab-step-no {
  font-size: .74rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  letter-spacing: .02em;
}
.cockpit-tab-btn.is-active .tab-step-no {
  background: rgba(34, 211, 238, 0.18);
  color: #67e8f9;
}
.cockpit-panel {
  display: none;
  padding: 28px 24px;
}
.cockpit-panel.is-active {
  display: block;
  animation: ct-in .25s ease;
}
.cockpit-panel .demo-panel,
.cockpit-panel .call-demo,
.cockpit-panel .wa-demo {
  margin: 0 auto;
  box-shadow: none;
}
.cockpit-panel .call-feats {
  margin-top: 28px;
}

/* ---------------- Form Enhancements ---------------- */
.form-incentive-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #f0f7ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  font-size: .86rem;
  color: var(--ink-2);
  line-height: 1.45;
}
.form-incentive-badge .fib-tag {
  font-size: .72rem;
  font-weight: 700;
  background: var(--brand);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.pref-channels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pref-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  cursor: pointer;
  font-size: .88rem;
  font-weight: 500;
  transition: all .15s;
}
.pref-radio:has(input:checked) {
  border-color: var(--brand);
  background: #eff6ff;
  color: var(--brand-dark);
  font-weight: 600;
}
.form-trust-seal {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid var(--line);
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.45;
}
.form-trust-seal .fts-icon {
  color: var(--brand);
  flex-shrink: 0;
  display: flex;
}
.form-trust-seal .fts-icon .ui-icon {
  width: 1.25em;
  height: 1.25em;
}

@media (max-width: 640px) {
  .cockpit-tabs {
    flex-direction: column;
  }
  .cockpit-tab-btn {
    justify-content: flex-start;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .cockpit-tab-btn.is-active {
    border-left: 3px solid var(--cyan);
    border-bottom-color: rgba(255, 255, 255, 0.05);
  }
  .pref-channels {
    grid-template-columns: 1fr;
  }
}

/* Domestic consultation form: keep intrinsic content inside narrow viewports. */
.contact-grid > * { min-width: 0; }
.contact-line { gap: 12px; flex-wrap: wrap; }
.contact-line strong { overflow-wrap: anywhere; }
.contact-form .field, .contact-form input, .contact-form textarea { min-width: 0; }
@media (max-width: 480px) { .contact-grid .card { padding: 22px; } }
