:root {
  --bg: #090c12;
  --bg-soft: #10151d;
  --panel: rgba(15, 20, 28, 0.92);
  --panel-strong: #121924;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f7fb;
  --muted: #97a4b6;
  --accent: #f7682f;
  --accent-soft: #ff9f66;
  --lime: #d6ff45;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
  --radius: 22px;
  --container: min(1180px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(247, 104, 47, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(214, 255, 69, 0.1), transparent 22%),
    linear-gradient(180deg, #0a0d13 0%, #07090d 100%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.topbar {
  padding: 10px 16px;
  text-align: center;
  background: #080b10;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(20px);
  background: rgba(8, 11, 16, 0.84);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.desktop-nav,
.header-actions,
.brand,
.hero-actions,
.trust-strip,
.assurance-grid,
.section-heading,
.filters-panel,
.cart-header,
.cart-row,
.product-meta,
.product-card-header,
.product-actions,
.cart-item-actions,
.summary-totals,
.payment-options,
.footer-grid,
.contact-list,
.thumb-row,
.badge-panel,
.reviews-grid {
  display: flex;
}

.header-inner,
.cart-header {
  align-items: center;
  justify-content: space-between;
}

.header-inner {
  min-height: 78px;
  gap: 18px;
}

.brand {
  gap: 12px;
  align-items: center;
}

.brand-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #ffb067);
  color: #091018;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.65rem;
  letter-spacing: 0.05em;
}

.brand-copy {
  display: grid;
}

.brand-copy strong,
h1,
h2,
h3 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.03em;
}

.brand-copy strong {
  font-size: 1.45rem;
}

.brand-copy small,
.desktop-nav a,
.mobile-menu a,
.site-footer a,
.hero-text,
.section-heading p,
.feature-card p,
.review-card p,
.contact-section p,
.site-footer p,
.info-box p,
.demo-notice,
.faq-list p,
.form-note,
.contact-list li,
.product-card p,
.product-meta,
.spec-list,
.cart-item-meta,
.checkout-item,
.trust-strip span,
.badge-panel span {
  color: var(--muted);
}

.desktop-nav,
.header-actions,
.hero-actions,
.trust-strip,
.assurance-grid,
.filters-panel,
.product-actions,
.cart-item-actions,
.summary-totals,
.payment-options,
.footer-grid,
.contact-list,
.thumb-row,
.badge-panel,
.reviews-grid {
  gap: 16px;
}

.desktop-nav a,
.mobile-menu a,
.site-footer a {
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.mobile-menu a:hover,
.site-footer a:hover {
  color: var(--text);
}

.icon-button,
.cart-button,
.close-button,
.button,
.thumb-button {
  border: 0;
  cursor: pointer;
}

.icon-button,
.cart-button,
.close-button,
.thumb-button {
  background: transparent;
}

.icon-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.icon-button span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--text);
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.cart-count {
  min-width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--lime);
  color: #091018;
  font-weight: 700;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 0 16px 16px;
}

.mobile-menu.open {
  display: flex;
}

section {
  padding: 88px 0;
}

.hero {
  padding-top: 56px;
}

.hero-grid,
.secure-grid,
.contact-grid,
.checkout-grid,
.product-modal-layout,
.founder-grid {
  display: grid;
  gap: 28px;
}

.hero-grid,
.secure-grid,
.founder-grid {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.82rem;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(3.5rem, 7vw, 6.4rem);
  line-height: 0.9;
}

h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 0.95;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.55rem;
}

.hero-text,
.section-heading p,
.review-card p,
.contact-section p,
.site-footer p,
.info-box p,
.demo-notice,
.faq-list p,
.product-card p {
  line-height: 1.7;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #0b1017;
  font-weight: 700;
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: transparent;
}

.hero-image-card,
.assurance-band article,
.filters-panel,
.product-card,
.founder-collage-card,
.feature-card,
.review-card,
.badge-panel,
.contact-form,
.cart-drawer,
.modal-card,
.order-summary,
.info-box,
.faq-list details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-image-card,
.founder-collage-card,
.product-card,
.editorial-card {
  overflow: hidden;
}

.hero-image-card img,
.founder-collage-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-note,
.product-card-content {
  padding: 18px;
}

.hero-note {
  border-top: 1px solid var(--line);
}

.trust-strip,
.badge-panel {
  flex-wrap: wrap;
}

.trust-strip span,
.badge-panel span,
.product-tag,
.status-pill {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
}

.assurance-band {
  padding-top: 0;
}

.assurance-band article,
.review-card,
.contact-form,
.order-summary {
  padding: 24px;
}

