/* ==========================================================================
   PRINTMYREEF — Luxury Reef Ecommerce
   ========================================================================== */

/* -------- Tokens -------- */
:root {
  --bg-deep: #000814;
  --bg-base: #04081a;
  --bg-elev: #0a1024;
  --bg-card: #0d1530;
  --bg-card-hover: #101940;

  --line: rgba(125, 211, 252, 0.08);
  --line-strong: rgba(125, 211, 252, 0.18);

  --text: #f1f5fb;
  --text-muted: #94a3b8;
  --text-faint: #64748b;

  --cyan: #22d3ee;
  --cyan-soft: #67e8f9;
  --cyan-deep: #0891b2;
  --navy: #0c4a6e;

  --glow-cyan: 0 0 40px rgba(34, 211, 238, 0.35);
  --glow-soft: 0 0 80px rgba(34, 211, 238, 0.18);
  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.45), 0 1px 0 rgba(255,255,255,0.04) inset;
  --shadow-deep: 0 30px 80px rgba(0, 0, 0, 0.6);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --container: 1280px;
  --container-narrow: 1040px;

  --font-display: "Fraunces", "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* -------- Reset -------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; padding: 0; margin: 0; }
input, select, textarea { font: inherit; color: inherit; }

/* -------- Atmospheric background -------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(14, 165, 233, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 100%, rgba(8, 145, 178, 0.12), transparent 60%),
    radial-gradient(ellipse 100% 100% at 50% 50%, transparent 0%, rgba(0, 8, 20, 0.7) 100%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* Floating particles canvas layer */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

main, header, footer { position: relative; z-index: 2; }

