/* ══════════════════════════════════════════════════════════════
   Selenium Landing — Terminal Precision redesign
   Fonts: Syne (headings) · DM Sans (body) · JetBrains Mono (code)
   Accent: #3b76f6  electric blue
   ══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=JetBrains+Mono:wght@400;600&display=swap');

/* ── Tokens ───────────────────────────────────────────────────── */
:root {
  --sh-bg:           #060708;
  --sh-bg2:          #0d0f13;
  --sh-bg3:          #141820;
  --sh-border:       rgba(255, 255, 255, 0.07);
  --sh-border-md:    rgba(255, 255, 255, 0.12);
  --sh-accent:       #3b76f6;
  --sh-accent-dim:   rgba(59, 118, 246, 0.10);
  --sh-accent-glow:  rgba(59, 118, 246, 0.28);
  --sh-blue:         #3b76f6;
  --sh-text:         #f0f3fb;
  --sh-muted:        rgba(182, 192, 218, 0.72);
  --sh-faint:        rgba(182, 192, 218, 0.36);
  --sh-font-head:    'Syne', 'Segoe UI', sans-serif;
  --sh-font-body:    'DM Sans', 'Segoe UI', sans-serif;
  --sh-font-mono:    'JetBrains Mono', 'Fira Code', monospace;
  --sh-r:            6px;
  --sh-r-sm:         4px;
}

/* ── Base ─────────────────────────────────────────────────────── */
.product-landing-page {
  background: var(--sh-bg);
}

.sh {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--sh-bg);
  color: var(--sh-text);
  font-family: var(--sh-font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Header ───────────────────────────────────────────────────── */
.sh-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--sh-border);
  background: rgba(6, 7, 8, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.sh-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
  min-height: 66px;
}

.sh-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--sh-text);
  text-decoration: none;
}

.sh-brand-mark {
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(59, 118, 246, 0.30);
  border-radius: var(--sh-r);
  background: var(--sh-accent-dim);
  flex: 0 0 auto;
}

.sh-brand-mark img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.sh-brand-name {
  font-family: var(--sh-font-head);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.sh-nav {
  display: flex;
  justify-content: center;
  gap: 2px;
}

.sh-nav-link {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 13px;
  border-radius: var(--sh-r-sm);
  color: var(--sh-muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.14s, background 0.14s;
}

.sh-nav-link:hover {
  color: var(--sh-text);
  background: rgba(255, 255, 255, 0.05);
}

.sh-header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Buttons ──────────────────────────────────────────────────── */
.sh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 18px;
  border: 1px solid var(--sh-border-md);
  border-radius: var(--sh-r);
  color: var(--sh-text);
  font-family: var(--sh-font-body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.14s, background 0.14s, border-color 0.14s, box-shadow 0.14s;
}

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

.sh-btn-ghost { background: rgba(255, 255, 255, 0.03); }
.sh-btn-ghost:hover { background: rgba(255, 255, 255, 0.07); }

.sh-btn-primary {
  border-color: rgba(59, 118, 246, 0.50);
  background: var(--sh-accent);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 28px var(--sh-accent-glow);
}

.sh-btn-primary:hover {
  background: #5b8ef8;
  box-shadow: 0 0 40px rgba(59, 118, 246, 0.42);
}

.sh-btn-lg {
  height: 52px;
  padding: 0 26px;
  font-size: 15px;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.sh-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--sh-border);
  background:
    radial-gradient(ellipse at 8% 60%, rgba(59, 118, 246, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 92% 15%, rgba(59, 130, 246, 0.05) 0%, transparent 42%);
}

.sh-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--sh-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--sh-border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, transparent 66%);
  pointer-events: none;
}

.sh-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 520px);
  align-items: center;
  gap: 64px;
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
  padding: 96px 0 88px;
}

.sh-hero-copy { max-width: 580px; }

.sh-kicker {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(59, 118, 246, 0.30);
  border-radius: var(--sh-r-sm);
  background: var(--sh-accent-dim);
  color: var(--sh-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.sh-hero-h1 {
  margin: 22px 0 0;
  font-family: var(--sh-font-head);
  font-size: clamp(50px, 5.4vw, 74px);
  font-weight: 800;
  line-height: 0.97;
  letter-spacing: -0.03em;
  color: var(--sh-text);
}

.sh-hero-accent { color: var(--sh-accent); }

.sh-hero-lead {
  margin: 22px 0 0;
  max-width: 520px;
  color: var(--sh-muted);
  font-size: 17px;
  line-height: 1.72;
}

.sh-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.sh-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.sh-pill {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 9px;
  border: 1px solid var(--sh-border);
  border-radius: var(--sh-r-sm);
  background: rgba(255, 255, 255, 0.02);
  color: var(--sh-faint);
  font-size: 12px;
  font-weight: 500;
}

/* ── Terminal panel ───────────────────────────────────────────── */
.sh-terminal {
  position: relative;
  border: 1px solid var(--sh-border-md);
  border-radius: 10px;
  background: var(--sh-bg2);
  box-shadow:
    0 0 0 1px rgba(59, 118, 246, 0.08),
    0 36px 80px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.sh-terminal::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 100% 0%, rgba(59, 118, 246, 0.05), transparent 55%);
  pointer-events: none;
}

.sh-term-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-bottom: 1px solid var(--sh-border);
  background: rgba(255, 255, 255, 0.022);
}