.section-heading {
  justify-content: space-between;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading p {
  max-width: 560px;
  margin: 0;
}

.filters-panel {
  align-items: end;
  flex-wrap: wrap;
  padding: 18px;
  margin-bottom: 24px;
}

.filters-panel label,
.contact-form label,
.checkout-form label {
  display: grid;
  gap: 8px;
}

.filters-panel select,
.filters-panel input,
.contact-form input,
.contact-form textarea,
.checkout-form input,
.checkout-form select,
.newsletter-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: var(--panel-strong);
  color: var(--text);
}

.contact-form textarea {
  padding: 14px;
  resize: vertical;
}

.product-grid,
.faq-list,
.editorial-grid {
  display: grid;
  gap: 20px;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 4.8;
  object-fit: cover;
}

.product-card-header,
.product-meta,
.checkout-item {
  justify-content: space-between;
  gap: 12px;
}

.price-line {
  display: flex;
  align-items: center;
  gap: 14px;
}

.product-price strong,
.price-line strong {
  font-size: 1.2rem;
  color: var(--text);
}

.product-price s,
.price-line span {
  color: #778293;
}

.product-actions {
  margin-top: 16px;
}

.product-actions .button {
  flex: 1;
}

.founder-points,
.feature-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.founder-points article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.editorial-grid {
  grid-template-columns: 1.25fr 1fr 1fr;
}

.editorial-card {
  min-height: 250px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.editorial-card.large {
  grid-row: span 2;
}

.editorial-card.wide {
  grid-column: span 2;
}

.editorial-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.secure-list,
.spec-list {
  padding-left: 18px;
  line-height: 1.8;
  color: var(--muted);
}

.mini-founder img {
  width: 100%;
  border-radius: 18px;
  margin-bottom: 10px;
}

.reviews-grid {
  flex-wrap: wrap;
}

.review-card {
  flex: 1 1 260px;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.contact-grid,
.checkout-grid {
  grid-template-columns: 1fr 1fr;
}

.contact-list,
.footer-grid,
.payment-options,
.summary-totals {
  flex-wrap: wrap;
}

.contact-list {
  padding: 0;
  list-style: none;
}

.site-footer {
  padding: 28px 0 46px;
  border-top: 1px solid var(--line);
}

.site-footer h3 {
  margin-bottom: 14px;
}

.site-footer a,
.site-footer small {
  display: block;
  margin-bottom: 10px;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  z-index: 50;
  width: min(400px, 100%);
  height: 100vh;
  padding: 22px;
  transition: right 0.28s ease;
}

.cart-drawer.open {
  right: 0;
}

.cart-body {
  margin: 20px 0;
  max-height: calc(100vh - 220px);
  overflow: auto;
}

.cart-item,
.checkout-item {
  margin-bottom: 16px;
}

.cart-item img,
.checkout-item img,
.modal-main-image {
  width: 92px;
  border-radius: 16px;
}

.cart-item-actions button {
  min-width: 34px;
  min-height: 34px;
  border-radius: 999px;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.cart-summary,
.order-summary {
  display: grid;
  gap: 14px;
}

.cart-total {
  font-size: 1.05rem;
}

.full-width {
  width: 100%;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.55);
}

.hidden {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  overflow: auto;
  padding: 40px 16px;
}

.modal-card {
  position: relative;
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 26px;
}

.checkout-card,
.success-card {
  width: min(900px, 100%);
}

.close-button {
  color: var(--text);
  font-size: 2rem;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
}

.thumb-row {
  margin-top: 14px;
}

.thumb-button {
  padding: 0;
  border-radius: 12px;
  border: 1px solid transparent;
}

.thumb-button.active {
  border-color: var(--accent);
}

.thumb-button img {
  width: 72px;
  border-radius: 12px;
}

.checkout-form .form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-form .full-span {
  grid-column: 1 / -1;
}

.payment-options {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.empty-state {
  padding: 28px;
  text-align: center;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  color: var(--muted);
}

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

  .icon-button {
    display: inline-block;
  }

  .hero-grid,
  .secure-grid,
  .contact-grid,
  .checkout-grid,
  .product-modal-layout,
  .founder-grid,
  .product-grid,
  .editorial-grid {
    grid-template-columns: 1fr;
  }

  .editorial-card.large,
  .editorial-card.wide {
    grid-row: auto;
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  section {
    padding: 72px 0;
  }

  .header-inner {
    min-height: 72px;
  }

  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .checkout-form .form-grid {
    grid-template-columns: 1fr;
  }
}
