:root {
  --bg: #0a0a0f;
  --bg-secondary: #0f0f16;
  --bg-card: #1e1b2e;
  --primary: #c084fc;
  --secondary: #a855f7;
  --alpha: #f87171;
  --beta: #60a5fa;
  --omega: #a78bfa;
  --soft-alpha: #fb923c;
  --dark-omega: #9333ea;
  --enigma: #8b5cf6;
  --dominant-beta: #3b82f6;
  --submissive-alpha: #ec4899;
  --pure-omega: #d946ef;
  --text: #f3f4f6;
  --text-muted: #9ca3af;
  --border: rgba(255, 255, 255, 0.1);
  --glass: rgba(30, 27, 46, 0.8);
  --card-glass: rgba(30, 27, 46, 0.6);
  --shadow: rgba(192, 132, 252, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--secondary);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  min-height: 48px;
  min-width: 48px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--bg);
  box-shadow: 0 4px 20px var(--shadow);
  border-radius: 9999px;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  filter: blur(20px);
  transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
  opacity: 0.6;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 40px var(--shadow), 0 0 60px rgba(192, 132, 252, 0.3);
  color: var(--bg);
}

.btn-primary:disabled,
.btn-primary.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-primary.enabled {
  opacity: 1;
}

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

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.card {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: rgba(192, 132, 252, 0.3);
  transform: translateY(-2px);
}