.sh-term-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sh-font-mono);
  font-size: 12px;
  color: var(--sh-muted);
}

.sh-term-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sh-accent);
  box-shadow: 0 0 7px var(--sh-accent-glow);
  animation: sh-pulse 2.4s ease-in-out infinite;
}

@keyframes sh-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.45; }
}

.sh-term-badge {
  font-family: var(--sh-font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--sh-faint);
}

.sh-term-badge.is-on { color: var(--sh-accent); }

.sh-term-body { padding: 10px 0; }

.sh-term-row {
  display: grid;
  grid-template-columns: 78px 48px 1fr;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  opacity: 0;
  animation: sh-row-in 0.38s ease forwards;
}

@keyframes sh-row-in {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sh-term-time {
  font-family: var(--sh-font-mono);
  font-size: 11px;
  color: var(--sh-faint);
}

.sh-term-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 19px;
  padding: 0 5px;
  border-radius: 3px;
  font-family: var(--sh-font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.sh-tag-ticket { background: rgba(59, 130, 246, 0.14); color: #60a5fa; }
.sh-tag-roles  { background: rgba(168, 85, 247, 0.14); color: #c084fc; }
.sh-tag-chan   { background: rgba(20, 184, 166, 0.14); color: #2dd4bf; }
.sh-tag-mod    { background: rgba(239, 68, 68, 0.14);  color: #f87171; }
.sh-tag-cfg    { background: rgba(59, 118, 246, 0.14); color: #60a5fa; }

.sh-term-text {
  font-family: var(--sh-font-mono);
  font-size: 12px;
  color: rgba(218, 226, 244, 0.82);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sh-term-footer {
  padding: 10px 16px;
  border-top: 1px solid var(--sh-border);
  font-family: var(--sh-font-mono);
  font-size: 11px;
  color: var(--sh-faint);
}

/* ── Stats strip ──────────────────────────────────────────────── */
.sh-stats { border-bottom: 1px solid var(--sh-border); }

.sh-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
}

.sh-stat {
  padding: 26px 24px;
  border-right: 1px solid var(--sh-border);
}

.sh-stat:last-child { border-right: 0; }

.sh-stat-val {
  display: block;
  font-family: var(--sh-font-mono);
  font-size: 26px;
  font-weight: 600;
  color: var(--sh-text);
  letter-spacing: -0.02em;
}

.sh-stat-label {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--sh-faint);
}

/* ── Sections ─────────────────────────────────────────────────── */
.sh-section {
  border-bottom: 1px solid var(--sh-border);
  padding: 80px 0;
}

.sh-section-inner {
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
}

.sh-section-head {
  max-width: 620px;
  margin-bottom: 44px;
}

.sh-eyebrow {
  display: block;
  margin-bottom: 12px;
  font-family: var(--sh-font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--sh-accent);
  letter-spacing: 0.1em;
}

.sh-section-h2 {
  margin: 0 0 14px;
  font-family: var(--sh-font-head);
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--sh-text);
}

.sh-section-lead {
  margin: 0;
  color: var(--sh-muted);
  font-size: 16px;
  line-height: 1.72;
}

/* ── Features bento ───────────────────────────────────────────── */
.sh-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--sh-border-md);
  border-radius: 8px;
  overflow: hidden;
  background: var(--sh-border-md);
}

.sh-fcard {
  position: relative;
  padding: 32px;
  background: var(--sh-bg);
  transition: background 0.18s;
}

.sh-fcard:hover { background: var(--sh-bg2); }

.sh-fcard-wide { grid-column: span 2; }

.sh-fcard-kicker {
  display: block;
  margin-bottom: 12px;
  font-family: var(--sh-font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--sh-accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sh-fcard-title {
  margin: 0 0 12px;
  font-family: var(--sh-font-head);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--sh-text);
  white-space: pre-line;
}

.sh-fcard-wide .sh-fcard-title { font-size: 26px; }

.sh-fcard-text {
  margin: 0;
  color: var(--sh-muted);
  font-size: 14px;
  line-height: 1.72;
  max-width: 380px;
}

/* ── Steps ────────────────────────────────────────────────────── */
.sh-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--sh-border-md);
  border-radius: 8px;
  overflow: hidden;
}

.sh-step {
  padding: 36px 32px;
  border-right: 1px solid var(--sh-border);
  background: var(--sh-bg);
  transition: background 0.18s;
}

.sh-step:last-child { border-right: 0; }
.sh-step:hover { background: var(--sh-bg2); }

.sh-step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(59, 118, 246, 0.32);
  border-radius: var(--sh-r);
  background: var(--sh-accent-dim);
  color: var(--sh-accent);
  font-family: var(--sh-font-mono);
  font-size: 13px;
  font-weight: 600;
}

.sh-step-title {
  margin: 20px 0 8px;
  font-family: var(--sh-font-head);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--sh-text);
}

