/* ==================== RESET & BASE ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: #efe7d8; overflow-x: hidden; }
body { font-family: 'Space Grotesk', sans-serif; color: #241f1b; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
em { font-family: 'Instrument Serif', serif; font-style: italic; }

/* ==================== LOADER ==================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #efe7d8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 42px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #241f1b;
}
.loader-headline {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 54px;
  line-height: 1.0;
  color: #fff;
  text-align: center;
  padding: 0 10px;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0,0,0,0.55), 0 1px 4px rgba(0,0,0,0.6);
  -webkit-text-stroke: 0.8px #000;
}
.loader-title {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 54px;
  line-height: 1.0;
  color: #241f1b;
  text-align: center;
  padding: 0 10px;
  text-wrap: balance;
}
.purchase-sub {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 18px;
  color: #5b5147;
  margin-top: 6px;
}
.loader-bar-track {
  width: 120px;
  height: 2px;
  background: rgba(36,31,27,0.12);
  border-radius: 2px;
  margin-top: 24px;
  overflow: hidden;
}
.loader-bar {
  height: 100%;
  width: 0%;
  background: #241f1b;
  border-radius: 2px;
  transition: width 0.2s ease;
}
.loader-skip {
  margin-top: 24px;
  background: none;
  border: 1px solid rgba(36,31,27,0.25);
  color: #241f1b;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.loader-skip.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ==================== PAGE WRAPPER ==================== */
.page-wrapper {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  background: #efe7d8;
  min-height: 100vh;
  overflow: hidden;
}

/* ==================== ANIMATIONS ==================== */
@keyframes floatDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
@keyframes marq { from { transform: translateX(-5%); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  [data-drift] { animation: none !important; }
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  z-index: 2;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-columns {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 0 24px;
}
.hero-col {
  display: flex;
  flex-direction: column;
  animation: floatDown 40s linear infinite;
}
.hero-img {
  flex: none;
  width: 170px;
  aspect-ratio: 9/16;
  margin-bottom: 17px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(20,16,12,0.67),
    rgba(20,16,12,0.42) 30%,
    rgba(20,16,12,0.32) 45%,
    rgba(239,231,216,0.4) 60%,
    rgba(239,231,216,0.75) 74%,
    #efe7d8 88%,
    #efe7d8
  );
}
.hero-logo {
  position: absolute;
  top: 24px;
  left: 0; right: 0;
  text-align: center;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 17px;
}
.hero-headline {
  position: absolute;
  top: 353px;
  transform: translateY(-50%);
  left: 10px; right: 10px;
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 54px;
  line-height: 1.0;
  color: #fff;
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0,0,0,0.55), 0 1px 4px rgba(0,0,0,0.6);
  -webkit-text-stroke: 0.8px #000;
}
.hero-sub {
  position: absolute;
  top: 400px;
  left: 0; right: 0;
  text-align: center;
  color: #fff;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 20px;
  font-weight: 400;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.5);
}
.hero-cta {
  position: absolute;
  left: 30px; right: 30px;
  bottom: 128px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: #241f1b;
  color: #efe7d8;
  padding: 13px 17px;
  border-radius: 14px;
}
.hero-cta-title { font-weight: 700; font-size: 16px; }
.hero-cta-save { font-weight: 600; font-size: 11px; opacity: 0.7; margin-left: 4px; }
.hero-cta-sub { font-size: 11px; font-weight: 500; opacity: 0.82; }

/* ==================== CAMERA ==================== */
.camera-section {
  position: relative;
  z-index: 30;
  height: 0;
  text-align: center;
  pointer-events: none;
  overflow: visible;
}
.camera-img {
  position: relative;
  top: -160px;
  width: 336px;
  max-width: 84%;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 22px 44px rgba(60,45,30,0.34));
}

