/* =============================================
   SENTÉE – Premium Dark Luxury Design System
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* ── Custom Properties ── */
:root {
  --bg-primary: #080808;
  --bg-secondary: #111111;
  --bg-card: #181818;
  --bg-card-hover: #202020;
  --bg-glass: rgba(24, 24, 24, 0.85);

  --gold: #c8a96e;
  --gold-light: #e8c98a;
  --gold-dark: #a07840;
  --gold-glow: rgba(200, 169, 110, 0.15);
  --gold-border: rgba(200, 169, 110, 0.3);

  --cream: #f0ebe0;
  --text-primary: #f0ebe0;
  --text-secondary: #c0b5a0;
  --text-muted: #7a6a5a;
  --text-subtle: #4a3a2a;

  --border: rgba(200, 169, 110, 0.18);
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-white: rgba(255, 255, 255, 0.08);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-gold: 0 0 40px rgba(200, 169, 110, 0.12);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.7);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input { font-family: inherit; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.15; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 500; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 500; }
p { font-size: 1rem; line-height: 1.7; }

.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.font-serif { font-family: 'Playfair Display', serif; }
.italic { font-style: italic; }

/* ── Sections ── */
.section { display: none; }
.section.active { display: block; }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-white);
  transition: var(--transition);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: var(--transition);
}
.nav-logo:hover { color: var(--gold-light); }
.nav-logo span { font-style: italic; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
}
.nav-link:hover { color: var(--text-primary); background: var(--border-white); }
.nav-link.active { color: var(--gold); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-toggle {
  padding: 0.4rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-border);
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
}
.lang-toggle:hover {
  background: var(--gold);
  color: var(--bg-primary);
}

/* ── Hero Section ── */
#landing {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  z-index: 2;
}

/* Animated gradient background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(200, 169, 110, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(200, 169, 110, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse 40% 60% at 10% 60%, rgba(90, 40, 20, 0.08) 0%, transparent 50%);
  animation: bgPulse 8s ease-in-out infinite alternate;
}

@keyframes bgPulse {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

/* Floating particles */
.particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: float var(--duration, 8s) var(--delay, 0s) ease-in-out infinite;
}
@keyframes float {
  0% { opacity: 0; transform: translateY(0) scale(0); }
  20% { opacity: 0.6; transform: translateY(-20px) scale(1); }
  80% { opacity: 0.3; transform: translateY(-80px) scale(0.7); }
  100% { opacity: 0; transform: translateY(-120px) scale(0); }
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero-title {
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}
.hero-title .line1 { display: block; }
.hero-title .line2 {
  display: block;
  font-style: italic;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  max-width: 560px;
  margin: 0 auto 2.5rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}

.hero-cta {
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
}

/* Decorative line */
.hero-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 2rem auto;
  opacity: 0;
  animation: fadeIn 1s 1.1s forwards;
}

/* Features chips */
.hero-features {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s 1.2s forwards;
}
.hero-feature-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
}
.hero-feature-chip .chip-icon { color: var(--gold); font-size: 0.9rem; }

/* Features Section */
.features-section {
  padding: 6rem 2rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  padding: 2.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  display: block;
}
.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-title { margin-bottom: 1rem; }
.section-desc { color: var(--text-secondary); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  color: var(--bg-primary);
  box-shadow: 0 4px 20px rgba(200, 169, 110, 0.3);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: rgba(255, 255, 255, 0.25);
  transform: skewX(-20deg);
  transition: 0.8s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200, 169, 110, 0.45);
}
.btn-primary:hover::before { left: 120%; }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-border);
}
.btn-secondary:hover {
  background: var(--gold-glow);
  border-color: var(--gold);
}

.btn-ghost {
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}
.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border);
}

.btn-large { padding: 1.1rem 2.8rem; font-size: 1rem; }
.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.82rem; }

/* ── Quiz Section ── */
#quiz-section {
  min-height: 100vh;
  padding: 7rem 2rem 4rem;
  display: none;
}
#quiz-section.active { display: block; }

.quiz-container {
  max-width: 720px;
  margin: 0 auto;
}

.quiz-header {
  text-align: center;
  margin-bottom: 3rem;
}
.quiz-header h2 { margin-bottom: 0.75rem; }
.quiz-header p { color: var(--text-secondary); }

/* Progress Bar */
.quiz-progress-bar {
  margin: 2rem 0;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.progress-track {
  height: 3px;
  background: var(--border-subtle);
  border-radius: 2px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  border-radius: 2px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Question Card */
.question-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-card);
  animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.question-card.slide-out { animation: slideOutLeft 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.question-card.slide-in { animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.question-card.slide-in-back { animation: slideInLeft 0.4s cubic-bezier(0.4, 0, 0.2, 1); }

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideOutLeft {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-40px); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

.question-number {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.question-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 500;
  margin-bottom: 2rem;
  line-height: 1.4;
  color: var(--text-primary);
}

.options-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.option-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-align: left;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
}
.option-btn:hover {
  border-color: var(--gold-border);
  color: var(--text-primary);
  background: var(--bg-card-hover);
}
.option-btn.selected {
  border-color: var(--gold);
  background: var(--gold-glow);
  color: var(--text-primary);
}
.option-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  transition: var(--transition);
}
.option-btn.selected .option-letter {
  background: var(--gold);
  color: var(--bg-primary);
  border-color: var(--gold);
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
}

/* ── Results Section ── */
#results-section {
  min-height: 100vh;
  padding: 7rem 2rem 4rem;
  display: none;
}
#results-section.active { display: block; }

.results-container {
  max-width: 1000px;
  margin: 0 auto;
}

/* Personality Type Reveal */
.type-reveal {
  text-align: center;
  padding: 4rem 2rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}
