/* ══════════════════════════════════════════════
   AOMASTE Blue Light Glasses — style.css
   Palette: clean white + near-black ink + electric indigo accent
   Fonts: Space Grotesk (geometric tech) + Inter (body)
   Persona: Tech / eyewear product — cool, modern, crisp
   Dominant idea: Color accents — indigo "lens wash" on
                  gallery panel; all other design is restrained.
   Signature: Full-height indigo-tinted gallery background
              referencing the blue-light-filtering lens itself.
══════════════════════════════════════════════ */

:root {
  /* Core palette */
  --bg:          #F8FAFF;
  --bg2:         #F0F2FC;
  --surface:     #FFFFFF;
  --surface2:    #EEF0FF;
  --ink:         #141820;
  --ink2:        #1E2438;
  --muted:       #5A6080;
  --border:      #D0D6EE;
  --rule:        #E0E4F5;

  /* Indigo accent system */
  --indigo:      #4A52D4;
  --indigo-h:    #3840B8;
  --indigo-lt:   #7880E8;
  --indigo-bg:   #ECEEFF;
  --indigo-deep: #2A2E8C;

  /* Gallery tint */
  --gallery-bg:  #1A1E50;
  --gallery-tint:#22288E;

  /* CTA */
  --cta:         #4A52D4;
  --cta-h:       #3840B8;

  /* Stars */
  --star:        #D4A800;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink2);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.75;
}

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

/* ════════════════════════
   HEADER
════════════════════════ */
.site-header {
  background: var(--ink);
  border-bottom: 3px solid var(--indigo);
  padding: 1rem 5vw;
  text-align: center;
}
.hdr-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.hdr-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.hdr-lens-icon {
  color: var(--indigo-lt);
  font-size: 1.2rem;
}
.hdr-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hdr-sub {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

/* ════════════════════════
   PRODUCT SECTION
════════════════════════ */
.product-section {
  /* no extra padding — layout fills to edges */
}

.product-layout {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  /* slight top padding for visual breath */
  padding-top: 0;
}

/* ── GALLERY COL — indigo lens wash ── */
.gallery-col {
  position: relative;
  overflow: hidden;
  /* sticky on desktop */
  position: sticky;
  top: 0;
  /* full height feel */
  min-height: 520px;
  display: flex;
  align-items: stretch;
}

.gallery-lens-bg {
  position: absolute;
  inset: 0;
  background: var(--gallery-bg);
  /* subtle radial tint — the lens wash signature */
  background: radial-gradient(ellipse at 50% 40%,
    #2A318A 0%,
    #181C50 55%,
    #0E1130 100%
  );
  z-index: 0;
}

.gallery-content {
  position: relative;
  z-index: 1;
  padding: 2.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.gallery-frame {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(2px);
}

.gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }

.gallery-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}
.gallery-slide img {
  width: 100%;
  height: 340px;
  object-fit: contain;
  padding: 2rem 1.5rem;
  background: transparent;
  /* subtle blue tint on image bg */
  background-color: rgba(30,36,100,0.3);
}

/* Thumbnails */
.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.7rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.gallery-thumbs::-webkit-scrollbar { display: none; }

.g-thumb {
  flex: 0 0 62px;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  transition: border-color 0.15s;
}
.g-thumb:hover,
.g-thumb:focus {
  border-color: var(--indigo-lt);
  outline: none;
}
.g-thumb img {
  width: 62px;
  height: 62px;
  object-fit: cover;
}

/* 90% stat pill */
.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(74,82,212,0.25);
  border: 1px solid rgba(120,128,232,0.4);
  border-radius: 50px;
  padding: 0.55rem 1.1rem;
  margin-top: 1.2rem;
  align-self: flex-start;
  backdrop-filter: blur(4px);
}
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── INFO COL ── */
.info-col {
  background: var(--surface);
  padding: 2.8rem 2.5rem 3rem;
  border-left: 1px solid var(--border);
}

.product-tag {
  display: inline-block;
  background: var(--indigo-bg);
  border: 1px solid var(--indigo-lt);
  color: var(--indigo);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.22rem 0.75rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}

.product-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 0.4rem;
}
.title-blue { color: var(--indigo); }

