/* Prestige Prints - Main Stylesheet */

/* ══════════════════════════════════════════════════════════════
   CSS VARIABLES
   ══════════════════════════════════════════════════════════════ */
:root {
  /* Colors */
  --gold: #c9a227;
  --gold-light: #e8d48a;
  --gold-dark: #9a7b1a;
  --black: #0a0a0a;
  --white: #ffffff;
  --off-white: #f8f6f2;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-600: #525252;
  --gray-800: #262626;
  --gray-900: #171717;
  
  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing */
  --section-padding: 100px;
  --container-width: 1200px;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.2);
}

/* ══════════════════════════════════════════════════════════════
   RESET & BASE
   ══════════════════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ══════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ══════════════════════════════════════════════════════════════ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.gold { color: var(--gold); }

/* ══════════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: var(--gold);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: var(--transition-normal);
}

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: transparent;
  color: var(--gray-800);
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  transition: var(--transition-normal);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 36px;
  background: var(--gold);
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 8px;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.btn-hero:hover {
  background: var(--gold-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 36px;
  background: transparent;
  color: var(--gray-800);
  font-weight: 600;
  font-size: 1.1rem;
  border: 2px solid var(--gray-300);
  border-radius: 8px;
  transition: var(--transition-normal);
}

.btn-hero-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-large {
  padding: 20px 48px;
  font-size: 1.15rem;
}

.btn-checkout {
  width: 100%;
  padding: 18px 36px;
  background: var(--gold);
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 8px;
  transition: var(--transition-normal);
}

.btn-checkout:hover {
  background: var(--gold-dark);
}

/* ══════════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
}

.nav-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gray-900);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-actions {
  display: flex;
  gap: 12px;
}

.nav-mobile-menu {
  display: none;
  font-size: 1.5rem;
  color: var(--gray-800);
}

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 50%, #fdf8e8 100%);
  z-index: -1;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: var(--gold-light);
  color: var(--gold-dark);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.stars {
  color: var(--gold);
  letter-spacing: 2px;
}

.hero-social-proof .divider {
  color: var(--gray-300);
}

.hero-visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
}

.magnet-showcase {
  position: relative;
  width: 400px;
  height: 400px;
}

.magnet {
  position: absolute;
  width: 100px;
  height: 100px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  animation: float 6s ease-in-out infinite;
}

.magnet.m1 { top: 0; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.magnet.m2 { top: 25%; right: 0; animation-delay: 1s; }
.magnet.m3 { top: 50%; left: 0; animation-delay: 2s; }
.magnet.m4 { bottom: 25%; right: 10%; animation-delay: 3s; }
.magnet.m5 { bottom: 0; left: 30%; animation-delay: 4s; }
.magnet.m6 { top: 40%; left: 40%; animation-delay: 5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* ══════════════════════════════════════════════════════════════
   TRUST BAR
   ══════════════════════════════════════════════════════════════ */
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 20px 24px;
  background: var(--gray-900);
  flex-wrap: wrap;
}

.trust-item {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
  opacity: 0.9;
}

/* ══════════════════════════════════════════════════════════════
   URGENCY BANNER
   ══════════════════════════════════════════════════════════════ */
.urgency-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  color: var(--white);
  font-size: 0.95rem;
  text-align: center;
  flex-wrap: wrap;
}

.urgency-banner button {
  margin-left: 16px;
  color: var(--white);
  opacity: 0.7;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.urgency-banner button:hover {
  opacity: 1;
}

/* ══════════════════════════════════════════════════════════════
   SECTIONS (GENERAL)
   ══════════════════════════════════════════════════════════════ */
.section {
  padding: var(--section-padding) 24px;
}

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-top: 16px;
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════
   PRODUCT CONFIGURATOR
   ══════════════════════════════════════════════════════════════ */
.product-configurator {
  max-width: 900px;
  margin: 0 auto;
}

.config-step {
  margin-bottom: 48px;
}

.config-step h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.save-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  background: #dcfce7;
  color: #166534;
  border-radius: 50px;
}

/* Size Grid */
.size-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.size-card {
  position: relative;
  padding: 24px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition-normal);
  text-align: center;
}

.size-card:hover {
  border-color: var(--gold-light);
}

.size-card.selected {
  border-color: var(--gold);
  background: #fffbeb;
}

.size-card.popular {
  border-color: var(--gold);
}

.popular-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 50px;
  white-space: nowrap;
}

.size-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.size-name {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.size-desc {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 12px;
}

.size-price {
  font-weight: 600;
  color: var(--gold-dark);
}

/* Bundle Grid */
.bundle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

/* Upload Zone */
.upload-zone {
  padding: 48px 24px;
  border: 2px dashed var(--gray-300);
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-normal);
}

.upload-zone:hover {
  border-color: var(--gold);
  background: #fffbeb;
}

.upload-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.upload-hint {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-top: 8px;
}

.upload-previews {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* Order Summary */
.order-summary {
  margin-top: 40px;
  padding: 32px;
  background: var(--gray-100);
  border-radius: 16px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
}

.summary-line.total-line {
  border-bottom: none;
  font-size: 1.25rem;
  font-weight: 700;
  padding-top: 16px;
}

.promo-row {
  display: flex;
  gap: 12px;
  margin: 20px 0;
}

.promo-row input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-size: 0.95rem;
}

