/* ═══════════════════════════════════════════════════════════════ */
/* Product Detail Pages — Shared Styles                           */
/* ═══════════════════════════════════════════════════════════════ */

/* ─── Product Hero ────────────────────────────────────────────── */
.product-hero {
  position: relative; min-height: 90vh; display: flex; align-items: center;
  padding: 120px 24px 80px; overflow: hidden;
}
.product-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 50% at 30% 40%, #6366f108 0%, transparent 70%);
}
.steno-hero .product-hero-bg {
  background: radial-gradient(ellipse 80% 50% at 30% 40%, #f59e0b08 0%, transparent 70%);
}
.product-breadcrumb { margin-bottom: 32px; font-size: .8rem; color: var(--text-dim); }
.product-breadcrumb a { color: var(--text-muted); }
.product-hero-grid {
  position: relative; z-index: 1; display: grid;
  grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  max-width: 1200px;
}
.product-hero-text { position: relative; z-index: 1; max-width: 800px; }
.product-hero-visual {
  position: relative; display: flex; align-items: center; justify-content: center;
}
.product-hero-img {
  width: 100%; max-width: 520px; border-radius: 20px;
  box-shadow: 0 0 80px rgba(99, 102, 241, 0.15), 0 20px 60px rgba(0,0,0,0.5);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-hero-img:hover { transform: scale(1.03) translateY(-4px); }
.product-id {
  display: inline-block; font-size: .75rem; font-weight: 700; color: var(--accent);
  letter-spacing: 3px; margin-bottom: 8px;
}
.product-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 800; margin-bottom: 8px; }
.product-hero-tagline {
  font-size: 1rem; color: var(--accent2); font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px;
}
.product-hero-punchline {
  font-size: 1.4rem; font-weight: 700; font-style: italic;
  background: var(--gradient-green); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 20px; line-height: 1.4;
}
.product-hero-desc { font-size: 1.15rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 32px; max-width: 700px; }
.product-hero-stats { display: flex; gap: 32px; flex-wrap: wrap; margin-bottom: 36px; }
.ph-stat { }
.ph-stat-value { display: block; font-size: 1.8rem; font-weight: 800; color: var(--text); }
.ph-stat-label { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.product-cta-group { display: flex; gap: 16px; flex-wrap: wrap; }
.blind-spot-badge {
  display: inline-block; background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff; font-size: .75rem; font-weight: 700; padding: 6px 16px;
  border-radius: 6px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px;
}

/* ─── Sections ────────────────────────────────────────────────── */
.product-section { padding: 100px 0; text-align: center; }
.product-section.alt { background: #0c0c14; }
.product-section h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 16px; max-width: 700px; margin-left: auto; margin-right: auto; }

/* ─── Insight Comparison ──────────────────────────────────────── */
.insight-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; text-align: left; }
.insight-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px;
}
.insight-card.bad { border-color: #ef444430; }
.insight-card.good { border-color: #06d6a030; background: linear-gradient(135deg, #12121a, #0f1a18); }
.insight-card h3 { font-size: 1.1rem; margin-bottom: 16px; }
.insight-formula {
  font-family: var(--mono); font-size: .85rem; padding: 12px 16px;
  background: #0a0a12; border-radius: 8px; margin-bottom: 16px; color: var(--text-muted);
}
.highlight-bad { color: #ef4444; font-weight: 600; }
.highlight-good { color: #06d6a0; font-weight: 600; }
.insight-card ul { list-style: none; }
.insight-card li { padding: 6px 0; font-size: .9rem; color: var(--text-muted); }
.insight-card.bad li::before { content: "✗ "; color: #ef4444; }
.insight-card.good li::before { content: "✓ "; color: #06d6a0; font-weight: 700; }

/* ─── Architecture Grid ───────────────────────────────────────── */
.architecture-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 48px; }
.arch-phase {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 20px; text-align: left; position: relative;
  transition: all .3s;
}
.arch-phase:hover { border-color: #6366f140; transform: translateY(-3px); }
.arch-number { font-size: .7rem; font-weight: 700; color: var(--accent); letter-spacing: 2px; margin-bottom: 8px; display: block; }
.arch-phase h3 { font-size: 1rem; margin-bottom: 8px; }
.arch-phase p { font-size: .8rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 12px; }
.arch-agents { font-size: .7rem; color: var(--accent2); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* ─── CISO Grid ───────────────────────────────────────────────── */
.ciso-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 48px; text-align: left; }
.ciso-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px;
}
.ciso-card h3 { font-size: 1.05rem; margin-bottom: 12px; }
.ciso-card p { font-size: .9rem; color: var(--text-muted); margin-bottom: 12px; }
.ciso-evidence { font-size: .8rem; color: var(--text-dim); border-top: 1px solid var(--border); padding-top: 12px; }
.ciso-evidence strong { color: var(--accent2); }

/* ─── TCO Table ───────────────────────────────────────────────── */
.tco-table-wrap { overflow-x: auto; margin-top: 48px; }
.tco-table { width: 100%; border-collapse: collapse; text-align: left; min-width: 600px; }
.tco-table th {
  padding: 14px 20px; font-size: .75rem; text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-muted); border-bottom: 2px solid var(--border); background: #0a0a12;
}
.tco-table td { padding: 16px 20px; border-bottom: 1px solid var(--border); font-size: .9rem; }
.tco-table .good-cell { color: var(--accent2); font-weight: 500; }
.tco-table .savings-cell { color: var(--accent); font-weight: 600; }
.tco-table .tco-total td { border-top: 2px solid var(--border); background: #0a0a12; }
.tco-note { font-size: .8rem; color: var(--text-dim); margin-top: 16px; }

/* ─── Blind Spot Map ──────────────────────────────────────────── */
.blindspot-map { margin-top: 48px; }
.map-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.map-item {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; text-align: left;
}
.map-item.covered { opacity: .6; }
.map-item.blindspot {
  border-color: #f59e0b60; background: linear-gradient(135deg, #1a1810, #1a1418);
  opacity: 1; animation: blindspot-glow 3s infinite;
}
@keyframes blindspot-glow {
  0%, 100% { box-shadow: 0 0 0 0 #f59e0b00; }
  50% { box-shadow: 0 0 30px 0 #f59e0b15; }
}
.map-status { display: block; font-size: .7rem; font-weight: 700; letter-spacing: 1px; margin-bottom: 8px; }
.map-item.covered .map-status { color: var(--text-dim); }
.map-item.blindspot .map-status { color: #f59e0b; }
.map-item h4 { font-size: .95rem; margin-bottom: 6px; }
.map-item p { font-size: .8rem; color: var(--text-muted); }

/* ─── How Grid ────────────────────────────────────────────────── */
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 48px 0; }
.how-step {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 20px; text-align: left;
}
.how-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gradient); color: #fff; font-weight: 700; font-size: .9rem;
  margin-bottom: 16px;
}
.how-step h3 { font-size: 1rem; margin-bottom: 8px; }
.how-step p { font-size: .85rem; color: var(--text-muted); line-height: 1.5; }

/* ─── STENO Demo ──────────────────────────────────────────────── */
.steno-demo {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center;
  margin-top: 48px; text-align: left;
}
.demo-before, .demo-after {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px;
}
.demo-before { border-color: #ef444420; }
.demo-after { border-color: #06d6a030; }
.demo-before h4, .demo-after h4 { font-size: .85rem; margin-bottom: 12px; }
.demo-before h4 { color: var(--text-dim); }
.demo-after h4 { color: var(--accent2); }
.demo-before p, .demo-after p { font-size: .85rem; color: var(--text-muted); font-style: italic; }
.demo-arrow { font-size: 1.5rem; font-weight: 700; color: var(--accent); }
.demo-note { display: block; font-size: .7rem; color: var(--text-dim); margin-top: 8px; }

/* ─── Product Nav Bottom ──────────────────────────────────────── */
.product-nav-bottom { margin-top: 32px; font-size: .9rem; }
.product-nav-sep { color: var(--text-dim); margin: 0 12px; }

/* ─── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .product-hero-grid { grid-template-columns: 1fr; }
  .product-hero-visual { order: -1; }
  .architecture-grid { grid-template-columns: repeat(3, 1fr); }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .map-row { grid-template-columns: repeat(2, 1fr); }
  .steno-demo { grid-template-columns: 1fr; }
  .demo-arrow { text-align: center; transform: rotate(90deg); }
}
@media (max-width: 600px) {
  .insight-comparison { grid-template-columns: 1fr; }
  .architecture-grid { grid-template-columns: 1fr 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .map-row { grid-template-columns: 1fr; }
  .product-hero-stats { gap: 20px; }
}
