/* ==========================================================================
   极效工坊 Studio — Unified Single-Domain Portal Stylesheet
   Zero external CDN / Zero external fonts / Apple + Linear aesthetic
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-tint: #f6f7fb;
  --bg-card: #ffffff;
  --border: #e6e8f0;
  --border-strong: #d3d7e4;

  --text: #111318;
  --text-secondary: #4b5162;
  --text-muted: #7c8396;

  --coral: #ff2442;
  --coral-soft: #fff1f3;
  --vermilion: #b83b2a;
  --vermilion-soft: #fdf2ef;
  --blue: #2563eb;
  --blue-soft: #eff6ff;
  --emerald: #059669;
  --emerald-soft: #ecfdf5;
  --violet: #6d28d9;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14);

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SF Mono", "Menlo", "Monaco", "Consolas", monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.container {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

/* ==================== HEADER ==================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.studio-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  flex-shrink: 0;
}

.studio-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #111318 0%, #272b38 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(17, 19, 24, 0.2);
}

.studio-name {
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.studio-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 99px;
  background: var(--bg-tint);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a,
.nav-link-btn {
  border: none;
  background: transparent;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.15s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-link-btn:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.gateway-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 99px;
  background: var(--bg-tint);
  border: 1px solid var(--border);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.gateway-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9ca3af;
}

.gateway-pill.online {
  background: var(--emerald-soft);
  border-color: #a7f3d0;
  color: #065f46;
}

.gateway-pill.online .gateway-dot {
  background: #10b981;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 11px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  height: 36px;
  padding: 0 13px;
  font-size: 13px;
}

.btn-lg {
  height: 46px;
  padding: 0 22px;
  font-size: 14.5px;
}

.btn-full {
  width: 100%;
  height: 42px;
  padding: 0 16px;
  font-size: 13.5px;
}

.btn-dark {
  background: #14171f;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(17, 19, 24, 0.18);
}

.btn-dark:hover {
  background: #232836;
}

.btn-coral {
  background: linear-gradient(135deg, #ff2b4a 0%, #e11d48 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(255, 36, 66, 0.25);
}

.btn-vermilion {
  background: linear-gradient(135deg, #c2412d 0%, #992c1e 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(184, 59, 42, 0.25);
}

.btn-blue {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.24);
}

.btn-outline {
  background: #ffffff;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  background: var(--bg-tint);
}

/* ==================== HERO ==================== */

