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

:root {
  --lavender-50: #f8f6fc;
  --lavender-100: #f0ecf8;
  --lavender-200: #e3ddf2;
  --lavender-300: #cfc5e8;
  --lavender-400: #b5a3d9;
  --lavender-500: #9b82c9;
  --lavender-600: #8568b6;
  --lavender-700: #7255a0;
  --grey-50: #fafafa;
  --grey-100: #f4f4f5;
  --grey-200: #e4e4e7;
  --grey-300: #d4d4d8;
  --grey-400: #a1a1aa;
  --grey-500: #71717a;
  --grey-600: #52525b;
  --grey-700: #3f3f46;
  --grey-800: #27272a;
  --grey-900: #18181b;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(114, 85, 160, 0.06);
  --shadow-md: 0 4px 20px rgba(114, 85, 160, 0.08);
  --shadow-lg: 0 8px 40px rgba(114, 85, 160, 0.1);
  --shadow-xl: 0 16px 60px rgba(114, 85, 160, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 300;
  color: var(--grey-700);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--grey-800);
  line-height: 1.2;
  font-weight: 400;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }

a {
  color: var(--lavender-600);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--lavender-700); }

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── HEADER ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--lavender-100);
  padding: 16px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--grey-800);
  letter-spacing: 0.04em;
}

.logo span { color: var(--lavender-600); }

nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
}

nav a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--grey-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color var(--transition);
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--lavender-500);
  transition: width var(--transition);
}

nav a:hover { color: var(--grey-800); }
nav a:hover::after { width: 100%; }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 200;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--grey-700);
  transition: var(--transition);
  position: absolute;
  left: 0;
}
.mobile-toggle span:nth-child(1) { top: 0; }
.mobile-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.mobile-toggle span:nth-child(3) { bottom: 0; }

.mobile-toggle.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* ─── HERO ─── */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  background: linear-gradient(180deg, var(--lavender-50) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--lavender-100) 0%, transparent 70%);
  pointer-events: none;
}

.hero-product-img {
  max-width: 320px;
  margin: 0 auto 40px;
  filter: drop-shadow(0 20px 40px rgba(114, 85, 160, 0.15));
  animation: floatUp 0.8s ease-out;
}

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

.hero h1 {
  margin-bottom: 16px;
  font-weight: 300;
  animation: fadeIn 0.8s ease-out 0.2s both;
}

.hero h1 em {
  font-style: italic;
  color: var(--lavender-600);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--grey-500);
  max-width: 560px;
  margin: 0 auto;
  animation: fadeIn 0.8s ease-out 0.4s both;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ─── QUIZ SECTION ─── */
.quiz-section {
  padding: 80px 0;
}

.quiz-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--lavender-100);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.quiz-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lavender-300), var(--lavender-500), var(--lavender-300));
}

.quiz-header {
  text-align: center;
  margin-bottom: 36px;
}

.quiz-header h2 {
  margin-bottom: 8px;
}

.quiz-header p {
  color: var(--grey-400);
  font-size: 0.9rem;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: var(--lavender-100);
  border-radius: 4px;
  margin-bottom: 36px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--lavender-400), var(--lavender-600));
  border-radius: 4px;
  transition: width 0.5s ease;
}

.quiz-step {
  display: none;
  animation: slideIn 0.4s ease-out;
}

.quiz-step.active { display: block; }

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

.step-number {
  display: inline-block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  background: var(--lavender-100);
  color: var(--lavender-600);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.quiz-question {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  color: var(--grey-800);
  margin-bottom: 28px;
  line-height: 1.4;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1.5px solid var(--lavender-100);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  background: var(--white);
}

.quiz-option:hover {
  border-color: var(--lavender-300);
  background: var(--lavender-50);
}

.quiz-option.selected {
  border-color: var(--lavender-500);
  background: var(--lavender-50);
}

.quiz-option .radio {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  border: 2px solid var(--lavender-300);
  position: relative;
  transition: var(--transition);
}

.quiz-option.selected .radio {
  border-color: var(--lavender-600);
}

.quiz-option.selected .radio::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lavender-600);
}

.quiz-option span {
  font-size: 0.95rem;
  color: var(--grey-600);
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--lavender-500), var(--lavender-600));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(155, 130, 201, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--lavender-600), var(--lavender-700));
  box-shadow: 0 6px 24px rgba(155, 130, 201, 0.4);
  transform: translateY(-1px);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--grey-600);
  border: 1.5px solid var(--lavender-200);
}

.btn-secondary:hover {
  border-color: var(--lavender-400);
  color: var(--grey-800);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ─── ORDER FORM ─── */
.order-form-section {
  display: none;
  animation: fadeIn 0.6s ease-out;
}

.order-form-section.visible { display: block; }

.form-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--grey-600);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input {
  padding: 14px 18px;
  border: 1.5px solid var(--lavender-100);
  border-radius: var(--radius);
  font-family: 'Libre Franklin', sans-serif;
  font-size: 0.95rem;
  color: var(--grey-700);
  background: var(--grey-50);
  transition: all var(--transition);
  outline: none;
}

.form-group input::placeholder {
  color: var(--grey-400);
}

.form-group input:focus {
  border-color: var(--lavender-400);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(155, 130, 201, 0.1);
}