.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 1.5rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(192, 132, 252, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
  animation: pulse 10s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(5deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero h1 {
  background: linear-gradient(135deg, var(--text), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-muted);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(192, 132, 252, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(192, 132, 252, 0.4);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.hero-stat:hover {
  border-color: var(--primary);
  color: var(--text);
  background: rgba(192, 132, 252, 0.08);
  transform: translateY(-2px);
}

.hero-stat svg {
  opacity: 0.6;
}

.stat-dot {
  color: var(--text-muted);
  opacity: 0.4;
  font-size: 0.75rem;
}

.hero-trust {
  font-size: 0.875rem;
  color: var(--text);
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.hero-trust strong {
  font-weight: 700;
}

/* CTA pulse ring animation */
.cta-wrapper {
  position: relative;
  display: inline-block;
}

.pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: 0.5;
  animation: pulseRing 1.5s ease-in-out infinite;
}

@keyframes pulseRing {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* Pulse glow animation for hero CTA */
.pulse-glow {
  animation: pulseGlow 2s ease-in-out infinite;
}

.pulse-glow:hover {
  animation: none;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 40px var(--shadow), 0 0 60px rgba(192, 132, 252, 0.3);
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 4px 20px var(--shadow), 0 0 30px rgba(192, 132, 252, 0.1);
  }
  50% {
    box-shadow: 0 6px 30px var(--shadow), 0 0 50px rgba(192, 132, 252, 0.25);
  }
}

.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.3;
  animation: float 15s infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.3; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

#quiz-section {
  padding: 2rem 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.quiz-container {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.progress-bar {
  background: var(--bg-card);
  border-radius: 1rem;
  height: 8px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 1rem;
  transition: width 0.4s ease;
  position: relative;
  overflow: hidden;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.question-counter {
  text-align: center;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.question-card {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.question-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.options-grid {
  display: grid;
  gap: 0.875rem;
}

.option {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 48px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.option::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(192, 132, 252, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.option:hover {
  border-color: var(--primary);
  background: rgba(192, 132, 252, 0.1);
  transform: scale(1.01);
  box-shadow: 0 4px 20px rgba(192, 132, 252, 0.08);
}

.option:hover::before {
  opacity: 1;
}

.option.selected {
  border-color: var(--primary);
  background: rgba(192, 132, 252, 0.15);
  box-shadow: 0 0 20px var(--shadow), 0 0 40px rgba(192, 132, 252, 0.1);
  transform: scale(1.01);
}

.option input {
  display: none;
}

.option-text {
  color: var(--text);
  font-size: 1rem;
}

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

.quiz-nav .btn {
  flex: 1;
  min-width: 150px;
}

#result-section {
  padding: 4rem 0;
  min-height: 100vh;
}

.result-container {
  max-width: 800px;
  margin: 0 auto;
}

.result-card {
  text-align: center;
  padding: 3rem 2rem;
}

.result-emoji {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.result-name {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
  animation: colorPulse 3s ease-in-out infinite;
}

@keyframes colorPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

.result-subtype {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.result-description {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: var(--text);
}

.result-scent {
  background: var(--bg-card);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.scent-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.scent-value {
  font-size: 1.125rem;
  color: var(--text);
  font-weight: 600;
}

.result-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.trait {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--text);
  transition: all 0.3s ease;
}

.trait:hover {
  transform: scale(1.05);
  border-color: var(--primary);
  background: rgba(192, 132, 252, 0.1);
}

.compatible-section {
  background: var(--bg-card);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.compatible-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.compatible-types {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.compatible-type {
  background: rgba(192, 132, 252, 0.2);
  border-radius: 2rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--primary);
}

/* Email capture */
.email-capture {
  margin: 2rem 0;
  padding: 2rem;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 1rem;
  text-align: center;
}

.email-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.email-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.email-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 400px;
  margin: 0 auto;
}

.email-input {
  padding: 0.85rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
}

.email-input:focus {
  outline: none;
  border-color: var(--primary);
}

.email-input::placeholder {
  color: var(--text-muted);
}

.email-submit {
  padding: 0.85rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--bg);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.email-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--shadow);
}

.email-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: left;
}

.email-consent input[type="checkbox"] {
  margin-top: 0.15rem;
  accent-color: var(--primary);
}

.email-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

.email-success {
  font-size: 0.95rem;
  color: #4ade80;
  font-weight: 500;
}

.share-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.share-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  color: white;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  transition: all 0.3s ease;
}

.share-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  color: white;
}

.share-btn.twitter {
  background: #1da1f2;
}

.share-btn.facebook {
  background: #1877f2;
}

.share-btn.whatsapp {
  background: #25d366;
}

.share-btn.copy {
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.share-btn.copy:hover {
  border-color: var(--primary);
}

.result-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

#results-library {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

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

.result-preview {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.result-preview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(192, 132, 252, 0.03), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.result-preview:hover {
  border-color: var(--primary);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 30px rgba(192, 132, 252, 0.1);
}

.result-preview:hover::before {
  opacity: 1;
}

.result-preview:hover .result-preview-emoji {
  animation: iconPulse 0.6s ease-in-out;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.result-preview-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.result-preview-emoji {
  font-size: 2.5rem;
}

.result-preview-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.result-preview-subtype {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.result-preview-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

#faq-section {
  padding: 4rem 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.faq-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(192, 132, 252, 0.3);
  background: rgba(30, 27, 46, 0.9);
}

.faq-item:hover::before {
  opacity: 1;
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 48px;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  color: var(--primary);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
}

.faq-answer p {
  margin-bottom: 0;
}

footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.7;
}

.page-header {
  padding: 4rem 0 2rem;
  text-align: center;
}

.page-header h1 {
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.125rem;
}

.breadcrumb {
  padding: 1rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb span {
  margin: 0 0.5rem;
}

.profile-section {
  padding: 2rem 0 4rem;
}

.profile-card {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.profile-emoji {
  font-size: 5rem;
  margin-bottom: 1rem;
}

.profile-name {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.profile-subtype {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 2rem;
  font-weight: 600;
}

.profile-description {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--text);
}

.profile-section-card {
  background: var(--bg-card);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.profile-section-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.profile-traits-list {
  list-style: none;
  text-align: left;
}

.profile-traits-list li {
  padding: 0.5rem 0;
  color: var(--text);
  position: relative;
  padding-left: 1.5rem;
}

.profile-traits-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--primary);
}

.scent-section {
  text-align: center;
}

.scent-section .scent-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.scent-section .scent-value {
  font-size: 1.25rem;
  color: var(--text);
  font-weight: 600;
}

.compatible-section .compatible-types {
  justify-content: center;
}

.profile-cta {
  text-align: center;
  margin-top: 3rem;
}

.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.error-code {
  font-size: 6rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.hidden {
  display: none !important;
}

/* Fade-in scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.result-preview.fade-in {
  transition-delay: 0s;
}

.result-preview.fade-in:nth-child(2) { transition-delay: 0.05s; }
.result-preview.fade-in:nth-child(3) { transition-delay: 0.1s; }
.result-preview.fade-in:nth-child(4) { transition-delay: 0.15s; }
.result-preview.fade-in:nth-child(5) { transition-delay: 0.2s; }
.result-preview.fade-in:nth-child(6) { transition-delay: 0.25s; }
.result-preview.fade-in:nth-child(7) { transition-delay: 0.3s; }
.result-preview.fade-in:nth-child(8) { transition-delay: 0.35s; }
.result-preview.fade-in:nth-child(9) { transition-delay: 0.4s; }

.faq-item.fade-in {
  transition-delay: 0s;
}

.faq-item.fade-in:nth-child(2) { transition-delay: 0.05s; }
.faq-item.fade-in:nth-child(3) { transition-delay: 0.1s; }
.faq-item.fade-in:nth-child(4) { transition-delay: 0.15s; }
.faq-item.fade-in:nth-child(5) { transition-delay: 0.2s; }
.faq-item.fade-in:nth-child(6) { transition-delay: 0.25s; }
.faq-item.fade-in:nth-child(7) { transition-delay: 0.3s; }

/* Question transition */
.question-card {
  animation: questionIn 0.3s ease-out;
}

@keyframes questionIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Result reveal animation */
.result-card {
  animation: resultReveal 0.5s ease-out;
}

@keyframes resultReveal {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Scent floating animation */
.scent-value {
  animation: scentFloat 3s ease-in-out infinite;
}

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

/* Compatible type pulse on hover */
.compatible-type {
  transition: all 0.3s ease;
}

.compatible-type:hover {
  transform: scale(1.05);
  background: rgba(192, 132, 252, 0.35);
}

/* Footer fade-in */
footer.fade-in {
  transition-delay: 0.1s;
}

/* How It Works section */
.how-section {
  padding: 6rem 0;
  background: var(--bg-secondary, #0f0f16);
}

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

.how-card {
  background: var(--card-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.how-card:hover {
  border-color: rgba(192, 132, 252, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(192, 132, 252, 0.08);
}

.how-icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.how-step {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  opacity: 0.5;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.how-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.how-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .how-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Top navigation bar */
.top-nav {
  position: fixed;
  top: 1rem;
  right: 1.5rem;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
}

.top-nav > * {
  pointer-events: auto;
}

/* Early Access CTA link with motion effects */
.early-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  border-radius: 0.5rem;
  text-decoration: none;
  min-height: 36px;
  transition: all 0.3s ease;
  animation: earlyShake 3s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(192, 132, 252, 0.3);
  letter-spacing: 0.02em;
}

.early-link::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  z-index: -1;
  opacity: 0;
  filter: blur(16px);
  transition: opacity 0.3s ease;
}

.early-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(192, 132, 252, 0.4);
  animation: none;
  color: #fff;
}

.early-link:hover::after {
  opacity: 0.6;
}

@keyframes earlyShake {
  0%, 100% {
    transform: translateX(0);
  }
  1% {
    transform: translateX(-2px) rotate(-0.5deg);
  }
  2% {
    transform: translateX(2px) rotate(0.5deg);
  }
  3% {
    transform: translateX(-1px) rotate(-0.3deg);
  }
  4% {
    transform: translateX(1px) rotate(0.3deg);
  }
  5%, 100% {
    transform: translateX(0);
  }
}

/* Language dropdown */
.lang-dropdown {
  position: relative;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(30, 27, 46, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  min-height: 32px;
}

.lang-toggle:hover {
  border-color: rgba(192, 132, 252, 0.4);
}

.lang-toggle svg {
  flex-shrink: 0;
}

.lang-current {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lang-chevron {
  transition: transform 0.2s ease;
}

.lang-dropdown.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  min-width: 140px;
  background: rgba(30, 27, 46, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.25rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  animation: menuFadeIn 0.15s ease-out;
}

@keyframes menuFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lang-option {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-radius: 0.35rem;
  transition: all 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}

.lang-option:hover {
  color: var(--text);
  background: rgba(192, 132, 252, 0.1);
}

.lang-option.active {
  color: var(--primary);
  font-weight: 600;
}

/* Early Access section */
.early-section {
  padding: 6rem 0;
  background: var(--bg-secondary, #0f0f16);
}

.early-box {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.early-box h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}

.early-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Static pages (About, Contact, Privacy, Terms, Disclaimer) */
.static-page {
  padding: 6rem 0 4rem;
  min-height: 80vh;
}

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

.static-container h1 {
  margin-bottom: 0.5rem;
}

.static-container h2 {
  font-size: 1.35rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.static-container p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.last-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-email {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
}

/* Footer links */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

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

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .quiz-nav {
    flex-direction: column;
  }
  
  .quiz-nav .btn {
    width: 100%;
  }
  
  .share-buttons {
    flex-direction: column;
  }
  
  .share-btn {
    width: 100%;
    justify-content: center;
  }
  
  .result-actions {
    flex-direction: column;
  }
  
  .result-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  .question-text {
    font-size: 1.125rem;
  }
  
  .option {
    padding: 1rem;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: white;
  padding: 8px;
  z-index: 100;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.slide-up {
  animation: slideUp 0.6s ease forwards;
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.scale-in {
  animation: scaleIn 0.4s ease forwards;
}