.hero {
  position: relative;
  padding: 74px 0 62px;
  background-color: #fafbfe;
  background-image:
    radial-gradient(circle at 18% 15%, rgba(255, 36, 66, 0.08), transparent 42%),
    radial-gradient(circle at 82% 20%, rgba(37, 99, 235, 0.09), transparent 44%),
    radial-gradient(rgba(148, 163, 184, 0.22) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 24px 24px;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  text-align: center;
  max-width: 860px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 99px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero-accent {
  background: linear-gradient(120deg, #ff2442 0%, #2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 auto 30px;
  max-width: 680px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}

.hero-trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-item strong {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text);
}

.trust-item span {
  font-size: 12px;
  color: var(--text-muted);
}

.trust-divider {
  width: 1px;
  height: 30px;
  background: var(--border);
}

/* ==================== SECTIONS ==================== */

.section {
  padding: 72px 0;
}

.section-tinted {
  background: var(--bg-tint);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 8px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.section-head p {
  margin: 0;
  font-size: 15px;
  color: var(--text-secondary);
}

/* ==================== FOUR ENGINES GRID ==================== */

.engines-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.engine-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.engine-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.engine-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.engine-pill {
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 99px;
}

.pill-coral { background: var(--coral-soft); color: var(--coral); }
.pill-vermilion { background: var(--vermilion-soft); color: var(--vermilion); }
.pill-blue { background: var(--blue-soft); color: var(--blue); }
.pill-emerald { background: var(--emerald-soft); color: var(--emerald); }

.engine-price-chip {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
  background: var(--bg-tint);
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: 8px;
}

/* Pure CSS Miniature Visual Previews */
.engine-preview {
  position: relative;
  height: 152px;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border);
}

.preview-hanzi {
  background: linear-gradient(135deg, #fbf6ee 0%, #f3ece0 100%);
  border-color: #e5d8c5;
}

.mini-hanzi-sheet {
  background: #fffdf9;
  border: 1px solid #e2d5c1;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  box-shadow: 0 10px 22px rgba(139, 62, 47, 0.12);
}

.mini-hanzi-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #eadcc9;
  padding-bottom: 4px;
  font-size: 9px;
  font-weight: 700;
  color: #8c5a46;
}

.mini-tian-row {
  display: flex;
  gap: 6px;
}

.mini-tian-cell {
  position: relative;
  width: 38px;
  height: 38px;
  border: 1.5px solid #cf4a3a;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Kaiti SC", "STKaiti", "KaiTi", "Songti SC", serif;
  font-size: 24px;
  font-weight: 600;
  color: #1f1b18;
  line-height: 1;
}

.mini-tian-cell::before,
.mini-tian-cell::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.mini-tian-cell::before {
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px dashed rgba(207, 74, 58, 0.45);
}

.mini-tian-cell::after {
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 1px dashed rgba(207, 74, 58, 0.45);
}

.mini-tian-cell.trace {
  color: rgba(31, 27, 24, 0.24);
}

.pill-float-vermilion {
  color: #992c1e;
  border-color: #f3c6bd;
}

.preview-shuka {
  background: linear-gradient(135deg, #fff4f6 0%, #f5f6fa 100%);
}

.mini-xhs-card {
  width: 112px;
  background: #141720;
  border: 1px solid rgba(229, 192, 123, 0.45);
  border-radius: 10px;
  padding: 9px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.22);
}

.mini-badge-red {
  align-self: flex-start;
  font-size: 8px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 99px;
  background: rgba(229, 192, 123, 0.22);
  color: #f3d58d;
}

.mini-title-line {
  height: 6px;
  border-radius: 4px;
  background: #ffffff;
}

.mini-title-line.short {
  width: 72%;
  background: #f3d58d;
  margin-bottom: 3px;
}

.mini-point-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.mini-num {
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 800;
  padding: 1px 3px;
  border-radius: 3px;
  background: #e5c07b;
  color: #141720;
}

.mini-bar {
  flex: 1;
  height: 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.25);
}

.preview-jianmai {
  background: linear-gradient(135deg, #eff6ff 0%, #f5f7fc 100%);
}

.mini-a4-sheet {
  width: 106px;
  height: 126px;
  background: #ffffff;
  border: 1px solid #dbe4f3;
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.12);
}

.mini-a4-head {
  border-bottom: 1.5px solid #2563eb;
  padding-bottom: 6px;
  margin-bottom: 3px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mini-a4-name {
  width: 52%;
  height: 7px;
  border-radius: 3px;
  background: #111318;
}

.mini-a4-sub {
  width: 80%;
  height: 4px;
  border-radius: 3px;
  background: #93c5fd;
}

.mini-a4-sec {
  width: 34%;
  height: 4px;
  border-radius: 3px;
  background: #2563eb;
  margin-top: 2px;
}

.mini-a4-line {
  width: 100%;
  height: 3.5px;
  border-radius: 3px;
  background: #cbd5e1;
}

.mini-a4-line.med { width: 82%; }
.mini-a4-line.short { width: 64%; }

.preview-workflow {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-color: #334155;
}

.mini-flow-nodes {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mini-node {
  padding: 8px 9px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #e2e8f0;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}

.mini-node.node-active {
  background: rgba(16, 185, 129, 0.22);
  border-color: #34d399;
  color: #a7f3d0;
}

.mini-flow-arrow {
  color: #64748b;
  font-weight: 800;
  font-size: 12px;
}

.mini-float-pill {
  position: absolute;
  bottom: 9px;
  right: 10px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.94);
  color: #065f46;
  border: 1px solid #a7f3d0;
  box-shadow: var(--shadow-sm);
}

.pill-float-blue {
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.pill-float-emerald {
  background: rgba(15, 23, 42, 0.88);
  color: #6ee7b7;
  border-color: rgba(52, 211, 153, 0.45);
}

.engine-card h3 {
  margin: 2px 0 0;
  font-size: 19px;
  font-weight: 800;
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
}

.engine-card h3 span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.engine-desc {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.engine-features {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  flex: 1;
}

.engine-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.48;
}

.engine-features li > span:first-child {
  color: var(--emerald);
  font-weight: 900;
  flex-shrink: 0;
}

.engine-actions {
  margin-top: 6px;
}

/* ==================== PRICING MATRIX ==================== */

.pricing-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pricing-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.pricing-flagship-row {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.tier-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.tier-featured {
  border-color: var(--coral);
  background: linear-gradient(180deg, #fff8f9 0%, #ffffff 35%);
  box-shadow: 0 16px 36px rgba(255, 36, 66, 0.12);
}

.tier-ribbon {
  position: absolute;
  top: -12px;
  right: 16px;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 99px;
  background: var(--coral);
  color: #ffffff;
}

.tier-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
}

.tier-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.tier-price {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
}

.tier-price .yuan {
  font-size: 17px;
  margin-right: 2px;
}

.tier-price .unit {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0;
}

.tier-note {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.tier-list {
  list-style: none;
  margin: 4px 0 8px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12.5px;
  color: var(--text-secondary);
  flex: 1;
}

.tier-list li {
  line-height: 1.48;
}

.tier-dual-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-flagship-row .tier-dual-cta {
  flex-direction: row;
  flex-wrap: wrap;
}

.pricing-flagship-row .tier-dual-cta > * {
  flex: 1 1 170px;
}

.pricing-legal-strip {
  margin-top: 22px;
  padding: 13px 18px;
  border-radius: 12px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.text-link {
  border: none;
  background: transparent;
  padding: 0;
  color: var(--coral);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: underline;
  white-space: nowrap;
}

/* ==================== SECURITY SECTION ==================== */

.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.sec-card {
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sec-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #ffffff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
}

.sec-card h3 {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 800;
}

.sec-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.62;
}

/* ==================== FOOTER ==================== */

.site-footer {
  background: #111318;
  color: #cbd5e1;
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-brand-col {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
}

.footer-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

.footer-disclaimer {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: #94a3b8;
}

.footer-links-col {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links-col a,
.footer-legal-btn {
  border: none;
  background: transparent;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  white-space: nowrap;
}

.footer-links-col a:hover,
.footer-legal-btn:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==================== MODALS ==================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 20px;
  padding: 26px 28px;
  box-shadow: var(--shadow-lg);
}

.modal-md { max-width: 580px; }
.modal-lg { max-width: 680px; }

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-tint);
  color: var(--text-secondary);
  font-size: 20px;
  line-height: 1;
}

.modal-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  background: var(--coral-soft);
  color: var(--coral);
  margin-bottom: 8px;
}

.modal-head h2 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 800;
}

.modal-body-stack,
.legal-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.guide-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-tint);
  border: 1px solid var(--border);
}

.step-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #14171f;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guide-step p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--text-secondary);
}

.guide-step a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
}

.guide-step code,
.legal-card code {
  font-family: var(--font-mono);
  font-size: 11.5px;
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 0 5px;
  border-radius: 4px;
}

.legal-notice-box {
  padding: 10px 12px;
  border-radius: 10px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: 12px;
  line-height: 1.55;
}

.legal-card {
  padding: 13px 15px;
  border-radius: 12px;
  background: var(--bg-tint);
  border: 1px solid var(--border);
}

.legal-card h3 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
}

.legal-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 1080px) {
  .pricing-matrix {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-flagship-row {
    grid-template-columns: 1fr;
  }
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gateway-pill {
    display: none;
  }
}

@media (max-width: 900px) {
  .engines-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .hero-trust-strip {
    flex-direction: column;
    align-items: flex-start;
  }
  .trust-divider {
    width: 100%;
    height: 1px;
  }
}

@media (max-width: 600px) {
  .pricing-matrix,
  .pricing-flagship-row,
  .security-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 52px 0 46px;
  }
}
