/* ============================================
   颜小二自媒体发布API平台 - 全站样式
   品牌色：#2563EB / #0F172A / #38BDF8
   ============================================ */

:root {
  --color-primary: #2D7FF9;
  --color-primary-dark: #1E5FCF;
  --color-primary-light: #5A9CFF;
  --color-accent: #38BDF8;
  --color-dark: #0F1E3D;
  --color-darker: #0A1530;
  --color-bg: #FFFFFF;
  --color-bg-soft: #F8FAFC;
  --color-bg-muted: #F1F5F9;
  --color-border: #E2E8F0;
  --color-text: #0F172A;
  --color-text-soft: #475569;
  --color-text-muted: #64748B;
  --color-success: #10B981;
  --color-danger: #EF4444;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 0 0 1px rgba(37, 99, 235, 0.1), 0 8px 32px -8px rgba(37, 99, 235, 0.25);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", Monaco, Consolas, "Roboto Mono", "Courier New", monospace;

  --container: 1200px;
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-dark); }

h1, h2, h3, h4 { color: var(--color-dark); line-height: 1.25; margin: 0 0 0.6em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 3.6vw, 38px); }
h3 { font-size: clamp(20px, 2.4vw, 24px); }
p { margin: 0 0 1em; color: var(--color-text-soft); }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: var(--header-h);
}
.site-header .container {
  max-width: 1360px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-weight: 800;
  font-size: 18px;
  color: var(--color-dark);
  line-height: 1.2;
  white-space: nowrap;
}
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563EB 0%, #38BDF8 100%);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 16px;
  box-shadow: 0 4px 14px rgba(37,99,235,0.35);
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  gap: clamp(2px, 0.45vw, 8px);
}
.nav-links a {
  color: var(--color-text);
  font-weight: 500;
  padding: 8px clamp(8px, 0.85vw, 14px);
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
}
.nav-links a:hover { background: var(--color-bg-muted); }
.nav-links a.active { color: var(--color-primary); }
.nav-cta {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  min-height: 44px;
  font-family: inherit;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(37,99,235,0.28);
}
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--color-dark);
  border-color: var(--color-border);
}
.btn-ghost:hover { background: var(--color-bg-muted); color: var(--color-dark); }
.btn-dark {
  background: var(--color-dark); color: #fff;
}
.btn-dark:hover { background: #000; color: #fff; }
.btn-lg { padding: 16px 28px; font-size: 16px; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.menu-toggle span {
  display: block; width: 18px; height: 2px;
  background: var(--color-dark);
  position: relative;
}
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 18px; height: 2px; background: var(--color-dark);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

/* Hero */
.hero {
  position: relative;
  padding: 80px 0 64px;
  background:
    radial-gradient(1200px 500px at 80% -100px, rgba(56,189,248,0.18), transparent 60%),
    radial-gradient(900px 400px at 0% 0%, rgba(37,99,235,0.10), transparent 60%),
    linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(37,99,235,0.08);
  color: var(--color-primary);
  font-size: 13px; font-weight: 600;
  margin-bottom: 18px;
}
.hero-eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.15);
}
.hero h1 { margin-bottom: 18px; }
.hero h1 span.grad {
  background: linear-gradient(120deg, #2563EB 0%, #38BDF8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 18px;
  color: var(--color-text-soft);
  margin-bottom: 28px;
  max-width: 560px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 28px;
  display: flex; gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--color-text-muted);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust span::before {
  content: "✓"; color: var(--color-success); font-weight: 700;
}
.hero-art {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  background: #fff;
}
.hero-art img {
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* Sections */
section { padding: 80px 0; }
section.alt { background: var(--color-bg-soft); }
section.dark {
  background: var(--color-darker);
  color: #CBD5E1;
}
section.dark h1, section.dark h2, section.dark h3 { color: #F8FAFC; }
section.dark p { color: #94A3B8; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head .eyebrow {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head p { font-size: 17px; }

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

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.25s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(37,99,235,0.2); }
.card .icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(56,189,248,0.1));
  color: var(--color-primary);
  display: grid; place-items: center;
  margin-bottom: 18px;
  font-size: 22px;
}
.card .icon.text-icon {
  border: 1px solid rgba(37,99,235,0.18);
  background: #F8FAFC;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}
.card h3 { margin-bottom: 10px; font-size: 18px; }
.card p { font-size: 15px; margin: 0; }

/* Architecture diagram */
.arch {
  background: linear-gradient(180deg, #0B1220 0%, #020617 100%);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid #1E293B;
  position: relative;
  overflow: hidden;
}
.arch::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(800px 300px at 50% -100px, rgba(56,189,248,0.18), transparent 70%);
  pointer-events: none;
}
.arch-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  position: relative;
}
.arch-node {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(148,163,184,0.18);
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
}
.arch-node h4 { color: #F1F5F9; font-size: 15px; margin: 0 0 6px; }
.arch-node p { color: #94A3B8; font-size: 13px; margin: 0; }
.arch-arrow {
  color: #38BDF8; font-size: 22px; text-align: center;
  font-weight: 700;
}
.arch-row + .arch-row { margin-top: 18px; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.plan {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 32px 28px;
  position: relative;
  display: flex; flex-direction: column;
}
.plan.featured {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-8px);
}
.plan-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: 999px;
  letter-spacing: 0.04em;
}
.plan h3 { margin: 0 0 6px; font-size: 20px; }
.plan .desc { font-size: 14px; color: var(--color-text-muted); margin-bottom: 18px; }
.plan .price { font-size: 38px; font-weight: 800; color: var(--color-dark); margin-bottom: 4px; }
.plan .price small { font-size: 14px; font-weight: 500; color: var(--color-text-muted); }
.plan .unit { font-size: 13px; color: var(--color-text-muted); margin-bottom: 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.plan ul li {
  font-size: 14px;
  color: var(--color-text-soft);
  padding: 7px 0 7px 24px;
  position: relative;
  border-bottom: 1px solid #F1F5F9;
}
.plan ul li:last-child { border-bottom: none; }
.plan ul li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 7px;
  color: var(--color-primary);
  font-weight: 700;
}
.plan .btn { width: 100%; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  color: var(--color-dark);
  font-size: 15px;
  user-select: none;
}
.faq-q::after {
  content: "+"; font-size: 22px; color: var(--color-primary); font-weight: 400;
  transition: transform 0.2s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 0 22px 20px;
  color: var(--color-text-soft);
  font-size: 14.5px;
  line-height: 1.75;
}
.faq-item.open .faq-a { display: block; }

/* Forms */
.form-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.field {
  display: flex; flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.field label {
  font-size: 13px; font-weight: 600; color: var(--color-dark);
}
.field label .req { color: var(--color-danger); }
.field input, .field textarea, .field select {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  color: var(--color-text);
  min-height: 46px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
.field-error { color: var(--color-danger); font-size: 13px; display: none; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--color-danger); }
.field.has-error .field-error { display: block; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info .info-item {
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 22px;
}
.contact-info .info-item .icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(37,99,235,0.08);
  color: var(--color-primary);
  display: grid; place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-info .info-item h4 { margin: 0 0 4px; font-size: 15px; }
.contact-info .info-item p { margin: 0; font-size: 14px; color: var(--color-text-soft); }
.contact-info .info-item a { color: var(--color-primary); }

/* Logos / trust strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: center;
  margin-top: 16px;
}
.trust-item {
  text-align: center;
  padding: 18px 12px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
}
.trust-item .num {
  font-size: 28px; font-weight: 800;
  background: linear-gradient(120deg, #2563EB 0%, #38BDF8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.trust-item .label {
  font-size: 13px; color: var(--color-text-muted);
  margin-top: 2px;
}

/* CTA banner */
.cta-banner {
  margin: 0 auto;
  background: linear-gradient(120deg, #1E40AF 0%, #2563EB 50%, #0EA5E9 100%);
  border-radius: 22px;
  padding: 56px 48px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before, .cta-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.4;
}
.cta-banner::before { width: 200px; height: 200px; background: #38BDF8; top: -60px; left: -60px; }
.cta-banner::after { width: 240px; height: 240px; background: #818CF8; bottom: -80px; right: -80px; }
.cta-banner h2, .cta-banner p { color: #fff; position: relative; }
.cta-banner h2 { color: #fff; }
.cta-banner p { opacity: 0.95; max-width: 640px; margin: 0 auto 24px; }
.cta-banner .btn-primary {
  background: #fff; color: var(--color-primary);
  position: relative;
}
.cta-banner .btn-primary:hover { background: #F1F5F9; color: var(--color-primary-dark); }
.cta-banner .btn-ghost {
  border-color: rgba(255,255,255,0.4); color: #fff; position: relative;
}
.cta-banner .btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* Code block */
.code-block {
  background: #0B1220;
  border: 1px solid #1E293B;
  border-radius: 14px;
  padding: 22px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: #E2E8F0;
  overflow-x: auto;
  line-height: 1.7;
}
.code-block .k { color: #F472B6; }
.code-block .s { color: #86EFAC; }
.code-block .c { color: #64748B; font-style: italic; }
.code-block .n { color: #FBBF24; }

/* Footer */
.site-footer {
  background: #020617;
  color: #94A3B8;
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .brand { color: #F8FAFC; margin-bottom: 14px; }
.footer-brand p { color: #64748B; font-size: 14px; max-width: 320px; }
.footer-col h5 {
  color: #F8FAFC;
  font-size: 14px;
  margin: 0 0 16px;
  font-weight: 700;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #94A3B8; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #1E293B;
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: #64748B;
}
.footer-bottom a { color: #64748B; margin-left: 18px; }

/* Page header (for inner pages) */
.page-header {
  padding: 64px 0 48px;
  background:
    radial-gradient(900px 400px at 80% 0%, rgba(56,189,248,0.12), transparent 60%),
    linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--color-border);
}
.page-header .eyebrow {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.page-header h1 { margin-bottom: 14px; font-size: clamp(28px, 4vw, 42px); }
.page-header p { font-size: 17px; max-width: 720px; }

/* Feature row with image */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 80px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse > div:first-child { order: 2; }
.feature-row .feature-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}
.feature-row .feature-img img { aspect-ratio: 4/3; object-fit: cover; }
.feature-row h2 { margin-bottom: 14px; }
.feature-row ul { list-style: none; padding: 0; margin: 16px 0 0; }
.feature-row ul li {
  padding: 7px 0 7px 28px;
  position: relative;
  font-size: 15px;
  color: var(--color-text-soft);
}
.feature-row ul li::before {
  content: "→";
  position: absolute; left: 0; top: 7px;
  color: var(--color-primary);
  font-weight: 700;
}

/* Use case cards (with image) */
.case-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.25s ease;
}
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.case-card .img { aspect-ratio: 16/10; overflow: hidden; }
.case-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.case-card:hover .img img { transform: scale(1.05); }
.case-card .body { padding: 22px 24px 26px; }
.case-card h3 { font-size: 18px; margin-bottom: 8px; }
.case-card p { font-size: 14px; margin-bottom: 14px; }
.case-card .tag {
  display: inline-block;
  font-size: 12px;
  color: var(--color-primary);
  background: rgba(37,99,235,0.08);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 12px;
}

/* Platform card */
.platform-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 22px;
  display: flex; gap: 16px; align-items: flex-start;
}
.platform-card .pf-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--color-bg-muted);
  display: grid; place-items: center;
  font-weight: 800;
  color: var(--color-primary);
  flex-shrink: 0;
  font-size: 16px;
}
.platform-card h3 { font-size: 17px; margin: 0 0 6px; }
.platform-card p { font-size: 14px; margin: 0 0 8px; }
.platform-card .badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.badge-live { background: rgba(16,185,129,0.1); color: var(--color-success); }
.badge-soon { background: rgba(249,115,22,0.1); color: #EA580C; }
.badge-future { background: rgba(100,116,139,0.1); color: var(--color-text-muted); }

/* Spacing helpers */
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center; }

/* Channel homepage */
body.modal-open { overflow: hidden; }
.home-cinematic { background: #07111F; }
.hero-home--full {
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 40px 0 48px;
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(56,189,248,0.16), transparent 62%),
    radial-gradient(720px 360px at 0% 100%, rgba(37,99,235,0.16), transparent 58%),
    linear-gradient(180deg, #0A1530 0%, #07111F 100%);
}
.hero-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 44px;
  align-items: center;
}
.hero-home-copy h1,
.hero-home-copy p,
.hero-home-copy .hero-eyebrow,
.hero-home-copy .hero-home-note,
.hero-home-copy .hero-trust { color: #E2E8F0; }
.hero-home-copy h1 { color: #F8FAFC; }
.hero-cta-home .btn-ghost {
  background: rgba(255,255,255,0.04);
  color: #F8FAFC;
  border-color: rgba(255,255,255,0.18);
}
.hero-cta-home .btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.hero-trust-home span { color: #CBD5E1; }
.hero-home-note {
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,0.18);
  background: rgba(15,23,42,0.42);
  font-size: 14px;
  line-height: 1.7;
}
.hero-home-shell {
  position: relative;
}
.browser-shell {
  border-radius: 26px;
  overflow: hidden;
  background: rgba(9, 16, 31, 0.92);
  border: 1px solid rgba(148,163,184,0.16);
  box-shadow: 0 28px 80px rgba(2, 6, 23, 0.45);
}
.browser-shell-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(148,163,184,0.12);
  background: rgba(255,255,255,0.03);
}
.browser-shell-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.browser-shell-url {
  margin-left: 10px;
  font-size: 12px;
  color: #94A3B8;
  letter-spacing: 0.03em;
}
.browser-shell-body {
  padding: 24px;
  color: #E2E8F0;
}
.shell-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.shell-badge {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(56,189,248,0.12);
  border: 1px solid rgba(56,189,248,0.18);
  color: #7DD3FC;
  font-size: 12px;
  font-weight: 700;
}
.shell-title {
  font-size: 28px;
  line-height: 1.3;
  color: #F8FAFC;
  font-weight: 800;
  margin-bottom: 20px;
}
.shell-flow {
  display: grid;
  gap: 14px;
}
.shell-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 18px;
  background: rgba(15,23,42,0.7);
  border: 1px solid rgba(148,163,184,0.12);
}
.shell-step strong {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37,99,235,0.2), rgba(56,189,248,0.28));
  color: #93C5FD;
  font-size: 18px;
}
.shell-step span,
.shell-step small {
  display: block;
}
.shell-step span {
  color: #F8FAFC;
  font-weight: 700;
  margin-bottom: 4px;
}
.shell-step small { color: #94A3B8; }
.shell-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.shell-metrics div {
  padding: 16px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(148,163,184,0.12);
}
.shell-metrics b {
  display: block;
  color: #F8FAFC;
  font-size: 24px;
  margin-bottom: 4px;
}
.shell-metrics span {
  font-size: 12px;
  color: #94A3B8;
}
.immersive-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #08111D;
}
.immersive-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.immersive-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,17,31,0.88) 0%, rgba(7,17,31,0.58) 40%, rgba(7,17,31,0.72) 100%);
}
.immersive-overlay--dark {
  background:
    linear-gradient(90deg, rgba(1,8,20,0.92) 0%, rgba(1,8,20,0.62) 38%, rgba(1,8,20,0.84) 100%);
}
.immersive-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 40px;
  width: 100%;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}
.immersive-content--reverse {
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
}
.immersive-copy {
  max-width: 720px;
}
.immersive-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: #BAE6FD;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.immersive-copy h2 {
  color: #F8FAFC;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.1;
  margin-bottom: 18px;
}
.immersive-copy p {
  color: rgba(226,232,240,0.88);
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 22px;
}
.immersive-points,
.immersive-proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.immersive-points span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #F8FAFC;
  font-size: 13px;
  font-weight: 600;
}
.immersive-float {
  display: grid;
  gap: 18px;
}
.glass-card,
.glass-mini,
.platform-stack,
.result-board {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.glass-card {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 18px 46px rgba(2,6,23,0.26);
}
.glass-card-label {
  color: #7DD3FC;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.glass-card h3 {
  color: #F8FAFC;
  font-size: 26px;
  margin-bottom: 10px;
}
.glass-card p {
  color: rgba(226,232,240,0.82);
  margin: 0;
  font-size: 15px;
}
.glass-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.glass-mini {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}
.glass-mini b,
.glass-mini span {
  display: block;
}
.glass-mini b {
  color: #F8FAFC;
  font-size: 16px;
  margin-bottom: 6px;
}
.glass-mini span {
  color: rgba(226,232,240,0.78);
  font-size: 13px;
}
.immersive-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.platform-stack {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
}
.platform-stack-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.platform-stack-item:last-child { border-bottom: none; }
.platform-stack-item span {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(56,189,248,0.16);
  color: #BAE6FD;
  font-weight: 800;
}
.platform-stack-item strong {
  display: block;
  color: #F8FAFC;
  margin-bottom: 6px;
}
.platform-stack-item p {
  margin: 0;
  color: rgba(226,232,240,0.76);
  font-size: 14px;
}
.immersive-proof-list div {
  min-width: 180px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}
.immersive-proof-list strong,
.immersive-proof-list span {
  display: block;
}
.immersive-proof-list strong {
  color: #F8FAFC;
  margin-bottom: 6px;
}
.immersive-proof-list span {
  color: rgba(226,232,240,0.8);
  font-size: 13px;
}
.result-board {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}
.result-board-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}
.result-board-head strong {
  color: #F8FAFC;
  font-size: 20px;
}
.result-board-head span {
  color: #7DD3FC;
  font-size: 12px;
}
.result-board-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.result-board-grid div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(2,6,23,0.3);
  border: 1px solid rgba(148,163,184,0.14);
}
.result-board-grid b,
.result-board-grid span {
  display: block;
}
.result-board-grid b {
  color: #F8FAFC;
  margin-bottom: 6px;
}
.result-board-grid span {
  color: rgba(226,232,240,0.8);
  font-size: 13px;
}
.home-bottom-cta {
  background: linear-gradient(180deg, #07111F 0%, #FFFFFF 100%);
  padding-top: 88px;
  padding-bottom: 88px;
}
.qr-modal[hidden] { display: none; }
.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}
.qr-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
}
.qr-modal-dialog {
  position: relative;
  width: min(480px, 100%);
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.34);
  overflow: hidden;
}
.qr-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.qr-modal-content {
  padding: 34px 30px 30px;
  text-align: center;
}
.qr-modal-kicker {
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.qr-modal-content h3 {
  font-size: 28px;
  margin-bottom: 12px;
}
.qr-modal-content p {
  font-size: 15px;
  margin: 0 auto 20px;
  max-width: 360px;
}
.qr-modal-card {
  width: min(320px, 100%);
  margin: 0 auto 18px;
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  border: 1px solid var(--color-border);
}
.qr-modal-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
.qr-modal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(37,99,235,0.08);
  font-weight: 700;
}

/* Responsive */
@media (max-width: 1220px) {
  .site-header .container { padding: 0 18px; }
  .brand { font-size: 17px; }
  .nav { gap: 12px; }
  .nav-links a { font-size: 14px; padding: 8px 8px; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn { padding: 10px 14px; min-height: 42px; font-size: 14px; }
  .nav-cta .btn-ghost[href="contact.html"] { display: none; }
}
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 20px;
    border-bottom: 1px solid var(--color-border);
    gap: 4px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open a { padding: 12px 14px; width: 100%; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 960px) {
  .hero-grid, .contact-grid, .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row.reverse > div:first-child { order: 0; }
  .grid-3, .grid-4, .pricing-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .arch-row { grid-template-columns: 1fr; gap: 8px; }
  .arch-arrow { transform: rotate(90deg); padding: 4px 0; }
  .plan.featured { transform: none; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-home-grid,
  .immersive-content,
  .immersive-content--reverse {
    grid-template-columns: 1fr;
  }
  .hero-home-shell { order: -1; }
}
@media (max-width: 720px) {
  .nav-cta .btn-ghost { display: none; }
  section { padding: 56px 0; }
  .hero { padding: 48px 0 40px; }
  .grid-3, .grid-4, .grid-2, .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom > div:last-child a { margin: 0 18px 0 0; }
  .form-card, .cta-banner { padding: 26px 22px; }
  .container { padding: 0 18px; }
  .hero-cta .btn { width: 100%; }
  .hero-home--full { min-height: auto; }
  .shell-metrics,
  .glass-mini-grid,
  .result-board-grid { grid-template-columns: 1fr; }
  .immersive-copy h2 { font-size: 34px; }
  .immersive-copy p { font-size: 16px; }
  .immersive-action-row .btn,
  .hero-cta-home .btn { width: 100%; }
  .qr-modal-content { padding: 28px 20px 22px; }
}
@media (max-width: 480px) {
  .site-header .container { padding: 0 12px; }
  .nav { gap: 8px; }
  .site-header .brand > span > span { display: none; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn-primary { padding: 9px 12px; min-height: 40px; }
  .menu-toggle { width: 40px; height: 40px; }
}
