/* ── Unplugged Technologies — Main Stylesheet ── */

:root {
  --black:      #080808;
  --dark:       #111111;
  --card:       #181818;
  --card-hover: #1f1f1f;
  --red:        #CC2200;
  --red-dim:    rgba(204, 34, 0, 0.25);
  --red-border: rgba(204, 34, 0, 0.35);
  --amber:      #D4820A;
  --amber-dim:  rgba(212, 130, 10, 0.15);
  --silver:     #8A8A8A;
  --white:      #F0EDE8;
  --text:       #C0BCB6;
  --text-dim:   #7A7670;
}

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

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

body {
  background: var(--black);
  color: var(--text);
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Helvetica Neue', 'Arial Black', Arial, sans-serif;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.25rem; }

p { color: var(--text); line-height: 1.7; }

a { color: var(--red); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--amber); }

.eyebrow {
  font-family: 'Courier New', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

/* ── Layout ── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 5rem 0; }

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background: rgba(8,8,8,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--red-border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.nav-logo img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}
.nav-logo-text {
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
}
.nav-logo-text span { color: var(--red); }
.nav-logo-sub {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: var(--silver);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.btn-nav {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 0.45rem 1.1rem !important;
  border-radius: 3px;
  font-size: 0.8rem !important;
  letter-spacing: 0.08em !important;
}
.btn-nav:hover { background: #a81c00 !important; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover { background: #a81c00; color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(240,237,232,0.3);
}
.btn-outline:hover {
  border-color: var(--red);
  color: var(--white);
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 68px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero-wide.png');
  background-size: cover;
  background-position: center top;
  opacity: 0.22;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8,8,8,0.95) 0%,
    rgba(8,8,8,0.7) 50%,
    rgba(8,8,8,0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-content h1 {
  margin-bottom: 1.25rem;
}

.hero-content h1 em {
  font-style: normal;
  color: var(--red);
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 2.25rem;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Divider ── */
.divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-border), transparent);
}

/* ── Pillars ── */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.pillar {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.05);
  border-top: 2px solid var(--red);
  padding: 1.75rem;
  border-radius: 2px;
}

.pillar-icon {
  font-size: 1.75rem;
  margin-bottom: 0.85rem;
}

.pillar h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pillar p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ── Product grid ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 3px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.2s, background 0.2s;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

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

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.product-card:hover::before { transform: scaleX(1); }

.product-card.featured {
  border-color: var(--red-border);
  background: linear-gradient(135deg, var(--card) 0%, rgba(204,34,0,0.06) 100%);
}
.product-card.featured::before { transform: scaleX(1); }

.product-badge {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  width: fit-content;
}
.badge-soon {
  background: rgba(138,138,138,0.12);
  color: var(--silver);
  border: 1px solid rgba(138,138,138,0.25);
}
.badge-live {
  background: rgba(212,130,10,0.15);
  color: var(--amber);
  border: 1px solid rgba(212,130,10,0.3);
}

.product-icon {
  font-size: 2.25rem;
}

.product-card h3 {
  font-size: 1.2rem;
  color: var(--white);
}

.product-card p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
  flex: 1;
}

.product-link {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: auto;
}
.product-card:hover .product-link { color: var(--amber); }

/* ── Coming Soon page ── */
.coming-soon-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 68px;
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(204,34,0,0.08) 0%, var(--black) 65%);
}

.coming-soon-inner {
  max-width: 600px;
  padding: 2rem;
}

.coming-soon-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: block;
}

.coming-soon-inner h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.coming-soon-inner p {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 2rem;
}

.notify-form {
  display: flex;
  gap: 0.75rem;
  max-width: 440px;
  margin: 0 auto;
}

.notify-form input[type="email"] {
  flex: 1;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.notify-form input[type="email"]:focus { border-color: var(--red-border); }
.notify-form input[type="email"]::placeholder { color: var(--text-dim); }

.status-strip {
  font-family: 'Courier New', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 1.5rem;
}

/* ── Page Hero (internal pages) ── */
.page-hero {
  padding: 7rem 0 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero p { font-size: 1.05rem; max-width: 560px; }

/* ── Mission band ── */
.mission-band {
  background: var(--card);
  border-top: 1px solid var(--red-border);
  border-bottom: 1px solid var(--red-border);
  padding: 4rem 0;
}

.mission-band h2 { margin-bottom: 1.25rem; }
.mission-band p { font-size: 1.05rem; max-width: 640px; }

/* ── CTA band ── */
.cta-band {
  background: linear-gradient(135deg, #0e0000 0%, #120500 50%, #0e0000 100%);
  border-top: 1px solid var(--red-border);
  border-bottom: 1px solid var(--red-border);
  padding: 4.5rem 0;
  text-align: center;
}

.cta-band h2 { margin-bottom: 0.75rem; }
.cta-band p { margin-bottom: 2rem; }

/* ── Footer ── */
footer {
  background: #060606;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 3rem 0 2rem;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.footer-logo img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.footer-logo-text {
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}
.footer-logo-text span { color: var(--red); }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.footer-links a {
  color: var(--silver);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-meta {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.8;
}

/* ── Utility ── */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-content { max-width: 100%; }
  .notify-form { flex-direction: column; }
  section { padding: 3.5rem 0; }
}