/* -------- Layout -------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: var(--container-narrow); }

section { position: relative; padding: 120px 0; }

/* -------- Header / Nav -------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: backdrop-filter 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
  background: linear-gradient(180deg, rgba(0,8,20,0.6) 0%, rgba(0,8,20,0) 100%);
}
.site-header.scrolled {
  background: rgba(4, 8, 26, 0.78);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--text);
  z-index: 110;
}
.brand-mark {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.35));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.25s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-muted);
  transition: all 0.25s var(--ease);
  position: relative;
}
.icon-btn:hover {
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
}
.icon-btn svg { width: 19px; height: 19px; }
.cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--cyan);
  color: #000814;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 8px;
}
.menu-toggle span {
  width: 20px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s var(--ease);
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, #22d3ee 0%, #0891b2 100%);
  color: #000814;
  box-shadow: var(--glow-cyan);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(34, 211, 238, 0.55), 0 8px 24px rgba(0,0,0,0.4);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #67e8f9 0%, #22d3ee 100%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary > * { position: relative; z-index: 1; }

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(34, 211, 238, 0.08);
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  padding: 14px 0;
}
.btn-ghost:hover { color: var(--cyan); }

.btn-arrow { font-size: 16px; transition: transform 0.3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* -------- Hero -------- */
.hero {
  min-height: 100vh;
  padding: 140px 0 100px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("images/hero-bg.svg") center/cover no-repeat;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, var(--bg-deep) 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid var(--line-strong);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.4vw, 86px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  color: var(--text);
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(135deg, #22d3ee 0%, #67e8f9 60%, #f1f5fb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 0 40px;
}

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

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-stat .lbl {
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 6px;
}

.hero-product {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-product-img {
  width: 100%;
  max-width: 620px;
  filter: drop-shadow(0 40px 80px rgba(34, 211, 238, 0.15));
  animation: floatProduct 8s ease-in-out infinite;
}
@keyframes floatProduct {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(0.4deg); }
}

/* -------- Section heads -------- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.section-head-content { max-width: 640px; }

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 400;
  margin: 0 0 16px;
  color: var(--text);
}
.section-title em {
  font-style: italic;
  color: var(--cyan-soft);
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  margin: 0;
  max-width: 540px;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.02em;
  transition: gap 0.3s var(--ease);
}
.section-link:hover { gap: 14px; }

/* -------- Product grid -------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  position: relative;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-elev) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.5s var(--ease);
  display: flex;
  flex-direction: column;
}
.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.3), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card), 0 0 60px rgba(34, 211, 238, 0.08);
}
.product-card:hover::before { opacity: 1; }

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #0a2540 0%, #000814 100%);
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.06); }

.product-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(0, 8, 20, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  color: var(--text);
}
.badge--new { color: var(--cyan); border-color: rgba(34, 211, 238, 0.4); }
.badge--best { color: #fbbf24; border-color: rgba(251, 191, 36, 0.4); }

.product-quick {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 8, 20, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  color: var(--text);
  opacity: 0;
  transform: translateY(-6px);
  transition: all 0.3s var(--ease);
}
.product-card:hover .product-quick { opacity: 1; transform: translateY(0); }
.product-quick:hover { background: var(--cyan); color: #000814; border-color: var(--cyan); }

.product-info {
  padding: 22px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-cat {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 8px;
}
.product-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--text);
}
.product-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 18px;
  flex: 1;
}
.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.product-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}
.product-price small {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-faint);
  text-decoration: line-through;
  margin-left: 6px;
  font-weight: 400;
}

.add-cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.25s var(--ease);
}
.add-cart:hover {
  background: var(--cyan);
  color: #000814;
  border-color: var(--cyan);
}
.add-cart svg { width: 14px; height: 14px; }

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
  font-size: 11px;
  color: var(--text-faint);
}
.product-rating .stars { color: #fbbf24; letter-spacing: 1px; }

/* -------- Features -------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 36px 28px;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-elev) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.08) 0%, transparent 40%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.feature-card:hover {
  border-color: rgba(34, 211, 238, 0.25);
  transform: translateY(-4px);
}
.feature-card:hover::after { opacity: 1; }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--cyan);
}
.feature-icon svg { width: 24px; height: 24px; }

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.feature-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* -------- Categories -------- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.category-card {
  position: relative;
  padding: 32px 24px;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-elev) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.4s var(--ease);
  display: block;
  overflow: hidden;
}
.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(34, 211, 238, 0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}
.category-card:hover::before { opacity: 1; }
.category-card > * { position: relative; z-index: 1; }

.category-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: var(--cyan);
}
.category-card h4 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  margin: 0 0 6px;
}
.category-card .count {
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.05em;
}
.category-arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--text-faint);
  transition: all 0.3s var(--ease);
}
.category-card:hover .category-arrow {
  color: var(--cyan);
  transform: translate(4px, -4px);
}

/* -------- Why section -------- */
.why-section {
  position: relative;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-content h2 { margin-bottom: 24px; }
.why-content p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 18px;
}
.why-list {
  margin-top: 32px;
  display: grid;
  gap: 18px;
}
.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
}
.why-check svg { width: 14px; height: 14px; }
.why-item strong {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
}
.why-item span {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.why-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-deep);
  aspect-ratio: 4 / 3;
}
.why-visual img { width: 100%; height: 100%; object-fit: cover; }
.why-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(34, 211, 238, 0.08) 100%);
  pointer-events: none;
}

/* -------- Testimonials -------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  padding: 36px 32px;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-elev) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
  transition: all 0.4s var(--ease);
}
.testimonial:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.testimonial-quote {
  position: absolute;
  top: 20px;
  right: 28px;
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 1;
  color: var(--cyan);
  opacity: 0.18;
  font-style: italic;
}
.testimonial-stars {
  color: #fbbf24;
  letter-spacing: 2px;
  font-size: 14px;
  margin-bottom: 18px;
}
.testimonial p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  margin: 0 0 22px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-deep), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.author-info strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.author-info span {
  font-size: 12px;
  color: var(--text-faint);
}

/* -------- Newsletter / CTA strip -------- */
.cta-strip {
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.15), rgba(12, 74, 110, 0.15));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  padding: 60px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.18), transparent 60%);
  pointer-events: none;
}
.cta-strip > * { position: relative; }
.cta-strip h2 { margin-bottom: 14px; }
.cta-strip p { color: var(--text-muted); font-size: 17px; margin: 0 0 32px; max-width: 540px; margin-left: auto; margin-right: auto; }
.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 16px 22px;
  background: rgba(0, 8, 20, 0.6);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: all 0.25s var(--ease);
}
.newsletter-form input:focus {
  border-color: var(--cyan);
  background: rgba(0, 8, 20, 0.8);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.1);
}
.newsletter-form input::placeholder { color: var(--text-faint); }

