/* ============================================================
   HostDeck Store — Hero + Quick Value Strip
   ============================================================ */

.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 72px;
  overflow: hidden;
  background: var(--grad-hero);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(900px 520px at 60% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 520px at 60% 0%, #000 0%, transparent 75%);
  opacity: .5;
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
}
.hero-copy { max-width: 620px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px; border-radius: var(--radius-pill);
  background: var(--glow-soft); border: 1px solid var(--border);
  font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cta); box-shadow: 0 0 10px var(--cta); }
.hero h1 {
  font-size: clamp(34px, 5.4vw, 58px); font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.06; margin-bottom: 20px;
}
.hero-sub { font-size: clamp(16px, 1.6vw, 18.5px); color: var(--text-muted); margin-bottom: 30px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  font-size: 13.5px; color: var(--text-faint); font-weight: 500;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* ---------- Hero visual (abstract server infra) ---------- */
.hero-visual { position: relative; height: 440px; }
.hero-visual .grid-bg {
  position: absolute; inset: 0; border-radius: var(--radius-lg);
  background:
    linear-gradient(var(--border-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 45%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 0%, transparent 78%);
  opacity: .6;
}
.hero-visual svg.net { position: absolute; inset: 0; width: 100%; height: 100%; }
.node { fill: var(--bg-elev); stroke: var(--accent); stroke-width: 1.5; }
.node-core { fill: var(--accent); }
.link { stroke: var(--accent); stroke-width: 1.2; opacity: .35; }
.link.flow { stroke-dasharray: 6 8; animation: dash 3.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -140; } }

/* floating data panels */
.panel {
  position: absolute; z-index: 3;
  background: color-mix(in srgb, var(--bg-card) 88%, transparent);
  border: 1px solid var(--border-2);
  border-radius: 12px; padding: 12px 14px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  animation: float 6s ease-in-out infinite;
}
.panel .p-label { font-size: 11px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--text-faint); margin-bottom: 6px; }
.panel .p-val { font-size: 18px; font-weight: 800; font-family: var(--mono); color: var(--text); }
.panel .p-bar { height: 5px; border-radius: 3px; background: var(--border); margin-top: 8px; overflow: hidden; }
.panel .p-bar i { display: block; height: 100%; background: var(--grad-brand); border-radius: 3px; }
.panel-1 { top: 6%; left: 2%; animation-delay: 0s; }
.panel-2 { top: 34%; right: 0%; animation-delay: 1.2s; }
.panel-3 { bottom: 8%; left: 12%; animation-delay: 2.1s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* terminal card */
.term {
  position: absolute; z-index: 3; bottom: 22%; right: 6%;
  width: 230px;
  background: color-mix(in srgb, var(--bg-inset) 92%, transparent);
  border: 1px solid var(--border-2); border-radius: 12px;
  box-shadow: var(--shadow); overflow: hidden;
  animation: float 7s ease-in-out infinite; animation-delay: .6s;
}
.term-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--border-soft); }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-2); }
.term-bar i:nth-child(1){ background: #ff5f57; } .term-bar i:nth-child(2){ background: #febc2e; } .term-bar i:nth-child(3){ background: #28c840; }
.term-body { padding: 12px 14px; font-family: var(--mono); font-size: 12px; line-height: 1.7; color: var(--text-2); }
.term-body .ok { color: var(--highlight); }
.term-body .cmd { color: var(--accent); }
.term-body .cursor { display: inline-block; width: 7px; height: 14px; background: var(--accent); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { height: 340px; max-width: 480px; margin: 0 auto; width: 100%; }
  .hero-copy { max-width: 100%; }
}
@media (max-width: 560px) {
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero-visual { height: 300px; }
  .term { display: none; }
  .panel-2 { right: 4%; }
}

/* ---------- Quick value strip ---------- */
.value-strip { padding: 0 0 8px; }
.value-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
}
.value-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 18px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .25s ease;
}
.value-item:hover { transform: translateY(-3px); border-color: var(--border-2); box-shadow: var(--shadow-sm); }
.value-item .icon-chip { margin-bottom: 14px; }
.value-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 7px; }
.value-item p { font-size: 13px; color: var(--text-muted); line-height: 1.55; }
@media (max-width: 1024px) { .value-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .value-grid { grid-template-columns: 1fr; } }
