/* ============================================================
   Diagsolve TOP — style.css
   ============================================================ */

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

:root {
  --azure: #3b82f6;
  --aws: #f97316;
  --network: #06b6d4;
  --security: #dc2626;
  --gcp: #4285f4;
  --linux: #fcc624;
  --windows: #00a4ef;
  --docker: #2496ed;
  --kubernetes: #326ce5;
  --nginx: #009639;
  --mysql: #00758f;
  --postgresql: #336791;
  --apache: #d22128;
  --git: #f05032;
  --ssl: #2ecc71;
  --bg: #080d1a;
  --bg2: #0d1221;
  --bg3: #111827;
  --border: rgba(255,255,255,0.10);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
}

.container {
  padding: 0 10%;
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  padding: 0 10%;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-icon {
  color: var(--acc);
  flex-shrink: 0;
}
.nav-logo-text {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}
.nav-logo-diag  { color: var(--text); }
.nav-logo-solve { color: var(--acc); }
.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text-muted); }

.nav-login-btn {
  padding: 8px 18px;
  background: var(--acc);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 6px;
  transition: opacity 0.15s;
}
.nav-login-btn:hover { opacity: 0.85; }

.nav-user-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-user-name-top {
  font-size: 0.78rem;
  font-weight: 600;
  color: #94a3b8;
}