/* -------- Footer -------- */
.site-footer {
  background: linear-gradient(180deg, transparent 0%, rgba(0, 8, 20, 0.8) 100%);
  border-top: 1px solid var(--line);
  padding: 80px 0 40px;
  margin-top: 80px;
  position: relative;
  z-index: 2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand p {
  margin: 20px 0 24px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text-muted);
  transition: all 0.25s var(--ease);
}
.footer-social a:hover {
  background: rgba(34, 211, 238, 0.1);
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}
.footer-social svg { width: 16px; height: 16px; }

.footer-col h5 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 22px;
}
.footer-col ul { display: grid; gap: 12px; }
.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.25s var(--ease);
}
.footer-col a:hover { color: var(--cyan); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 20px;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom a:hover { color: var(--cyan); }

/* -------- Reveal animations -------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.13s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.21s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.29s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.37s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.45s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 0.53s; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 0.61s; }

/* -------- Cart drawer -------- */
.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 100%;
  max-width: 440px;
  background: var(--bg-base);
  border-left: 1px solid var(--line);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: -30px 0 80px rgba(0,0,0,0.5);
}
.cart-drawer.open { transform: translateX(0); }
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 8, 20, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 199;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease);
}
.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-head {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.cart-head h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
}
.cart-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.25s var(--ease);
}
.cart-close:hover { background: rgba(255,255,255,0.06); color: var(--text); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}
.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.cart-empty svg { width: 56px; height: 56px; margin: 0 auto 20px; color: var(--text-faint); }
.cart-empty h4 { font-family: var(--font-display); font-size: 22px; font-weight: 500; margin: 0 0 8px; color: var(--text); }
.cart-empty p { font-size: 14px; margin: 0; }

.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item-img {
  width: 70px; height: 70px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-elev);
  border: 1px solid var(--line);
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-weight: 500; font-size: 14px; margin-bottom: 4px; }
.cart-item-price { font-size: 13px; color: var(--cyan); font-weight: 600; }
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
}
.qty-btn {
  width: 22px; height: 22px;
  border-radius: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}
.qty-btn:hover { background: rgba(34, 211, 238, 0.1); border-color: var(--cyan); }
.cart-remove {
  color: var(--text-faint);
  font-size: 12px;
  align-self: flex-start;
  padding: 4px;
}
.cart-remove:hover { color: #f87171; }

.cart-foot {
  padding: 24px;
  border-top: 1px solid var(--line);
  background: rgba(0, 8, 20, 0.6);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 17px;
  margin-bottom: 18px;
}
.cart-total strong { font-family: var(--font-display); font-weight: 500; font-size: 22px; }

/* -------- Toast -------- */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-deep), 0 0 30px rgba(34, 211, 238, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 300;
  transition: transform 0.5s var(--ease);
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast svg { width: 18px; height: 18px; color: var(--cyan); }

/* ==========================================================================
   PRODUCT PAGE
   ========================================================================== */
.breadcrumbs {
  padding: 120px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumbs ol { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--cyan); }
.breadcrumbs .sep { color: var(--text-faint); }
.breadcrumbs .current { color: var(--text); }

.product-detail {
  padding: 40px 0 100px;
}
.pd-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
}

.pd-gallery { position: sticky; top: 100px; align-self: start; }
.pd-main-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, #0a2540, #000814);
  border: 1px solid var(--line);
  aspect-ratio: 1 / 1;
  position: relative;
  cursor: zoom-in;
}
.pd-main-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.pd-main-img:hover img { transform: scale(1.04); }
.pd-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.pd-thumb {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb:hover, .pd-thumb.active { border-color: var(--cyan); box-shadow: 0 0 24px rgba(34, 211, 238, 0.2); }

.pd-info > .badge { margin-bottom: 18px; }
.pd-cat {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}
.pd-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.pd-rating-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--text-muted);
}
.pd-rating-row .stars { color: #fbbf24; letter-spacing: 2px; }
.pd-price {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 24px 0;
  color: var(--text);
}
.pd-price small {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--text-faint);
  text-decoration: line-through;
  margin-left: 10px;
  font-weight: 400;
}
.pd-price .save {
  margin-left: 12px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  background: rgba(34, 211, 238, 0.12);
  color: var(--cyan);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

.pd-desc {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 32px;
}

.pd-options {
  display: grid;
  gap: 24px;
  margin-bottom: 32px;
}
.pd-option-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
}
.pd-option-label span { color: var(--text-muted); font-weight: 500; }
.pd-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-swatch {
  padding: 10px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.25s var(--ease);
}
.pd-swatch:hover { color: var(--text); border-color: var(--line-strong); }
.pd-swatch.active {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
}

