/* Vaultimize — retro vault-industrial aesthetic (original art, not official IP) */
:root {
  --paper: #e6d5b8;
  --paper-dark: #c9b896;
  --ink: #1b2838;
  --ink-soft: #3d4f5f;
  --yellow: #f7c948;
  --yellow-dark: #b8860b;
  --vault-blue: #2a4a6b;
  --pip-green: #1aff6a;
  --pip-dim: #0d3318;
  --red-accent: #c41e3a;
  --cream: #f2ead8;
  --blue-bar: #121c28;
  --radius: 4px;
  --shadow: 0 4px 0 rgba(27, 40, 56, 0.25);
  --border-heavy: 3px solid var(--ink);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Share Tech", "Segoe UI", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(27, 40, 56, 0.03) 2px,
      rgba(27, 40, 56, 0.03) 4px
    ),
    radial-gradient(ellipse at 15% 0%, rgba(255, 255, 255, 0.4), transparent 55%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}

h1, h2, h3, .logo-text, .stat-num, .section-title, .badge {
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

a {
  color: var(--vault-blue);
  text-decoration: none;
}

a:hover {
  color: var(--red-accent);
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

/* Header */
.site-header {
  background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
  border-bottom: var(--border-heavy);
  box-shadow: 0 3px 0 var(--yellow);
}

.header-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0 0.65rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.logo svg {
  width: 52px;
  height: 52px;
  filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.2));
}

.logo-text {
  font-size: 1.85rem;
  line-height: 1;
}

.tagline-top {
  flex: 1;
  text-align: center;
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-style: italic;
  min-width: 200px;
}

.nav-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 1.5rem;
  padding: 0.6rem 0;
  border-top: 2px dashed rgba(27, 40, 56, 0.35);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav-main a {
  color: var(--ink);
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
}

.nav-main a:hover {
  border-bottom-color: var(--yellow);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  border: var(--border-heavy);
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow);
  transition: transform 0.12s;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: var(--yellow);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
}

.badge {
  display: inline-block;
  background: var(--ink);
  color: var(--yellow);
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  margin-bottom: 0.5rem;
}

/* Hero */
.hero {
  padding: 2rem 0 2rem;
  border-bottom: 2px dashed var(--paper-dark);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-art {
  position: relative;
  border: var(--border-heavy);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #4a5f7a 0%, var(--ink) 55%, #0a0f18 100%);
  min-height: 300px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-art::before {
  content: "VAULT SECTOR — AUTHORIZED PERSONNEL";
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  font-size: 0.65rem;
  color: var(--pip-green);
  font-family: "Share Tech", monospace;
  letter-spacing: 0.1em;
  z-index: 2;
}

.hero-figure {
  position: absolute;
  left: 5%;
  bottom: 0;
  width: 40%;
  max-width: 170px;
  z-index: 1;
}

.vault-door {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  width: 55%;
  max-width: 230px;
}

.hero-copy h1 {
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  line-height: 1.05;
  margin: 0 0 0.75rem;
}

.hero-copy p.lead {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.75rem 0 2rem;
}

.feature {
  text-align: center;
  padding: 0.75rem;
  border: 2px solid var(--ink);
  background: var(--cream);
  box-shadow: 3px 3px 0 var(--paper-dark);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.65rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature h3 {
  font-size: 1rem;
  margin: 0 0 0.35rem;
  font-family: "Bebas Neue", sans-serif;
}

.feature p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.section-title {
  font-size: 2.1rem;
  text-align: center;
  margin: 2rem 0 0.35rem;
}

.section-sub {
  text-align: center;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

.section-block {
  padding-bottom: 2.5rem;
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.product-cards.two-col {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--cream);
  border: var(--border-heavy);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.card-screen {
  border-bottom: var(--border-heavy);
  padding: 1rem;
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a1208;
}

.card-screen.blueprint {
  background: #1a2744;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 12px 12px;
}

.card-screen svg {
  width: 100%;
  max-width: 160px;
}

.card-body {
  padding: 1rem 1rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.4rem;
}

.card-body .subtitle {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0 0 0.75rem;
}

.card-body ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  flex: 1;
}

.card-body li {
  margin-bottom: 0.25rem;
}

.products-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 1.5rem;
  align-items: start;
}

.testimonial {
  background: var(--paper-dark);
  border: var(--border-heavy);
  padding: 1rem;
  transform: rotate(1deg);
  box-shadow: 4px 4px 0 rgba(27, 40, 56, 0.25);
}

.testimonial::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 18%;
  right: 18%;
  height: 14px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.testimonial {
  position: relative;
}

.testimonial blockquote {
  margin: 0;
  font-style: italic;
  font-size: 0.92rem;
}

.testimonial cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
}

/* Projects grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.project-card {
  border: var(--border-heavy);
  background: var(--cream);
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow);
}

.project-card h3 {
  margin: 0.25rem 0 0.5rem;
  font-size: 1.25rem;
}

.project-meta {
  font-size: 0.78rem;
  color: var(--red-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.project-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.stats-bar {
  background: var(--blue-bar);
  color: var(--cream);
  padding: 2rem 0;
  border-top: 4px solid var(--yellow);
  border-bottom: 4px solid var(--yellow);
}

.stats-bar h2 {
  text-align: center;
  font-size: 1.5rem;
  margin: 0 0 1.5rem;
  color: var(--yellow);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat-num {
  font-size: 2.5rem;
  color: var(--yellow);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.9;
  margin-top: 0.35rem;
}

.about-box {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 0 2.5rem;
  text-align: center;
  border: 2px dashed var(--ink-soft);
  padding: 1.5rem;
  background: rgba(242, 234, 216, 0.6);
}

.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 2rem 0 1.5rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.site-footer .logo-text {
  color: var(--yellow);
}

.site-footer a {
  color: var(--cream);
  opacity: 0.85;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footnotes {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1rem;
  font-size: 0.75rem;
  opacity: 0.65;
}

.copyright {
  margin-top: 0.75rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .products-layout,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .features,
  .product-cards,
  .product-cards.two-col,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tagline-top {
    order: 3;
    width: 100%;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .features,
  .product-cards,
  .product-cards.two-col,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