.promo-row button {
  padding: 12px 24px;
  background: var(--gray-800);
  color: var(--white);
  font-weight: 600;
  border-radius: 8px;
  transition: var(--transition-fast);
}

.promo-row button:hover {
  background: var(--gray-900);
}

.checkout-trust {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-top: 12px;
}

/* ══════════════════════════════════════════════════════════════
   BUNDLES SPOTLIGHT
   ══════════════════════════════════════════════════════════════ */
.bundles-spotlight {
  background: var(--off-white);
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.spotlight-card {
  position: relative;
  padding: 40px 32px;
  background: var(--white);
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.spotlight-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.spotlight-card.featured {
  border: 2px solid var(--gold);
  transform: scale(1.05);
}

.spotlight-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50px;
}

.spotlight-emoji {
  font-size: 3rem;
  margin-bottom: 16px;
}

.spotlight-card h3 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.spotlight-qty {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
}

.spotlight-size {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 16px;
}

.spotlight-price {
  margin-bottom: 8px;
}

.spotlight-price .was {
  text-decoration: line-through;
  color: var(--gray-600);
  margin-right: 8px;
}

.spotlight-price .now {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold-dark);
}

.spotlight-save {
  font-size: 0.85rem;
  font-weight: 600;
  color: #166534;
  margin-bottom: 20px;
}

/* ══════════════════════════════════════════════════════════════
   HOW IT WORKS
   ══════════════════════════════════════════════════════════════ */
.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 220px;
  max-width: 300px;
  text-align: center;
}

.step-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
}

.step-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.step h3 {
  font-family: var(--font-body);
  margin-bottom: 12px;
}

.step p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.step-arrow {
  font-size: 2rem;
  color: var(--gray-300);
  padding-top: 60px;
}

/* ══════════════════════════════════════════════════════════════
   EVENTS
   ══════════════════════════════════════════════════════════════ */
.events-section {
  background: var(--gray-900);
  color: var(--white);
}

.events-section .section-label {
  color: var(--gold-light);
}

.events-section h2 {
  color: var(--white);
}

.events-section .section-sub {
  color: var(--gray-300);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.event-card {
  padding: 32px;
  background: var(--gray-800);
  border-radius: 16px;
  text-align: center;
  transition: var(--transition-normal);
}

.event-card:hover {
  background: #333;
  transform: translateY(-3px);
}

.event-emoji {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.event-card h3 {
  color: var(--white);
  font-family: var(--font-body);
  margin-bottom: 12px;
}

.event-card p {
  font-size: 0.9rem;
  color: var(--gray-300);
  line-height: 1.6;
  margin-bottom: 16px;
}

.event-price {
  font-size: 1.1rem;
  color: var(--gold-light);
}

.events-cta {
  text-align: center;
}

.events-note {
  font-size: 0.9rem;
  color: var(--gray-300);
  margin-top: 16px;
}

/* ══════════════════════════════════════════════════════════════
   REVIEWS
   ══════════════════════════════════════════════════════════════ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.review-card {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
}

.review-stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.review-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-800);
  margin-bottom: 16px;
}

.reviewer {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-600);
}

/* ══════════════════════════════════════════════════════════════
   FINAL CTA
   ══════════════════════════════════════════════════════════════ */
.final-cta {
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--off-white), #fdf8e8);
  text-align: center;
}

.final-cta h2 {
  margin-bottom: 16px;
}

.final-cta p {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-bottom: 32px;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.footer {
  padding: 48px 24px;
  background: var(--gray-900);
  color: var(--white);
}

.footer-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  margin-bottom: 24px;
}

.footer-brand .logo {
  color: var(--white);
  font-size: 1.3rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--gray-300);
  margin-top: 8px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--gray-300);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--gray-600);
}

/* ══════════════════════════════════════════════════════════════
   MODALS
   ══════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 1.5rem;
  color: var(--gray-600);
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--gray-900);
}

/* Toast */
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 14px 28px;
  background: var(--gray-900);
  color: var(--white);
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 3000;
}

#toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* User greeting in nav */
.user-greeting {
  font-size: 0.9rem;
  color: var(--gray-600);
  padding-right: 8px;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-visual {
    display: none;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-social-proof {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }
  
  .nav-links,
  .nav-actions {
    display: none;
  }
  
  .nav-mobile-menu {
    display: block;
  }
  
  .hero {
    min-height: auto;
    padding: 100px 24px 60px;
  }
  
  .trust-bar {
    gap: 20px;
  }
  
  .trust-item {
    font-size: 0.75rem;
  }
  
  .step-arrow {
    display: none;
  }
  
  .steps-grid {
    flex-direction: column;
    align-items: center;
  }
  
  .spotlight-card.featured {
    transform: none;
  }
  
  .spotlight-card.featured:hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }
  
  .btn-hero,
  .btn-hero-ghost {
    width: 100%;
  }
  
  .size-grid {
    grid-template-columns: 1fr;
  }
}