/* ==================== SOCIAL PROOF ==================== */
.social-proof {
  position: relative;
  z-index: 1;
  padding: 76px 26px 0;
  text-align: center;
}
.social-proof-header { margin: 30px 0 16px; }
.section-title {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.05;
  text-wrap: balance;
}
.section-title-sm {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.05;
  color: #5b5147;
  text-wrap: balance;
}
.social-tagline {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a7d6b;
  margin-top: 16px;
}
.ig-carousel-wrap {
  position: relative;
  margin: 0 -26px;
  overflow: hidden;
}
.ig-carousel {
  display: flex;
  width: max-content;
  padding: 18px 80px;
  animation: marq 72s linear infinite;
}
.ig-post {
  flex: none;
  width: 272px;
  margin-right: 14px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(60,45,30,0.12);
}
.ig-post-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
}
.ig-post-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  flex: none;
  border: 1px solid #dbdbdb;
}
.ig-post-name { font-weight: 600; font-size: 13px; color: #262626; }
.ig-post-menu { cursor: pointer; display: flex; align-items: center; }
.ig-post-image {
  width: 100%;
  aspect-ratio: 1/1;
  background-size: cover;
  background-position: center;
}
.ig-post-icons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 6px;
}
.ig-post-icons-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ig-post-icons svg { cursor: pointer; }
.ig-icon-group {
  display: flex;
  align-items: center;
  gap: 5px;
}
.ig-icon-count {
  font-size: 13px;
  font-weight: 600;
  color: #262626;
}
.ig-post-liked {
  padding: 2px 14px 4px;
  font-size: 12px;
  color: #262626;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ig-post-liked strong { font-weight: 600; }
.ig-liked-avatar {
  width: 18px; height: 18px;
  border-radius: 50%;
  flex: none;
  border: 1px solid #dbdbdb;
}
.ig-post-caption {
  padding: 0 14px 4px;
  font-size: 13px;
  line-height: 1.4;
  color: #262626;
}
.ig-post-caption strong { font-weight: 600; margin-right: 4px; }
.ig-post-time {
  padding: 2px 14px 12px;
  font-size: 10px;
  color: #8e8e8e;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* ==================== PURCHASE ==================== */
.purchase {
  position: relative;
  z-index: 1;
  padding: 0 26px 30px;
  text-align: left;
}
.purchase-spacer { height: 20px; }
.purchase-headline {
  font-family: 'Instrument Serif', serif;
  font-weight: 600;
  font-size: 44px;
  -webkit-text-stroke: 0.5px rgba(36,31,27,0.3);
  line-height: 1.02;
  margin: 10px auto 24px;
  max-width: 360px;
  text-align: center;
  text-wrap: balance;
}

.review-badge-standalone {
  max-width: 360px;
  margin: 12px auto 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #241f1b;
}

/* Product showcase */
.product-showcase {
  width: 100%;
  max-width: 440px;
  margin: 0 auto 28px;
  overflow: hidden;
}
.product-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 calc((100% - min(75vw, 330px)) / 2);
}
.product-track::-webkit-scrollbar { display: none; }
.product-slide {
  width: min(75vw, 330px);
  flex: none;
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center 10%;
  position: relative;
  border-radius: 18px;
  scroll-snap-align: center;
  transform: scale(0.88);
}
.product-caption {
  position: absolute;
  bottom: 16px; left: 14px;
  background: rgba(36,31,27,0.55);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
}
.product-shot-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(36,31,27,0.55);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 16px;
  backdrop-filter: blur(6px);
  letter-spacing: 0.03em;
}
.product-review-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(36,31,27,0.75);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
}
.product-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}
.product-dot {
  height: 6px;
  border-radius: 3px;
  background: rgba(60,45,30,0.45);
}
.product-dot.active {
  background: #241f1b;
}