.sh-step-text {
  margin: 0;
  color: var(--sh-muted);
  font-size: 14px;
  line-height: 1.72;
}

/* ── Premium ──────────────────────────────────────────────────── */
.sh-premium {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  padding: 52px;
  border: 1px solid var(--sh-border-md);
  border-radius: 8px;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(59, 118, 246, 0.05), transparent 52%),
    var(--sh-bg2);
}

.sh-premium-copy .sh-section-h2 { margin-bottom: 12px; }

.sh-premium-list {
  border: 1px solid var(--sh-border);
  border-radius: var(--sh-r);
  overflow: hidden;
}

.sh-premium-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--sh-border);
  font-size: 15px;
  color: var(--sh-text);
}

.sh-premium-item:last-of-type { border-bottom: 0; }

.sh-premium-check {
  flex: 0 0 auto;
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  background: var(--sh-accent-dim);
  color: var(--sh-accent);
  font-size: 11px;
  font-weight: 700;
}

.sh-premium-actions {
  display: flex;
  gap: 10px;
  padding: 18px;
  border-top: 1px solid var(--sh-border);
  background: rgba(0, 0, 0, 0.18);
}

/* ── FAQ ──────────────────────────────────────────────────────── */
.sh-faq {
  border: 1px solid var(--sh-border-md);
  border-radius: 8px;
  overflow: hidden;
}

.sh-faq-item {
  padding: 24px 28px;
  border-bottom: 1px solid var(--sh-border);
  background: var(--sh-bg);
  transition: background 0.14s;
}

.sh-faq-item:last-child { border-bottom: 0; }
.sh-faq-item:hover { background: var(--sh-bg2); }

.sh-faq-q {
  margin: 0 0 8px;
  font-family: var(--sh-font-head);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--sh-text);
}

.sh-faq-a {
  margin: 0;
  color: var(--sh-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ── Final CTA ────────────────────────────────────────────────── */
.sh-cta-section { border-bottom: 0; }

.sh-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 52px;
  border: 1px solid var(--sh-border-md);
  border-radius: 8px;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(59, 118, 246, 0.06), transparent 50%),
    radial-gradient(ellipse at 85% 50%, rgba(59, 130, 246, 0.04), transparent 42%),
    var(--sh-bg2);
}

.sh-cta-copy { max-width: 500px; }

.sh-cta-h2 {
  margin: 8px 0 0;
  font-family: var(--sh-font-head);
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--sh-text);
}

.sh-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: 0 0 auto;
}

/* ── Footer ───────────────────────────────────────────────────── */
.sh-footer {
  border-top: 1px solid var(--sh-border);
  padding: 22px 0;
}

.sh-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
  font-size: 12px;
  color: var(--sh-faint);
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .sh-hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 72px 0 64px;
  }

  .sh-hero-copy { max-width: 640px; }

  .sh-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .sh-stat:nth-child(2) { border-right: 0; }
  .sh-stat:nth-child(3) { border-top: 1px solid var(--sh-border); }

  .sh-premium {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 36px;
  }

  .sh-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 800px) {
  .sh-header-inner { grid-template-columns: auto auto; }
  .sh-nav { display: none; }

  .sh-hero-h1 { font-size: 46px; }

  .sh-features { grid-template-columns: 1fr; }
  .sh-fcard-wide { grid-column: span 1; }
  .sh-fcard-wide .sh-fcard-title { font-size: 22px; }

  .sh-steps { grid-template-columns: 1fr; }
  .sh-step { border-right: 0; border-bottom: 1px solid var(--sh-border); }
  .sh-step:last-child { border-bottom: 0; }

  .sh-section { padding: 60px 0; }
}

@media (max-width: 540px) {
  .sh-hero-h1 { font-size: 38px; }
  .sh-hero-lead { font-size: 15px; }
  .sh-hero-actions { flex-direction: column; }
  .sh-btn-lg { width: 100%; justify-content: center; }

  .sh-stats-inner { grid-template-columns: 1fr; }
  .sh-stat { border-right: 0; border-bottom: 1px solid var(--sh-border); }
  .sh-stat:nth-child(3) { border-top: 0; }
  .sh-stat:last-child { border-bottom: 0; }

  .sh-premium { padding: 24px 20px; }
  .sh-cta { padding: 32px 24px; }

  .sh-section { padding: 48px 0; }
  .sh-section-head { margin-bottom: 28px; }
}
