.hero {
  background: #fff; text-align: center;
  padding: 5rem 1.5rem 4rem; border-bottom: 1px solid var(--border);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: #f1f5f9; border: 1px solid var(--border2); color: var(--slate);
  font-size: .75rem; font-weight: 600; padding: .3rem .85rem;
  border-radius: 99px; margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800;
  line-height: 1.1; margin-bottom: 1.25rem; color: #0f172a;
}
.hero h1 em { font-style: normal; color: var(--red); }
.hero p {
  font-size: 1rem; color: var(--slate); max-width: 500px;
  margin: 0 auto 2.5rem; line-height: 1.7;
}
.hero-ctas {
  display: flex; gap: 1rem; justify-content: center;
  flex-wrap: wrap; margin-bottom: 3rem;
}
.btn-hero {
  background: var(--navy); color: #fff; padding: .75rem 1.75rem;
  border-radius: 9px; font-size: .95rem; font-weight: 700; text-decoration: none;
}
.btn-hero:hover { background: var(--navy2); }
.btn-hero-ghost {
  background: #fff; color: var(--navy); border: 1px solid var(--border2);
  padding: .75rem 1.75rem; border-radius: 9px;
  font-size: .95rem; font-weight: 600; text-decoration: none;
}
.btn-hero-ghost:hover { border-color: #cbd5e1; }
.hero-demo {
  display: inline-flex; align-items: center; gap: .75rem;
  background: var(--light); border: 1px solid var(--border2);
  border-radius: 10px; padding: .65rem 1.25rem;
  margin-bottom: 2.5rem; font-size: .825rem; color: #475569;
  flex-wrap: wrap; justify-content: center;
}
.hero-demo code {
  background: #f1f5f9; padding: .1rem .4rem;
  border-radius: 4px; font-size: .775rem;
}
.hero-demo a { color: var(--blue); font-weight: 600; text-decoration: none; }
.hero-demo-sep { color: var(--border2); }

.hero-stats {
  display: inline-flex; gap: 3rem; padding: 1.25rem 2.5rem;
  background: var(--light); border: 1px solid var(--border); border-radius: 12px;
}
.stat-val { font-size: 1.4rem; font-weight: 800; color: #0f172a; }
.stat-lbl { font-size: .75rem; color: var(--muted); margin-top: .15rem; }

.panels-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem; margin-bottom: 2rem;
}
.panel-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 14px; padding: 1.5rem; transition: box-shadow .2s;
}
.panel-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.07); }
.panel-card .pc-icon { font-size: 1.75rem; margin-bottom: .75rem; }
.panel-card .pc-badge {
  display: inline-block; font-size: .65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  padding: .2rem .55rem; border-radius: 99px; margin-bottom: .5rem;
}
.panel-card h3 { font-size: .95rem; font-weight: 700; color: #0f172a; margin-bottom: .35rem; }
.panel-card p { font-size: .8rem; color: var(--slate); line-height: 1.55; margin-bottom: 1rem; }
.panel-card a { font-size: .8rem; color: var(--blue); font-weight: 600; text-decoration: none; }
.panel-card a:hover { text-decoration: underline; }

.why-section { background: var(--light); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.why-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 1.35rem; }
.why-icon { font-size: 1.5rem; margin-bottom: .6rem; }
.why-card h4 { font-size: .875rem; font-weight: 700; color: #0f172a; margin-bottom: .3rem; }
.why-card p { font-size: .8rem; color: var(--slate); line-height: 1.5; }

@media (max-width: 768px) {
  .panels-grid, .why-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
}