/* ── Hero ── */
.hero {
  padding: 96px 0 72px;
  border-bottom: 1px solid var(--border);
}
.hero-eyebrow {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--azure);
}
.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: var(--text);
}
.hero-accent {
  color: var(--azure);
}
.hero-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 56px;
}
.hero-stat {
  flex: 1;
  padding: 20px 0;
  border-right: 1px solid var(--border);
}
.hero-stat:last-child { border-right: none; }
.stat-num {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Products ── */
.products {
  padding: 96px 0;
  border-bottom: 2px solid var(--border);
  background: var(--bg);
}
.section-eyebrow {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--azure);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  divide-x: var(--border);
}
.product-col {
  border-right: 1px solid var(--border);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.2s;
}
.product-col:last-child { border-right: none; }
.product-col:hover { background: rgba(255,255,255,0.015); }
.product-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.product-platform {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.platform-azure    { color: var(--azure); }
.platform-aws      { color: var(--aws); }
.platform-network  { color: var(--network); }
.platform-security { color: var(--security); }
.platform-gcp      { color: var(--gcp); }
.platform-linux    { color: var(--linux); }
.platform-windows  { color: var(--windows); }
.platform-docker      { color: var(--docker); }
.platform-kubernetes  { color: var(--kubernetes); }
.platform-nginx       { color: var(--nginx); }
.platform-mysql       { color: var(--mysql); }
.platform-postgresql  { color: var(--postgresql); }
.platform-apache      { color: var(--apache); }
.platform-git         { color: var(--git); }
.platform-ssl         { color: var(--ssl); }
.product-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1.2;
}
.product-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  flex: 1;
}
.product-services {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.service-line {
  font-size: 0.85rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-line::before {
  content: '—';
  color: var(--text-dim);
  font-size: 0.65rem;
}
.product-meta {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.meta-num {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}
.meta-azure    { color: var(--azure); }
.meta-aws      { color: var(--aws); }
.meta-network  { color: var(--network); }
.meta-security { color: var(--security); }
.meta-gcp      { color: var(--gcp); }
.meta-linux    { color: var(--linux); }
.meta-windows  { color: var(--windows); }
.meta-docker      { color: var(--docker); }
.meta-kubernetes  { color: var(--kubernetes); }
.meta-nginx       { color: var(--nginx); }
.meta-mysql       { color: var(--mysql); }
.meta-postgresql { color: var(--postgresql); }
.meta-apache   { color: var(--apache); }
.meta-git      { color: var(--git); }
.meta-ssl      { color: var(--ssl); }
.product-meta-right {
  text-align: right;
}
.meta-label {
  font-size: 0.68rem;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 2px;
}
.btn-product {
  display: block;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 11px 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity 0.15s;
  border: 1px solid;
}
.btn-product:hover { opacity: 0.7; }
.btn-azure    { border-color: rgba(59,130,246,0.4);  color: var(--azure);   }
.btn-aws      { border-color: rgba(249,115,22,0.4);  color: var(--aws);     }
.btn-network  { border-color: rgba(6,182,212,0.4);   color: var(--network); }
.btn-security { border-color: rgba(220,38,38,0.4);   color: var(--security); }
.btn-gcp      { border-color: rgba(66,133,244,0.4);  color: var(--gcp); }
.btn-linux    { border-color: rgba(252,198,36,0.4);   color: var(--linux); }
.btn-windows  { border-color: rgba(0,164,239,0.4);    color: var(--windows); }
.btn-docker   { border-color: rgba(36,150,237,0.4);   color: var(--docker); }
.btn-mysql    { border-color: rgba(0,117,143,0.4);   color: var(--mysql); }
.btn-postgresql { border-color: rgba(51,103,145,0.4); color: var(--postgresql); }
.btn-apache   { border-color: rgba(210,33,40,0.4);   color: var(--apache); }
.btn-git      { border-color: rgba(240,80,50,0.4);   color: var(--git); }
.btn-ssl      { border-color: rgba(46,204,113,0.4);  color: var(--ssl); }

/* ── How it works ── */
.how {
  padding: 96px 0;
  border-bottom: 2px solid var(--border);
  background: var(--bg2);
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
}
.how-step {
  border-right: 1px solid var(--border);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}
.how-step:last-child { border-right: none; }
.step-num {
  font-size: 4rem;
  font-weight: 900;
  color: rgba(255,255,255,0.07);
  line-height: 1;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}
.step-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.step-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
  flex: 1;
}
.step-code {
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--border);
  padding: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
}
.code-before { color: var(--text-dim); margin-bottom: 6px; word-break: break-all; }
.code-highlight { color: #fbbf24; }
.code-arrow { color: var(--text-dim); margin: 5px 0; }
.code-after { color: var(--text-muted); word-break: break-all; }
.code-tag { color: #34d399; }
/* -- Stacked chart (PC=横, SP=縦) -- */
.stacked-chart {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stacked-bar-h {
  display: flex;
  height: 32px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.stacked-seg {
  height: 100%;
  transition: opacity 0.2s;
}
.stacked-seg:hover { opacity: 0.8; }
.seg-1 { background: #3b82f6; }
.seg-2 { background: #06b6d4; }
.seg-3 { background: #34d399; }
.seg-4 { background: #fbbf24; }
.seg-5 { background: #f97316; }
.seg-6 { background: #a78bfa; }
.stacked-legend-h {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 24px;
}
.legend-item-h {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.legend-dot {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}
.legend-dot.seg-1 { background: #3b82f6; }
.legend-dot.seg-2 { background: #06b6d4; }
.legend-dot.seg-3 { background: #34d399; }
.legend-dot.seg-4 { background: #fbbf24; }
.legend-dot.seg-5 { background: #f97316; }
.legend-dot.seg-6 { background: #a78bfa; }
.legend-name {
  flex: 1;
}
.legend-pt {
  font-weight: 700;
  color: var(--text-dim);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}
.step-llm { display: flex; flex-direction: column; gap: 8px; }
.llm-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.llm-item:last-child { border-bottom: none; }

/* ── Coverage ── */
.coverage {
  padding: 96px 0;
  border-bottom: 2px solid var(--border);
  background: var(--bg);
}
.cov-category-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cov-category-label::before {
  content: '';
  display: block;
  width: 16px;
  height: 1px;
  background: var(--text-dim);
}
.section-eyebrow + .cov-category-label {
  margin-top: 0;
}
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
}
.coverage-grid-2col {
  grid-template-columns: repeat(2, 1fr);
}
.coverage-grid-1col {
  grid-template-columns: 1fr;
}
.coverage-col {
  border-right: 1px solid var(--border);
  padding: 28px;
}
.coverage-col:last-child { border-right: none; }
.cov-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.cov-platform {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.cov-count {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}
.cov-chips {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cov-chip {
  font-size: 0.88rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.cov-chip::before {
  content: '';
  display: block;
  width: 3px;
  height: 3px;
  background: var(--text-dim);
  flex-shrink: 0;
}

/* ── Pilot badge ── */
.pilot-badge {
  display: inline-block;
  background: rgba(52,211,153,0.15);
  color: #34d399;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  padding: 3px 10px;
  border: 1px solid rgba(52,211,153,0.3);
  vertical-align: middle;
  margin-left: 8px;
}
.hero-banners {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 40px;
}
.pilot-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(52,211,153,0.06);
  border: 1px solid rgba(52,211,153,0.2);
  padding: 14px 20px;
  font-size: 0.92rem;
  color: #94a3b8;
}
.pilot-banner strong {
  color: #34d399;
}
.security-banner {
  background: rgba(59,130,246,0.06);
  border-color: rgba(59,130,246,0.2);
}
.security-banner strong {
  color: var(--azure);
}
.pilot-banner-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ── Pricing ── */
.pricing {
  padding: 96px 0;
  border-bottom: 2px solid var(--border);
  background: var(--bg2);
}
.pricing-pilot-notice {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(52,211,153,0.06);
  border: 1px solid rgba(52,211,153,0.2);
  padding: 28px 32px;
  margin-bottom: 48px;
}
.pricing-pilot-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  line-height: 1;
}
.pricing-pilot-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #34d399;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.pricing-pilot-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
}
.pricing-card {
  padding: 36px 32px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pricing-card:last-child { border-right: none; }
.pricing-card-highlight {
  background: rgba(59,130,246,0.04);
  border-top: 2px solid var(--azure);
}
.pricing-plan-name {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.pricing-card-highlight .pricing-plan-name {
  color: var(--azure);
}
.pricing-price {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}
.pricing-period {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dim);
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.pricing-features li {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.pricing-features li::before {
  content: '—';
  color: var(--text-dim);
  font-size: 0.65rem;
  flex-shrink: 0;
}
.pricing-coming {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.pricing-note {
  margin-top: 24px;
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.7;
}
.pricing-faq {
  margin-top: 48px;
  border: 1px solid var(--border);
  padding: 36px 32px;
}
.pricing-faq-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.pricing-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.pricing-faq-item {
  padding: 0 24px;
  border-right: 1px solid var(--border);
}
.pricing-faq-item:first-child { padding-left: 0; }
.pricing-faq-item:last-child { border-right: none; padding-right: 0; }
.pricing-faq-q {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.pricing-faq-a {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.pricing-faq-a strong {
  color: var(--text);
}

/* ── CTA ── */
.cta {
  padding: 96px 0;
  background: var(--bg2);
}
.cta-inner {
  border: 1px solid var(--border);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.cta-heading {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  color: var(--text);
}
.cta-desc {
  color: var(--text-muted);
  font-size: 1.0rem;
}
.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 180px;
}
.cta-btn {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 11px 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity 0.15s;
  border: 1px solid;
  text-align: center;
}
.cta-btn:hover { opacity: 0.7; }
.cta-azure    { border-color: rgba(59,130,246,0.4);  color: var(--azure);   }
.cta-aws      { border-color: rgba(249,115,22,0.4);  color: var(--aws);     }
.cta-network  { border-color: rgba(6,182,212,0.4);   color: var(--network); }
.cta-security { border-color: rgba(220,38,38,0.4);   color: var(--security); }
.cta-mysql    { border-color: rgba(0,117,143,0.4);   color: var(--mysql); }
.cta-postgresql { border-color: rgba(51,103,145,0.4); color: var(--postgresql); }
.cta-apache   { border-color: rgba(210,33,40,0.4);   color: var(--apache); }
.cta-git      { border-color: rgba(240,80,50,0.4);   color: var(--git); }
.cta-ssl      { border-color: rgba(46,204,113,0.4);  color: var(--ssl); }
.cta-gcp      { border-color: rgba(66,133,244,0.4);  color: var(--gcp); }
.cta-linux    { border-color: rgba(252,198,36,0.4);   color: var(--linux); }
.cta-windows  { border-color: rgba(0,164,239,0.4);    color: var(--windows); }
.cta-docker   { border-color: rgba(36,150,237,0.4);   color: var(--docker); }
.cta-kubernetes { border-color: rgba(50,108,229,0.4); color: #326ce5; }
.cta-nginx    { border-color: rgba(0,150,57,0.4);    color: #009639; }

/* ── Footer ── */
.footer {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}
.footer-copy {
  font-size: 0.75rem;
  color: var(--text-dim);
}
.footer-nav {
  display: flex;
  gap: 24px;
}
.footer-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.75rem;
  transition: color 0.15s;
}
.footer-nav a:hover { color: var(--text-muted); }

/* ── Score bars (How it works section) ── */
.step-scores {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.score-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.score-row span:first-child {
  width: 100px;
  flex-shrink: 0;
  font-weight: 600;
  color: var(--text-dim);
}
.score-row span:last-child {
  width: 40px;
  text-align: right;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.score-bar {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.score-fill {
  height: 100%;
  background: var(--azure);
  border-radius: 2px;
}

/* ── Nav active ── */
.nav-links a.active {
  color: var(--text);
}

/* ── Hero stat padding ── */
.hero-stat:first-child {
  padding-left: 0;
}
.hero-stat:not(:first-child) {
  padding-left: 32px;
}

/* ── Updates ── */
.updates {
  padding: 60px 0 20px;
}
.updates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.update-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 22px;
}
.update-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.update-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid;
}
.update-tag-new {
  color: #dc2626;
  background: rgba(220,38,38,0.12);
  border-color: rgba(220,38,38,0.3);
}
.update-tag-feature {
  color: #22c55e;
  background: rgba(34,197,94,0.12);
  border-color: rgba(34,197,94,0.3);
}
.update-tag-improve {
  color: #3b82f6;
  background: rgba(59,130,246,0.12);
  border-color: rgba(59,130,246,0.3);
}
.update-date {
  font-size: 0.72rem;
  color: var(--text-dim);
}
.update-title {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.update-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Doc pages ── */
.doc-content {
  padding: 60px 10%;
  padding-bottom: 80px;
}
.doc-content h1 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.doc-content .updated {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 40px;
}
.doc-content h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 32px 0 10px;
}
.doc-content h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 20px 0 8px;
  color: var(--text-muted);
}
.doc-content p, .doc-content li {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.doc-content ul {
  padding-left: 20px;
  margin-top: 8px;
}
.doc-content li {
  margin-bottom: 4px;
}
.doc-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 0.85rem;
}
.doc-content th, .doc-content td {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.08);
  text-align: left;
}
.doc-content th {
  background: rgba(255,255,255,0.03);
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.doc-content td {
  color: var(--text-muted);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  font-size: 0.85rem;
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.2s;
}
.back-link:hover {
  color: var(--text-muted);
}
.doc-link {
  color: var(--azure);
  text-decoration: underline;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav-inner { flex-wrap: wrap; padding: 8px 10%; height: auto; min-height: 56px; }
  .nav-links { flex-wrap: wrap; gap: 16px; }
  .products-grid { grid-template-columns: 1fr; }
  .product-col { border-right: none; border-bottom: 1px solid var(--border); }
  .product-col:last-child { border-bottom: none; }
  .how-grid { grid-template-columns: 1fr; }
  .how-step { border-right: none; border-bottom: 1px solid var(--border); }
  .how-step:last-child { border-bottom: none; }
  .stacked-bar-h {
    flex-direction: column;
    height: 200px;
  }
  .stacked-seg {
    width: 100% !important;
    height: auto;
    flex-grow: var(--seg-weight, 1);
  }
  .seg-1 { --seg-weight: 30; }
  .seg-2 { --seg-weight: 20; }
  .seg-3 { --seg-weight: 20; }
  .seg-4 { --seg-weight: 15; }
  .seg-5 { --seg-weight: 10; }
  .seg-6 { --seg-weight: 5; }
  .stacked-legend-h {
    grid-template-columns: 1fr;
  }
  .coverage-grid, .coverage-grid-2col, .coverage-grid-1col { grid-template-columns: 1fr; }
  .coverage-col { border-right: none; border-bottom: 1px solid var(--border); }
  .coverage-col:last-child { border-bottom: none; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: row; }
  .hero-stats { flex-wrap: wrap; }
  .hero-stat { flex: 1 1 50%; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { border-right: none; border-bottom: 1px solid var(--border); }
  .pricing-card:last-child { border-bottom: none; }
  .pricing-faq-grid { grid-template-columns: 1fr; }
  .pricing-faq-item { padding: 16px 0; border-right: none; border-bottom: 1px solid var(--border); }
  .pricing-faq-item:first-child { padding-top: 0; }
  .pricing-faq-item:last-child { border-bottom: none; padding-bottom: 0; }
}
@media (max-width: 600px) {
  .container { padding: 0 5%; }
  .nav-inner { padding: 0 5%; }
  .hero { padding: 64px 0 56px; }
  .hero-title { font-size: 2.4rem; }
  .nav-links { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .cta-inner { padding: 36px 24px; }
  .cta-buttons { flex-direction: column; }
}
