
:root {
  --bg-0: #0b1625;
  --bg-1: #102238;
  --bg-2: #16304c;
  --panel: rgba(16, 36, 58, 0.88);
  --panel-strong: rgba(12, 29, 48, 0.96);
  --panel-soft: rgba(28, 56, 86, 0.72);
  --card: rgba(23, 48, 76, 0.92);
  --card-hover: rgba(30, 61, 96, 0.98);
  --blue: #4d6dff;
  --blue-2: #6c63ff;
  --cyan: #39d7f2;
  --cyan-soft: #78e8fb;
  --white: #f7fbff;
  --text: #e6eef7;
  --gray: #aebdcd;
  --muted: #8295aa;
  --border: rgba(157, 190, 225, 0.20);
  --border-strong: rgba(114, 174, 235, 0.34);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.18);

  /* Compatibility with the site's existing variable names */
  --black: var(--bg-0);
  --graphite: var(--panel);
  --gunmetal: var(--card);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: #f5f7ff;
  background:
    linear-gradient(rgba(6, 12, 24, 0.72), rgba(6, 12, 24, 0.82)),
    url("images/site-bg.png") center center / cover no-repeat fixed;
  background-color: #08111f;
}

/* Subtle CSS-only texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.34;
  background-image:
    repeating-linear-gradient(
      118deg,
      rgba(255,255,255,0.018) 0px,
      rgba(255,255,255,0.018) 1px,
      transparent 1px,
      transparent 5px
    ),
    repeating-linear-gradient(
      28deg,
      rgba(0,0,0,0.025) 0px,
      rgba(0,0,0,0.025) 1px,
      transparent 1px,
      transparent 7px
    );
  mix-blend-mode: soft-light;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at center, transparent 45%, rgba(3, 11, 20, 0.28) 100%);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(9, 24, 41, 0.84);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-size: 1.38rem;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -0.025em;
  color: var(--white);
}

.logo span {
  color: var(--cyan);
}

.main-nav {
  display: flex;
  gap: 24px;
}

.main-nav a {
  text-decoration: none;
  color: var(--gray);
  font-weight: 700;
  font-size: 0.95rem;
  transition: 0.2s ease;
}

.main-nav a:hover {
  color: var(--cyan-soft);
}

.nav-button,
.button,
.small-button {
  text-decoration: none;
  font-weight: 800;
  border-radius: 10px;
  transition: 0.2s ease;
}

.nav-button {
  padding: 11px 19px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: white;
  box-shadow: 0 8px 24px rgba(77, 109, 255, 0.30);
}

.nav-button:hover,
.button.primary:hover,
.small-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(77, 109, 255, 0.38);
}

/* HERO */
.hero {
  padding: 88px 0 82px;
  background:
    transparent;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  color: var(--cyan);
  font-size: 0.80rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 0.96;
  letter-spacing: -0.052em;
  color: var(--white);
}

.hero h1 span {
  color: var(--cyan);
}

.hero-text {
  margin-top: 24px;
  max-width: 660px;
  color: var(--gray);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-block;
  padding: 14px 22px;
}

.button.primary,
.small-button {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 22px rgba(77, 109, 255, 0.26);
}

.button.secondary {
  border: 1px solid var(--border-strong);
  color: var(--white);
  background: rgba(255, 255, 255, 0.035);
}

.button.secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan-soft);
  background: rgba(53, 207, 227, 0.06);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.hero-highlights div {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(18, 42, 68, 0.58);
  box-shadow: var(--shadow-soft);
}

.hero-highlights strong,
.hero-highlights span {
  display: block;
}

.hero-highlights strong {
  color: var(--white);
  font-size: 0.94rem;
}

.hero-highlights span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-card {
  min-height: 450px;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(85, 130, 255, 0.95), rgba(53, 207, 227, 0.8));
  box-shadow: var(--shadow);
}

