/* ===========================
   VitalDriveOS Landing Page
   =========================== */

:root {
  --bg: #0F0F0F;
  --bg-2: #161616;
  --accent: #FF6B00;
  --accent-dim: rgba(255, 107, 0, 0.12);
  --text: #F5F0E8;
  --text-muted: rgba(245, 240, 232, 0.45);
  --border: rgba(245, 240, 232, 0.08);
  --ff-head: 'Bebas Neue', 'Arial Black', sans-serif;
  --ff-body: 'DM Sans', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAVBAR ── */
.navbar {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.5rem 2.5rem;
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  font-family: var(--ff-head);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--text);
}

.nav-tag {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15,15,15,0.95) 0%,
    rgba(15,15,15,0.75) 45%,
    rgba(15,15,15,0.25) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 2.5rem 4rem 4rem;
  max-width: 720px;
}

.hero-eyebrow {
  font-family: var(--ff-head);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-family: var(--ff-head);
  font-size: clamp(4.5rem, 12vw, 9rem);
  line-height: 0.88;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.hero-lede {
  font-size: 1.05rem;
  color: rgba(245, 240, 232, 0.65);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  width: fit-content;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(15,15,15,0.6);
  backdrop-filter: blur(8px);
}

.stat-num {
  font-family: var(--ff-head);
  font-size: 1.8rem;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.stat-div {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ── COLLECTION ── */
.collection {
  padding: 6rem 2.5rem;
  background: var(--bg-2);
}

.collection-header {
  margin-bottom: 3rem;
}

.section-title {
  font-family: var(--ff-head);
  font-size: 3.5rem;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.product-card:hover {
  border-color: var(--accent);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #1a1a1a;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.04);
}

.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--accent);
  color: #0F0F0F;
  font-family: var(--ff-head);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
}

.product-info {
  padding: 1.25rem;
}

.product-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.price-sale {
  font-family: var(--ff-head);
  font-size: 1.6rem;
  color: var(--accent);
}

.price-was {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ── MANIFESTO ── */
.manifesto {
  padding: 7rem 2.5rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 680px;
}

.manifesto-label,
.community-label,
.closing-label {
  font-family: var(--ff-head);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.manifesto-headline {
  font-family: var(--ff-head);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 1.75rem;
}

.manifesto-body {
  font-size: 1.05rem;
  color: rgba(245, 240, 232, 0.65);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.manifesto-rule {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 2rem 0;
}

.manifesto-values {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.value {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text);
}

.value-icon {
  color: var(--accent);
  font-weight: 600;
}

/* ── COMMUNITY ── */
.community {
  padding: 6rem 2.5rem;
  background: var(--accent-dim);
  border-top: 1px solid var(--border);
}

.community-inner {
  max-width: 580px;
}

.community-headline {
  font-family: var(--ff-head);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.community-body {
  font-size: 1rem;
  color: rgba(245, 240, 232, 0.65);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.community-code {
  display: inline-block;
  border: 1px solid var(--accent);
  padding: 1.5rem 2rem;
  border-radius: 4px;
}

.code-label {
  font-family: var(--ff-head);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.code-value {
  font-family: var(--ff-head);
  font-size: 2.5rem;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.code-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── CLOSING ── */
.closing {
  padding: 7rem 2.5rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 760px;
}

.closing-headline {
  font-family: var(--ff-head);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.closing-body {
  font-size: 1.05rem;
  color: rgba(245, 240, 232, 0.6);
  line-height: 1.8;
  margin-bottom: 3rem;
}

.closing-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  width: fit-content;
}

.closing-stat {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 2rem;
}

.closing-num {
  font-family: var(--ff-head);
  font-size: 1.4rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.closing-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.closing-div {
  width: 1px;
  height: 52px;
  background: var(--border);
}

/* ── FOOTER ── */
.footer {
  padding: 3rem 2.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-brand {
  font-family: var(--ff-head);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.footer-tag {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-copy {
  font-size: 0.72rem;
  color: rgba(245, 240, 232, 0.25);
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .navbar { padding: 1rem 1.25rem; }
  .hero-content { padding: 2.5rem 1.25rem; }
  .hero-headline { font-size: 3.8rem; }
  .collection { padding: 4rem 1.25rem; }
  .manifesto { padding: 4rem 1.25rem; }
  .community { padding: 4rem 1.25rem; }
  .closing { padding: 4rem 1.25rem; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .hero-stats { flex-wrap: wrap; }
  .closing-stats { flex-direction: column; width: 100%; }
  .closing-div { width: 100%; height: 1px; }
  .stat { padding: 0.75rem 1.25rem; }
}

@media (max-width: 375px) {
  .product-grid { grid-template-columns: 1fr; }
}