/* Bundles */
.bundles {
  max-width: 360px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bundle-tier {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  border: 1.5px solid rgba(60,45,30,0.18);
  border-radius: 16px;
  background: #faf7f2;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}
.bundle-tier.selected {
  border: 2.5px solid #241f1b;
  background: #f3ede3;
  box-shadow: 0 4px 14px rgba(36,31,27,0.12);
}
.bundle-tag {
  position: absolute;
  top: -10px; right: 16px;
  background: #241f1b;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 7px;
}
.bundle-dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(60,45,30,0.3);
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bundle-tier.selected .bundle-dot { border-color: #241f1b; }
.bundle-dot-inner {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: transparent;
}
.bundle-tier.selected .bundle-dot-inner { background: #241f1b; }
.bundle-info { flex: 1; min-width: 0; }
.bundle-title { font-weight: 700; font-size: 15px; }
.bundle-sub { font-size: 12px; color: #8a7d6b; margin-top: 1px; white-space: nowrap; }
.bundle-price { text-align: right; flex: none; }
.bundle-price-now { font-weight: 700; font-size: 16px; color: #241f1b; }
.bundle-free { color: #6b8a5b; font-weight: 600; }
.bundle-price-was { font-size: 11px; color: #8a7d6b; text-decoration: line-through; }
.bundle-price-save { font-size: 11px; color: #6b8a5b; font-weight: 600; }

/* Perks milestone bar */
.perks-bar {
  max-width: 320px;
  margin: 16px auto 0;
}
.perks-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a7d6b;
  text-align: center;
  margin-bottom: 8px;
}
.perks-track-wrap {
  position: relative;
  height: 10px;
  display: flex;
  align-items: center;
  margin: 0 5px;
}
.perks-track {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: rgba(60,45,30,0.1);
  border-radius: 1px;
}
.perks-fill {
  height: 100%;
  background: linear-gradient(90deg, #4a7a3f, #6b8a5b, #a8d4a0);
  border-radius: 1px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.perks-milestones {
  position: relative;
  display: flex;
  justify-content: space-between;
  width: 100%;
  z-index: 2;
}
.perk-milestone {
  display: flex;
  align-items: center;
  justify-content: center;
}
.perk-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(60,45,30,0.15);
  background: #efe7d8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 6px;
  color: transparent;
}
.perk-milestone.unlocked .perk-dot {
  background: #6b8a5b;
  border-color: #6b8a5b;
  color: #fff;
}
.perks-labels {
  display: flex;
  justify-content: space-between;
  margin: 4px 0 0;
}
.perk-text {
  font-size: 9px;
  font-weight: 600;
  color: #a89d8f;
  white-space: nowrap;
  transition: all 0.3s ease;
  text-align: center;
  width: 33.33%;
}
.perks-label {
  text-align: center;
  font-size: 10px;
  font-weight: 500;
  color: #8a7d6b;
  margin-top: 6px;
}

/* Live viewers */
.live-viewers {
  max-width: 360px;
  margin: 16px auto 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: #5b5147;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #e05555;
  display: inline-block;
  animation: livePulse 1.5s ease infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* Main CTA */
.main-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #241f1b;
  color: #efe7d8;
  padding: 18px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 17px;
  max-width: 360px;
  margin: 20px auto 0;
}
.cta-save {
  color: #6b8a5b;
  font-weight: 600;
  font-size: 12px;
  margin-left: 8px;
}

/* Trust badges */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 14px auto 0;
  max-width: 360px;
}
.trust-badges span {
  font-size: 10px;
  color: #5b5147;
  font-weight: 600;
  white-space: nowrap;
}

/* Specs accordion */
.specs-accordion {
  max-width: 360px;
  margin: 28px auto 0;
  border: 1.5px solid #241f1b;
  border-radius: 14px;
  padding: 0 16px;
}
.specs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}
.specs-icon {
  font-size: 24px;
  font-weight: 400;
  color: #5b5147;
  transition: transform 0.2s ease;
}
.specs-accordion:not(.open) .specs-icon { content: '+'; }
.specs-accordion:not(.open) .specs-icon::before { content: ''; }
.specs-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.specs-accordion.open .specs-body { max-height: 700px; }
.specs-product-img {
  text-align: center;
  margin: 0 -26px 16px;
}
.specs-product-img img {
  width: 100%;
  max-width: 440px;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 15px;
  border-top: 1px solid rgba(60,45,30,0.1);
}
.spec-row:last-child { border-bottom: 1px solid rgba(60,45,30,0.1); }
.spec-row span:first-child { color: #8a7d6b; }
.spec-row span:last-child { font-weight: 800; color: #241f1b; font-size: 15px; }

/* Reviews */
.reviews-section {
  max-width: 360px;
  margin: 60px auto 0;
}
.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}
.reviews-title {
  font-family: 'Instrument Serif', serif;
  font-weight: 600;
  font-size: 26px;
}
.reviews-count {
  font-size: 14px;
  color: #8a7d6b;
}
.review-card {
  background: #faf7f2;
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 12px;
}
.review-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.review-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  flex: none;
}
.review-meta { flex: 1; }
.review-name { font-weight: 700; font-size: 14px; }
.review-school { font-size: 12px; color: #8a7d6b; }
.review-verified {
  font-size: 12px;
  font-weight: 600;
  color: #6b8a5b;
  background: rgba(107,138,91,0.1);
  padding: 3px 10px;
  border-radius: 6px;
}
.review-stars {
  color: #d4a04a;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.review-text {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.45;
  color: #241f1b;
}

/* ==================== STICKY CTA ==================== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  max-width: 440px;
  padding: 12px 20px;
  background: transparent;
  z-index: 50;
  transition: transform 0.3s ease;
}
.sticky-cta.visible { transform: translateX(-50%) translateY(0); }
.sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px;
  background: #efe7d8;
  color: #241f1b;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
}

/* ==================== FOOTER ==================== */
.footer {
  max-width: 440px;
  margin: 0 auto;
  padding: 40px 26px 100px;
  text-align: center;
  font-size: 11px;
  color: #8a7d6b;
  line-height: 1.8;
}
.footer-links { margin-bottom: 12px; }
.footer-links a { color: #8a7d6b; text-decoration: underline; }