.hero-card-inner {
  min-height: 448px;
  height: 100%;
  border-radius: 23px;
  background:
    radial-gradient(circle at 50% 25%, rgba(69, 123, 202, 0.20), transparent 45%),
    linear-gradient(155deg, #102a46, #0d1f34 75%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.print-icon {
  width: 108px;
  height: 108px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white;
  margin-bottom: 26px;
  box-shadow: 0 16px 40px rgba(61, 160, 230, 0.28);
}

.hero-card h2 {
  font-size: 2rem;
  margin: 0;
  color: var(--white);
}

.hero-card p {
  color: var(--gray);
  max-width: 280px;
}

/* SECTIONS */
.section {
  padding: 86px 0;
  position: relative;
}

.dark-section {
  background:
    transparent;
  border-top: 1px solid rgba(255,255,255,0.025);
  border-bottom: 1px solid var(--border);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 40px;
}

.section-heading h1,
.section-heading h2,
.custom-section h2,
.contact-section h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.section-heading p:not(.eyebrow),
.custom-section p:not(.eyebrow),
.contact-section p:not(.eyebrow) {
  color: var(--gray);
}

/* PRODUCT GRID */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card {
  background:
    linear-gradient(180deg, rgba(29, 59, 92, 0.95), rgba(17, 39, 64, 0.96));
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background:
    linear-gradient(180deg, rgba(34, 69, 108, 0.98), rgba(20, 45, 74, 0.98));
}

.product-image {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 25%, rgba(89, 152, 224, 0.20), transparent 48%),
    linear-gradient(145deg, #2a4563, #162b45);
  color: var(--gray);
  font-weight: 700;
  border-bottom: 1px solid var(--border);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-info {
  padding: 22px;
}

.product-category {
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.product-info h3 {
  margin: 8px 0;
  color: var(--white);
  font-size: 1.3rem;
}

.product-info p {
  color: var(--gray);
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.product-footer strong {
  color: var(--cyan-soft);
  font-size: 1.22rem;
}

.small-button {
  padding: 9px 14px;
}

/* CATEGORY + INFO CARDS */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.category-card,
.benefit,
.custom-box,
.contact-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background:
    linear-gradient(155deg, rgba(29, 59, 91, 0.82), rgba(16, 37, 61, 0.90));
  box-shadow: var(--shadow-soft);
}

.category-card {
  min-height: 185px;
  padding: 26px;
  text-decoration: none;
  transition: 0.2s ease;
}

.category-card:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
  background:
    linear-gradient(155deg, rgba(34, 70, 108, 0.92), rgba(18, 44, 72, 0.96));
}

.category-card h3,
.benefit h3,
.custom-box h3 {
  color: var(--white);
  margin-top: 0;
}

.category-card p,
.benefit p,
.custom-box li {
  color: var(--gray);
}

.custom-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 50px;
  align-items: center;
}

.custom-box,
.contact-card,
.benefit {
  padding: 25px;
}

.custom-box ul {
  margin: 0;
  padding-left: 20px;
}

.custom-box li {
  margin: 9px 0;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 13px;
}

details {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  background: rgba(24, 52, 82, 0.80);
  box-shadow: var(--shadow-soft);
}

summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--white);
}

details p {
  color: var(--gray);
  margin-bottom: 0;
}

.contact-card a {
  display: inline-block;
  margin-top: 6px;
  color: var(--cyan);
  font-weight: 800;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(7, 19, 32, 0.88);
  padding: 34px 0;
  backdrop-filter: blur(10px);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-wrap p {
  color: var(--gray);
  margin: 4px 0 0;
}

/* PRODUCT PAGE OVERRIDES — these beat the inline page styles */
.product-page {
  padding: 64px 0 80px !important;
  background:
    transparent;
}

.product-layout {
  grid-template-columns: 1.08fr 0.92fr !important;
  gap: 50px !important;
}

.main-product-image {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  background: linear-gradient(145deg, #eef3f7, #dbe4eb) !important;
  border-radius: 16px !important;
  padding: 16px !important;
  border: 1px solid rgba(255,255,255,0.16) !important;
  box-shadow: var(--shadow) !important;
}

.thumbnail-row {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 12px !important;
  margin-top: 14px !important;
}

.thumbnail-row img {
  background: #e9eff4 !important;
  border: 2px solid rgba(255,255,255,0.08) !important;
  border-radius: 10px !important;
  padding: 4px !important;
}

.thumbnail-row img:hover {
  border-color: var(--cyan) !important;
}

.product-details {
  padding: 10px 0;
}

.product-details h1 {
  color: var(--white) !important;
  font-size: clamp(2.2rem, 4vw, 3rem) !important;
  line-height: 1.05 !important;
}

.price {
  color: var(--cyan) !important;
  font-size: 2rem !important;
  margin: 12px 0 18px !important;
}

.product-description {
  color: var(--gray) !important;
}

.option-group {
  margin-top: 18px !important;
}

.option-group label {
  color: var(--white) !important;
}

.option-group select,
.option-group input {
  background: rgba(18, 43, 70, 0.90) !important;
  color: var(--white) !important;
  border: 1px solid var(--border-strong) !important;
  border-radius: 8px !important;
  outline: none !important;
}

.option-group select:focus,
.option-group input:focus {
  border-color: var(--cyan) !important;
  box-shadow: 0 0 0 3px rgba(53, 207, 227, 0.10) !important;
}

.product-note {
  color: var(--gray) !important;
  background: rgba(22, 49, 79, 0.80) !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
}

.product-note strong {
  color: var(--white);
}

.product-info-section {
  margin-top: 64px !important;
}

.product-info-section .benefit {
  background:
    linear-gradient(155deg, rgba(31, 64, 100, 0.84), rgba(18, 42, 68, 0.92)) !important;
}

/* Utility polish */
::selection {
  background: rgba(53, 207, 227, 0.28);
  color: white;
}

input::placeholder {
  color: #7f92a8;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .hero-grid,
  .custom-grid,
  .contact-grid,
  .product-layout {
    grid-template-columns: 1fr !important;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .category-grid,
  .benefit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-card,
  .hero-card-inner {
    min-height: 340px;
  }
}

@media (max-width: 620px) {
  .nav-button {
    display: none;
  }

  .hero {
    padding-top: 68px;
  }

  .hero-highlights,
  .product-grid,
  .category-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
    text-align: center;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .thumbnail-row {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}
