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

:root {
  --cream: #FAF7F2;
  --rose: #C9728A;
  --rose-light: #E8A0B0;
  --rose-dark: #8B3A52;
  --rose-pale: #F9EEF1;
  --charcoal: #2C2C2C;
  --text: #3D3D3D;
  --text-muted: #7A7A7A;
  --white: #FFFFFF;
  --card-bg: #FFFDF8;
  --border: rgba(201,114,138,0.25);
  --border-soft: rgba(201,114,138,0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --max-width: 1100px;
  --nav-h: 64px;
  --shadow: 0 2px 12px rgba(44,28,34,0.08);
  --shadow-md: 0 4px 24px rgba(44,28,34,0.12);
  --shadow-rose: 0 4px 16px rgba(201,114,138,0.20);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--text);
  background-color: var(--cream);
  line-height: 1.6;
}

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

a {
  color: var(--rose);
  text-decoration: none;
}

a:hover {
  color: var(--rose-dark);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--charcoal);
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); font-weight: 500; }
h4 { font-size: 1.2rem; font-weight: 500; }

p { margin-bottom: 1rem; }

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =====================
   NAV
   ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--border-soft);
  height: var(--nav-h);
  box-shadow: var(--shadow);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
}

.nav-logo span {
  color: var(--rose);
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--rose);
  border-bottom-color: var(--rose);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.nav-dropdown:hover .nav-dropdown-toggle svg,
.nav-dropdown.open .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: -12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 270px;
  padding: 0.5rem 0;
  z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  color: var(--text);
  border-bottom: none;
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown-menu a:hover {
  background: var(--rose-pale);
  color: var(--rose-dark);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Mobile nav overlay */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cream);
  z-index: 99;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.nav-mobile-menu.open {
  display: block;
}

.nav-mobile-menu ul {
  list-style: none;
}

.nav-mobile-menu > ul > li {
  border-bottom: 1px solid var(--border-soft);
}

.nav-mobile-menu a {
  display: block;
  padding: 1rem 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: none;
}

.nav-mobile-menu a:hover,
.nav-mobile-menu a.active {
  color: var(--rose);
}

.nav-mobile-submenu {
  padding-left: 1rem;
  padding-bottom: 0.5rem;
}

.nav-mobile-submenu a {
  padding: 0.5rem 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Main content */
main {
  min-height: calc(100vh - var(--nav-h) - 300px);
}

/* =====================
   HERO
   ===================== */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
  background: var(--cream);
}

.hero h1 {
  margin-bottom: 1.2rem;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--rose);
  color: var(--white);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  box-shadow: var(--shadow-rose);
}

.btn:hover {
  background: var(--rose-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,114,138,0.30);
}

.btn:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--rose);
  border: 2px solid var(--rose);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--rose-pale);
  color: var(--rose-dark);
  border-color: var(--rose-dark);
}

/* =====================
   SECTIONS
   ===================== */
.section {
  padding: 4rem 0;
}

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

.section-title h2 {
  margin-bottom: 0.75rem;
}

.section-title p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* =====================
   QUIZ CARD GRID
   ===================== */
.quiz-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.quiz-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  display: block;
  color: inherit;
}

.quiz-card:hover {
  border-color: var(--rose);
  box-shadow: var(--shadow-rose);
  transform: translateY(-3px);
  color: inherit;
}

.quiz-card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.quiz-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.quiz-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.quiz-card-meta {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--rose);
  font-weight: 500;
}

/* =====================
   QUIZ PAGE
   ===================== */
.quiz-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.quiz-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.quiz-header h1 {
  margin-bottom: 0.75rem;
}

.quiz-header p {
  color: var(--text-muted);
}

/* Progress bar */
.quiz-progress {
  margin-bottom: 2rem;
}

.quiz-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.quiz-progress-bar {
  height: 6px;
  background: var(--border-soft);
  border-radius: 3px;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background: var(--rose);
  border-radius: 3px;
  transition: width 0.3s ease;
}

/* Question card */
.quiz-question-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.quiz-question-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

/* Option buttons */
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quiz-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.9rem 1.2rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.quiz-option:hover {
  border-color: var(--rose-light);
  background: var(--rose-pale);
  color: var(--rose-dark);
}

.quiz-option.selected {
  border-color: var(--rose);
  background: var(--rose-pale);
  color: var(--rose-dark);
  font-weight: 500;
}

/* Result card */
.quiz-result {
  display: none;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-soft);
  border-left: 4px solid var(--rose);
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
}

.quiz-result.visible {
  display: block;
}

.quiz-result-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rose);
  margin-bottom: 0.5rem;
}

.quiz-result h2 {
  margin-bottom: 1rem;
}

.quiz-result-links {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-soft);
}

.quiz-result-links h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.quiz-result-links a {
  display: inline-block;
  margin-right: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--rose);
  font-weight: 500;
  border-bottom: none;
}

.quiz-result-links a:hover {
  color: var(--rose-dark);
  text-decoration: underline;
}

.quiz-restart {
  margin-top: 1.5rem;
}

/* =====================
   DISCLAIMER
   ===================== */
.disclaimer {
  background: var(--rose-pale);
  border-left: 3px solid var(--rose);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 1.5rem 0;
  line-height: 1.5;
}

/* =====================
   BLOG
   ===================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-tag {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rose);
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.blog-card h3 a {
  color: var(--charcoal);
}

.blog-card h3 a:hover {
  color: var(--rose-dark);
}

.blog-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.blog-card-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* Article */
.article-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.article-header {
  margin-bottom: 2rem;
}

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

.article-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.article-body h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.article-body h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.article-body ul,
.article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.article-body li {
  margin-bottom: 0.4rem;
}

/* =====================
   TRUST PAGES
   ===================== */
.trust-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.trust-page h1 {
  margin-bottom: 1.5rem;
}

.trust-page h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

/* =====================
   AD SLOTS
   ===================== */
.ad-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  min-height: 90px;
  margin: 1.5rem 0;
  overflow: hidden;
}

.ad-slot-leaderboard {
  min-height: 90px;
}

.ad-slot-rectangle {
  min-height: 250px;
}

/* =====================
   FOOTER
   ===================== */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--rose-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--rose-light);
}

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

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

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

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

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

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

  .hero {
    padding: 3rem 0 2.5rem;
  }

  .quiz-question-text {
    font-size: 1.2rem;
  }

  .quiz-page {
    padding: 2rem 1rem;
  }

  .quiz-result {
    padding: 1.75rem 1.25rem;
  }
}

/* =====================
   FAQ
   ===================== */
.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border-soft);
}

.faq-item:first-child {
  border-top: 1px solid var(--border-soft);
}

.faq-item summary {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  padding: 1.1rem 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--rose);
  flex-shrink: 0;
  margin-left: 1rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '-';
}

.faq-answer {
  padding: 0 0 1.25rem;
  color: var(--text);
}

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

/* =====================
   SECTION VARIANTS
   ===================== */
.section-pale {
  background: var(--rose-pale);
}
