: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; }
.grad { background: linear-gradient(100deg, var(--brand-light), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------------- 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: baseline; gap: 2px; font-weight: 900; font-size: 1.3rem; }
.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: 7px; padding: 13px 16px; background: rgba(255,255,255,.04); }
.hero-card-head .dot { width: 11px; height: 11px; border-radius: 50%; background: #475569; }
.hero-card-head em { margin-left: auto; font-style: normal; font-size: .78rem; 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 em { font-style: normal; color: #93c5fd; font-weight: 700; }
.hcr-accent { background: linear-gradient(90deg, rgba(29,78,216,.55), rgba(37,99,235,.55)); }
.hcr-accent em { color: #bfdbfe; }

/* ---------------- 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); }
.pain-icon { font-size: 1.6rem; flex-shrink: 0; }
.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 { font-size: 1.8rem; }
.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: #059669; 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(280px, 1fr)); gap: 22px; }
.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: 150px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
  padding: 16px; background: linear-gradient(135deg, var(--sc-accent, var(--brand)), var(--ink)); position: relative; }
.sc-thumb-tag { background: rgba(255,255,255,.16); color: #fff; font-size: .74rem; font-weight: 700;
  padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(4px); }
.sc-thumb-open { color: #fff; font-weight: 700; font-size: .92rem; opacity: 0; transform: translateY(6px); transition: all .18s; }
.sc-card:hover .sc-thumb-open { opacity: 1; transform: translateY(0); }
.sc-thumb-soon { background: var(--bg-soft2); }
.sc-thumb-soon .sc-thumb-tag { background: #e2e8f0; color: var(--muted); }
.sc-card-body { padding: 18px 20px 20px; }
.sc-card-body h4 { font-size: 1.05rem; margin-bottom: 5px; }
.sc-card-body p { font-size: .88rem; }
.sc-card-langs { display: flex; gap: 6px; margin-top: 12px; }
.sc-card-langs span { font-size: .68rem; font-weight: 700; color: var(--muted); background: var(--bg-soft2);
  padding: 3px 7px; border-radius: 5px; }
.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; }
.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 { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.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: linear-gradient(135deg,#059669,#34d399); 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 { font-size: 1.8rem; 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; }

/* 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 { font-size: 1.1rem; animation: asstPulse 2.4s ease-in-out infinite; }
.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; }
}
@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; }
}

/* 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; }
  /* globe stays visible but renders a single static frame (see hero-globe.js) */
  body.reveal-on .reveal { opacity: 1; transform: none; transition: none; }
}
