/* ══════════════════════════════════════════
   Elevate Within — Global Styles
   Palette: deep purples, warm golds, soft creams
   ══════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple-deep:   #0f0720;
  --purple-dark:   #1a0a2e;
  --purple-mid:    #2d1b69;
  --purple-light:  #4c1d95;
  --purple-bright: #7c3aed;
  --gold-bright:   #D4AF37;
  --gold-dark:     #B8860B;
  --gold-pale:     #F5E6A3;
  --cream:         #FFF8F0;
  --cream-dark:    #FAEBD7;
  --white-80:      rgba(255,255,255,0.8);
  --white-60:      rgba(255,255,255,0.6);
  --white-30:      rgba(255,255,255,0.3);
  --white-10:      rgba(255,255,255,0.1);
  --gold-10:       rgba(212,175,55,0.1);
  --gold-20:       rgba(212,175,55,0.2);
  --gold-30:       rgba(212,175,55,0.3);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--purple-dark);
  color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
}

a { color: var(--gold-bright); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-pale); }

/* ── Navigation ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15, 7, 32, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gold-20);
  padding: 0 32px;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-bright);
  text-decoration: none;
}

.nav-brand .brand-icon { font-size: 1.5rem; }

.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--white-80);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold-bright); }

.nav-cta {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-dark));
  color: var(--purple-dark) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600 !important;
}
.nav-cta:hover { opacity: 0.9; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-dark));
  color: var(--purple-dark);
  box-shadow: 0 4px 20px rgba(212,175,55,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212,175,55,0.5);
  color: var(--purple-dark);
}

.btn-outline {
  background: transparent;
  color: var(--gold-bright);
  border: 2px solid var(--gold-bright);
}
.btn-outline:hover {
  background: var(--gold-10);
  transform: translateY(-2px);
  color: var(--gold-bright);
}

.btn-lg { padding: 18px 48px; font-size: 1.05rem; }

/* ── Cards ── */
.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--gold-20);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-bright);
  box-shadow: 0 20px 60px rgba(212,175,55,0.15);
}

/* ── Section containers ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 100px 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--cream);
  margin-bottom: 16px;
}
.section-title span { color: var(--gold-bright); }

.section-subtitle {
  font-size: 1.1rem;
  color: var(--white-60);
  max-width: 600px;
  line-height: 1.7;
}

/* ── Gold divider ── */
.divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold-bright), var(--gold-dark));
  border-radius: 2px;
  margin: 20px auto;
}

/* ── Badge ── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold-10);
  border: 1px solid var(--gold-30);
  color: var(--gold-bright);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Footer ── */
.footer {
  background: var(--purple-deep);
  border-top: 1px solid var(--gold-20);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--gold-bright);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}

.footer-tagline { color: var(--white-60); font-size: 0.9rem; margin-bottom: 24px; line-height: 1.6; }

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gold-20);
  display: flex; align-items: center; justify-content: center;
  color: var(--white-60);
  font-size: 1rem;
  transition: all 0.2s;
  text-decoration: none;
}
.footer-social a:hover { border-color: var(--gold-bright); color: var(--gold-bright); background: var(--gold-10); }

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 20px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--white-60); font-size: 0.9rem; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-bright); }

.footer-bottom {
  border-top: 1px solid var(--white-10);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { color: var(--white-30); font-size: 0.85rem; }

/* ── Product card ── */
.product-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--gold-20);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s;
  display: flex; flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-bright);
  box-shadow: 0 20px 60px rgba(212,175,55,0.15);
}

.product-thumb {
  aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--purple-mid), var(--purple-light));
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}
.product-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.3));
}

.product-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.product-category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 8px;
}
.product-name { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--cream); margin-bottom: 8px; line-height: 1.3; }
.product-tagline { font-size: 0.9rem; color: var(--white-60); margin-bottom: 16px; flex: 1; line-height: 1.5; }

.product-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.product-price { font-size: 1.4rem; font-weight: 700; color: var(--gold-bright); }
.product-price span { font-size: 0.75rem; font-weight: 400; color: var(--white-30); margin-left: 2px; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .container { padding: 0 20px; }
  .section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Glow effects ── */
.glow-gold { text-shadow: 0 0 30px rgba(212,175,55,0.5); }
.glow-purple { box-shadow: 0 0 60px rgba(124,58,237,0.3); }

/* ── Stars/sparkle decorations ── */
.sparkle { display: inline-block; }

/* ── Loading spinner ── */
.spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--gold-20);
  border-top-color: var(--gold-bright);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Toast notification ── */
.toast {
  position: fixed; bottom: 32px; right: 32px;
  background: var(--purple-dark);
  border: 1px solid var(--gold-30);
  color: var(--cream);
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 0.95rem;
  z-index: 9999;
  animation: slideUp 0.3s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