.type-reveal::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.type-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.type-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 700;
  font-style: italic;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  animation: typeReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes typeReveal {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

.type-desc {
  max-width: 580px;
  margin: 0 auto 2rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Recommendations */
.recommendations-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding: 0 0.5rem;
}
.recommendations-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
}

.fragrance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.fragrance-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.fragrance-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.fragrance-card.locked {
  opacity: 0.65;
  filter: blur(0);
}
.fragrance-card.locked:hover { transform: none; }

.card-color-bar {
  height: 5px;
}
.card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-free { background: rgba(200, 169, 110, 0.15); color: var(--gold); border: 1px solid var(--gold-border); }
.badge-locked { background: rgba(90, 90, 90, 0.2); color: var(--text-muted); border: 1px solid var(--border-subtle); }

.card-body {
  padding: 1.5rem;
}
.card-house {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.card-tag {
  padding: 0.2rem 0.6rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.card-notes {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.card-notes span { color: var(--text-secondary); }
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}
.card-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--gold);
}

.lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 8, 0.4);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: var(--transition);
}
.fragrance-card.locked:hover .lock-overlay { opacity: 1; }
.lock-icon {
  font-size: 2rem;
  color: var(--gold);
}

/* Report CTA Banner */
.report-cta-banner {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
}
.report-cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.report-cta-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}
.report-cta-desc {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* ── Collection Section ── */
#collection-section {
  min-height: 100vh;
  padding: 7rem 2rem 4rem;
  display: none;
}
#collection-section.active { display: block; }

.collection-container {
  max-width: 1000px;
  margin: 0 auto;
}

.search-box {
  position: relative;
  margin-bottom: 2rem;
}
.search-input {
  width: 100%;
  padding: 1rem 1.5rem 1rem 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}
.search-input:focus {
  border-color: var(--gold-border);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.search-input::placeholder { color: var(--text-muted); }
.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
}

.search-results-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  max-height: 300px;
  overflow-y: auto;
  z-index: 50;
  display: none;
}
.search-results-dropdown.open { display: block; }

.search-result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 1px solid var(--border-subtle);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--bg-card-hover); }

.result-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.result-info { flex: 1; }
.result-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}
.result-house {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.result-price {
  font-size: 0.82rem;
  color: var(--gold);
}

/* Collection Grid */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

.collection-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  position: relative;
  transition: var(--transition);
  animation: fadeUp 0.3s ease;
}
.collection-item:hover { border-color: var(--gold-border); }

.item-color-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-bottom: 0.75rem;
}
.item-name {
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
  line-height: 1.3;
}
.item-house {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.item-remove {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--text-muted);
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  cursor: pointer;
}
.collection-item:hover .item-remove { opacity: 1; }
.item-remove:hover { background: rgba(200, 50, 50, 0.2); color: #ff6060; }

.collection-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}
.collection-empty-state .empty-icon { font-size: 3rem; margin-bottom: 1rem; opacity: 0.5; }
.collection-empty-state h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--text-secondary); }

/* Analysis Panel */
.analysis-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  margin-top: 2rem;
}
.analysis-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.analysis-sub { color: var(--text-muted); margin-bottom: 2rem; font-size: 0.9rem; }

.gaps-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.gap-tag {
  padding: 0.4rem 0.9rem;
  background: rgba(200, 169, 110, 0.08);
  border: 1px solid var(--gold-border);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--gold);
}

/* ── Report Section ── */
#report-section {
  min-height: 100vh;
  padding: 7rem 2rem 4rem;
  display: none;
}
#report-section.active { display: block; }

.report-container {
  max-width: 1000px;
  margin: 0 auto;
}

.report-hero {
  text-align: center;
  padding: 3rem 0 4rem;
  position: relative;
}
.report-price-badge {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--gold);
  margin: 1rem 0;
  line-height: 1;
}
.report-price-sub { font-size: 1rem; color: var(--text-muted); }

.pages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.page-card {
  display: flex;
  gap: 1.2rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.page-card:hover { border-color: var(--gold-border); }
.page-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-glow);
  border: 1px solid var(--gold-border);
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--gold);
  font-weight: 700;
}
.page-content h4 { font-size: 0.95rem; margin-bottom: 0.3rem; }
.page-content p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

/* Buy Box */
.buy-box {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.buy-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.buy-box-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.buy-box-sub { color: var(--text-secondary); margin-bottom: 2rem; }

.buy-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.buy-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.buy-meta-item svg { color: var(--gold); }

/* ── Footer ── */
footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--gold);
  font-style: italic;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-link {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}
.footer-link:hover { color: var(--gold); }

.footer-affiliate {
  font-size: 0.78rem;
  color: var(--text-subtle);
  line-height: 1.6;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-subtle);
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  max-width: 500px;
  width: 100%;
  text-align: center;
  position: relative;
  transform: scale(0.9);
  transition: var(--transition);
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.25rem;
  transition: var(--transition);
}
.modal-close:hover { color: var(--text-primary); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav { padding: 1rem 1.25rem; }
  .nav-links { display: none; }

  .hero { padding: 6rem 1.5rem 3rem; }

  .features-grid { grid-template-columns: 1fr; gap: 1rem; }

  .question-card { padding: 2rem 1.5rem; }

  .fragrance-grid { grid-template-columns: 1fr; }

  .collection-grid { grid-template-columns: repeat(2, 1fr); }

  .pages-grid { grid-template-columns: 1fr; }

  .buy-box { padding: 2rem 1.5rem; }

  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; }

  .report-cta-banner { padding: 2rem 1.5rem; }

  .quiz-nav { gap: 0.75rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.2rem; }
  .collection-grid { grid-template-columns: 1fr; }
  .hero-features { display: none; }
}