.disclaimer-box {
  background: var(--lavender-50);
  border: 1px solid var(--lavender-100);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 0.8rem;
  color: var(--grey-500);
  line-height: 1.6;
}

.disclaimer-box svg {
  vertical-align: middle;
  margin-right: 6px;
}

/* ─── PRODUCT SECTION ─── */
.product-section {
  padding: 80px 0;
  background: var(--lavender-50);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.gallery {
  position: relative;
}

.gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  padding: 32px;
  box-shadow: var(--shadow-md);
  margin-bottom: 16px;
}

.gallery-main img {
  width: 100%;
  object-fit: contain;
  max-height: 400px;
  margin: 0 auto;
}

.gallery-thumbs {
  display: flex;
  gap: 12px;
}

.gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  background: var(--white);
  padding: 6px;
  box-shadow: var(--shadow-sm);
}

.gallery-thumb.active,
.gallery-thumb:hover {
  border-color: var(--lavender-400);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-info h2 {
  margin-bottom: 20px;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--lavender-100);
}

.info-card h3 {
  margin-bottom: 14px;
  color: var(--lavender-700);
  font-size: 1.15rem;
}

.info-card p, .info-card li {
  font-size: 0.92rem;
  color: var(--grey-600);
  line-height: 1.7;
}

.info-card ul {
  list-style: none;
  padding: 0;
}

.info-card li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.info-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lavender-400);
}

.price-tag {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--grey-800);
  margin: 24px 0;
}

.price-tag small {
  font-size: 0.9rem;
  color: var(--grey-400);
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 300;
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--grey-900);
  color: var(--grey-400);
  padding: 60px 0 32px;
}

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

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 14px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--grey-500);
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey-300);
  margin-bottom: 16px;
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
}

.footer-col li { margin-bottom: 10px; }

.footer-col a {
  font-size: 0.85rem;
  color: var(--grey-500);
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--lavender-300); }

.footer-bottom {
  border-top: 1px solid var(--grey-800);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--grey-600);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.78rem;
  color: var(--grey-600);
}

.footer-bottom-links a:hover { color: var(--grey-400); }

/* ─── COOKIE MODAL ─── */
.cookie-overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(24, 24, 27, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  padding: 20px;
  animation: slideUp 0.5s ease-out;
}

.cookie-overlay.hidden { display: none; }

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

.cookie-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-xl);
}

.cookie-box h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.cookie-box p {
  font-size: 0.85rem;
  color: var(--grey-500);
  margin-bottom: 20px;
  line-height: 1.6;
}

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

.cookie-actions .btn {
  flex: 1;
  padding: 12px 20px;
  font-size: 0.82rem;
}

/* ─── PAGE HERO (subpages) ─── */
.page-hero {
  padding: 60px 0 40px;
  text-align: center;
  background: linear-gradient(180deg, var(--lavender-50) 0%, var(--white) 100%);
}

.page-hero h1 {
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--grey-500);
  max-width: 500px;
  margin: 0 auto;
}

/* ─── CONTENT PAGES ─── */
.content-page {
  padding: 60px 0 80px;
}

.content-body {
  max-width: 740px;
  margin: 0 auto;
}

.content-body h2 {
  margin-top: 40px;
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.content-body h3 {
  margin-top: 28px;
  margin-bottom: 12px;
}

.content-body p {
  margin-bottom: 16px;
  font-size: 0.94rem;
  color: var(--grey-600);
}

.content-body ul {
  margin-bottom: 16px;
  padding-left: 20px;
}

.content-body li {
  margin-bottom: 8px;
  font-size: 0.94rem;
  color: var(--grey-600);
}

/* ─── CONTACT PAGE ─── */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--lavender-100);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.contact-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: var(--lavender-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--lavender-600);
}

.contact-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 0.88rem;
  color: var(--grey-500);
}

/* ─── SUCCESS PAGE ─── */
.success-container {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
}

.success-content {
  max-width: 520px;
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 28px;
  background: var(--lavender-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scaleIn 0.5s ease-out;
}

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

.success-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--lavender-600);
  stroke-width: 2;
}

.success-content h1 {
  margin-bottom: 16px;
  font-weight: 400;
}

.success-content p {
  color: var(--grey-500);
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.success-content .btn {
  margin-top: 28px;
}

/* ─── ABOUT PAGE ─── */
.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.value-card {
  background: var(--lavender-50);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--lavender-100);
}

.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--lavender-700);
}

.value-card p {
  font-size: 0.88rem;
  color: var(--grey-600);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .mobile-toggle { display: block; }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    z-index: 150;
    padding: 80px 32px 32px;
    transition: right var(--transition);
  }

  nav.open { right: 0; }

  nav ul {
    flex-direction: column;
    gap: 20px;
  }

  nav a {
    font-size: 1rem;
  }

  .hero { padding: 48px 0 40px; }
  .hero-product-img { max-width: 220px; }
  .quiz-card { padding: 32px 24px; }
  .quiz-question { font-size: 1.15rem; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .cookie-actions {
    flex-direction: column;
  }
  .gallery-thumbs {
    gap: 8px;
  }
  .gallery-thumb {
    width: 56px;
    height: 56px;
  }
}