.pd-quantity-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 24px;
}
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 4px;
  background: rgba(255,255,255,0.02);
}
.qty-control button {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: background 0.2s var(--ease);
}
.qty-control button:hover { background: rgba(34, 211, 238, 0.1); color: var(--cyan); }
.qty-control input {
  width: 50px;
  text-align: center;
  background: transparent;
  border: none;
  font-size: 15px;
  font-weight: 600;
  outline: none;
  color: var(--text);
}
.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pd-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}
.pd-actions .btn-primary { flex: 1; padding: 18px 30px; }

.pd-trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  margin-bottom: 32px;
}
.pd-trust-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.pd-trust-icon {
  width: 32px; height: 32px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(34, 211, 238, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
}
.pd-trust-icon svg { width: 16px; height: 16px; }
.pd-trust-item strong { display: block; font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.pd-trust-item span { font-size: 12px; color: var(--text-muted); }

.pd-features {
  margin-top: 36px;
}
.pd-features h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 18px;
}
.pd-features ul { display: grid; gap: 14px; }
.pd-features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text-muted);
}
.pd-features li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  margin-top: 9px;
  box-shadow: 0 0 8px var(--cyan);
}
.pd-features li strong { color: var(--text); margin-right: 6px; }

.related {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   COLLECTION PAGE
   ========================================================================== */
.collection-head {
  padding: 160px 0 60px;
  position: relative;
}
.collection-head h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 400;
  margin: 14px 0 18px;
}
.collection-head p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0;
}

.collection-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 50px;
  gap: 20px;
  flex-wrap: wrap;
}
.toolbar-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-chip {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.25s var(--ease);
  cursor: pointer;
}
.filter-chip:hover { color: var(--text); border-color: var(--line-strong); }
.filter-chip.active {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
}
.toolbar-right { display: flex; align-items: center; gap: 18px; }
.result-count {
  font-size: 13px;
  color: var(--text-muted);
}
.sort-select {
  padding: 10px 38px 10px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-size: 13px;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  outline: none;
  transition: all 0.25s var(--ease);
}
.sort-select:hover { border-color: var(--line-strong); }
.sort-select:focus { border-color: var(--cyan); }

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 80px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid .footer-col:last-child { grid-column: span 3; }
  .pd-grid { grid-template-columns: 1fr; gap: 40px; }
  .pd-gallery { position: static; }
}

@media (max-width: 860px) {
  section { padding: 80px 0; }
  .nav-links { display: none; }
  .menu-toggle { display: flex; }

  .hero { padding: 120px 0 60px; min-height: auto; }
  .hero-content { grid-template-columns: 1fr; gap: 50px; text-align: left; }
  .hero-product { order: -1; }
  .hero-product-img { max-width: 380px; }
  .hero-stats { gap: 28px; flex-wrap: wrap; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .collection-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }

  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid .footer-col:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .cta-strip { padding: 40px 24px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form .btn { width: 100%; }

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

  .collection-toolbar { flex-direction: column; align-items: stretch; }
  .toolbar-right { justify-content: space-between; }
}

@media (max-width: 540px) {
  .container { padding: 0 18px; }
  .product-grid, .collection-grid { grid-template-columns: 1fr; }
  .product-info { padding: 18px; }
  .product-foot { flex-direction: column; align-items: stretch; gap: 12px; }
  .product-foot .add-cart { justify-content: center; }
  .hero h1 { font-size: 42px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .pd-trust { grid-template-columns: 1fr; }
  .pd-thumbs { grid-template-columns: repeat(4, 1fr); }
}

/* -------- Mobile menu -------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 26, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 105;
  padding: 100px 24px 40px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.25s var(--ease);
}
.mobile-menu a:hover { color: var(--cyan); }

/* -------- Utility -------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}