.product-full {
  font-size: 0.88rem;
  color: var(--ink2);
  line-height: 1.5;
  margin-bottom: 0.3rem;
}
.product-compat {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

.product-brand {
  font-size: 0.83rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}
.product-brand strong { color: var(--indigo); }

.star-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.stars { color: var(--star); font-size: 1rem; letter-spacing: 0.05em; }
.star-label {
  font-size: 0.8rem;
  color: var(--indigo);
  text-decoration: underline;
  cursor: default;
}

.info-rule {
  height: 1px;
  background: var(--rule);
  margin: 1.3rem 0;
}

/* ── HIGHLIGHTS STRIP ── */
.highlights-strip {
  display: flex;
  align-items: stretch;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.hl-item {
  flex: 1;
  padding: 0.85rem 0.6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.hl-divider {
  width: 1px;
  background: var(--border);
  flex-shrink: 0;
}
.hl-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--indigo);
  line-height: 1;
}
.hl-desc {
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

/* ── ABOUT LIST ── */
.about-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.about-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 0.91rem;
  color: var(--ink2);
  line-height: 1.72;
}
.al-bullet {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--indigo-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo);
  font-size: 0.7rem;
  margin-top: 2px;
}
.about-list li strong { color: var(--ink); font-weight: 600; }

/* ── USE CASES ── */
.use-cases {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.uc-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.uc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.uc-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.28rem 0.7rem;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--ink2);
}
.uc-tag i { color: var(--indigo); font-size: 0.72rem; }

/* ── CTA INLINE ── */
.cta-inline {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--cta);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 1rem 2.5rem;
  border-radius: 4px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(74,82,212,0.35);
  transition: background 0.2s, transform 0.15s;
  align-self: flex-start;
  width: 100%;
  justify-content: center;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--cta-h);
  transform: translateY(-2px);
  outline: none;
}
.cta-btn:active { transform: translateY(0); }
.cta-btn i { font-size: 1.1rem; }

.cta-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cta-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  color: var(--muted);
}
.cta-meta i { font-size: 0.65rem; color: var(--indigo); }

/* ════════════════════════
   REVIEWS SECTION
════════════════════════ */
.reviews-section {
  background: var(--bg);
  padding: 4rem 5vw 5rem;
}
.reviews-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.reviews-hdr {
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 2px solid var(--indigo);
}
.reviews-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.45rem;
}
.reviews-meta-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.rev-avg { font-size: 0.87rem; font-weight: 600; color: var(--ink2); }
.rev-count { font-size: 0.8rem; color: var(--muted); }

/* Review items */
.review {
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--rule);
}
.review:last-child { border-bottom: none; }

.review-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.65rem;
}
.rev-avatar img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  background: var(--surface2);
  flex-shrink: 0;
}
.rev-identity {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}
.rev-name { font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.rev-stars { color: var(--star); font-size: 0.88rem; letter-spacing: 0.04em; }
.rev-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.3;
}
.rev-date { font-size: 0.77rem; color: var(--muted); margin-bottom: 0.2rem; }
.rev-attrs { font-size: 0.77rem; color: var(--muted); margin-bottom: 0.7rem; }
.rev-body {
  font-size: 0.91rem;
  color: var(--ink2);
  line-height: 1.8;
  margin-bottom: 0.6rem;
}
.rev-photos {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}
.rev-photos img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* ════════════════════════
   FOOTER
════════════════════════ */
.site-footer {
  background: var(--ink);
  border-top: 3px solid var(--indigo);
  padding: 2rem 5vw;
  text-align: center;
}
.footer-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}
.footer-links a {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--indigo-lt); }
.fsep { color: rgba(255,255,255,0.15); font-size: 0.76rem; }
.footer-copy { font-size: 0.7rem; color: rgba(255,255,255,0.18); }

/* ════════════════════════
   RESPONSIVE
════════════════════════ */
@media (max-width: 900px) {
  .product-layout {
    grid-template-columns: 1fr;
  }

  .gallery-col {
    position: static;
    min-height: auto;
  }
  .gallery-content { padding: 1.8rem 1.5rem 1.5rem; }
  .gallery-slide img { height: 260px; }

  .info-col {
    border-left: none;
    border-top: 3px solid var(--indigo);
    padding: 2rem 1.5rem 2.5rem;
  }

  /* gallery on top, info below */
  .gallery-col { order: 1; }
  .info-col { order: 2; }

  .product-section { padding-top: 0; }
}

@media (max-width: 580px) {
  .product-title { font-size: 2.2rem; }
  .gallery-slide img { height: 220px; }

  .g-thumb { flex: 0 0 54px; }
  .g-thumb img { width: 54px; height: 54px; }

  .cta-btn {
    font-size: 0.95rem;
    padding: 1rem 1.2rem;
  }

  .highlights-strip { gap: 0; }
  .hl-num { font-size: 1.2rem; }

  .reviews-section { padding: 2.5rem 4vw 4rem; }
}

@media (max-width: 380px) {
  .info-col { padding: 1.5rem 1rem 2rem; }
  .gallery-content { padding: 1.2rem 1rem 1.2rem; }
}