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

:root {
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-900: #1e3a5f;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 40px -6px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--slate-700);
  background: var(--slate-50);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--slate-900);
  line-height: 1.3;
}

a {
  color: var(--blue-600);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--blue-700);
}

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

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

/* ─── HEADER / NAV ─── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.92);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blue-700);
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--slate-400);
  font-weight: 400;
}

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

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--slate-600);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-500);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--blue-700);
}

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

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── HERO ─── */
.hero {
  padding: 60px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--blue-100) 0%, transparent 70%);
  opacity: 0.5;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--blue-50) 0%, transparent 70%);
  opacity: 0.6;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-image {
  width: 220px;
  height: 220px;
  object-fit: contain;
  margin: 0 auto 28px;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(37,99,235,0.12));
  animation: float 4s ease-in-out infinite;
}

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

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 14px;
  color: var(--slate-900);
}

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

.hero p {
  font-size: 1.1rem;
  color: var(--slate-500);
  max-width: 540px;
  margin: 0 auto;
}

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

.quiz-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 620px;
  margin: 0 auto;
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
}

.quiz-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-400), var(--blue-600));
}

.quiz-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}

.quiz-progress-dot {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: var(--slate-200);
  transition: background var(--transition);
}

.quiz-progress-dot.active {
  background: var(--blue-500);
}

.quiz-progress-dot.done {
  background: var(--blue-600);
}

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

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

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

.quiz-step h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.quiz-step p.quiz-subtitle {
  color: var(--slate-500);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

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

.quiz-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 2px solid var(--slate-200);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 1rem;
  background: var(--white);
}

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

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

.quiz-option .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: var(--blue-100);
  flex-shrink: 0;
}

.quiz-option.selected .icon {
  background: var(--blue-500);
  color: var(--white);
}

/* ─── ORDER FORM ─── */
.order-form-section {
  display: none;
  animation: fadeUp 0.5s ease;
}

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

.order-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 620px;
  margin: 0 auto 20px;
  padding: 44px 40px;
  position: relative;
}

.order-card h2 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.order-card .subtitle {
  color: var(--slate-500);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--slate-700);
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--slate-200);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: 'DM Sans', sans-serif;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--slate-50);
}

.form-group input:focus {
  outline: none;
  border-color: var(--blue-400);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.1);
  background: var(--white);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 1.05rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(37,99,235,0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.35);
}

.disclaimer {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--slate-50);
  border-left: 3px solid var(--blue-400);
  border-radius: 0 8px 8px 0;
  font-size: 0.82rem;
  color: var(--slate-500);
  line-height: 1.6;
}

/* ─── PRODUCT SECTION ─── */
.product-section {
  padding: 60px 0;
}

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

.product-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.product-gallery img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.product-info h2 {
  font-size: 1.8rem;
  margin-bottom: 18px;
}

.info-block {
  margin-bottom: 28px;
}

.info-block h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue-700);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-block p, .info-block ul {
  color: var(--slate-600);
  font-size: 0.95rem;
}

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

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

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

/* ─── SECTION HEADINGS ─── */
.section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.section-heading h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.section-heading p {
  color: var(--slate-500);
  font-size: 1.05rem;
}

.section-heading .line {
  width: 50px;
  height: 3px;
  background: var(--blue-500);
  border-radius: 3px;
  margin: 14px auto 0;
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 48px 0 24px;
  margin-top: 60px;
}

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

.footer-brand .logo {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 12px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

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

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

.footer-col ul a {
  color: var(--slate-400);
  font-size: 0.9rem;
}

.footer-col ul a:hover {
  color: var(--white);
}

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

.footer-bottom a {
  color: var(--slate-400);
}

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

/* ─── COOKIE MODAL ─── */
.cookie-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  padding: 22px 28px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transform: translateY(100%);
  animation: slideUp 0.5s 1s forwards;
}

@keyframes slideUp {
  to { transform: translateY(0); }
}

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

.cookie-modal p {
  font-size: 0.88rem;
  color: var(--slate-600);
  flex: 1;
}

.cookie-modal p a {
  text-decoration: underline;
}

.cookie-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.cookie-btn.accept {
  background: var(--blue-600);
  color: var(--white);
}

.cookie-btn.accept:hover {
  background: var(--blue-700);
}

.cookie-btn.decline {
  background: var(--slate-100);
  color: var(--slate-600);
}

.cookie-btn.decline:hover {
  background: var(--slate-200);
}

/* ─── PAGE-SPECIFIC ─── */
.page-hero {
  padding: 50px 0 30px;
  text-align: center;
  background: linear-gradient(180deg, var(--blue-50) 0%, var(--slate-50) 100%);
}

.page-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.page-hero p {
  color: var(--slate-500);
  font-size: 1.05rem;
}

.page-content {
  padding: 50px 0;
}

.content-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 44px 48px;
  max-width: 800px;
  margin: 0 auto;
}

.content-card h2 {
  font-size: 1.4rem;
  margin: 28px 0 12px;
  color: var(--slate-800);
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card p {
  margin-bottom: 14px;
  color: var(--slate-600);
  font-size: 0.95rem;
}

.content-card ul {
  margin: 0 0 14px 20px;
  color: var(--slate-600);
  font-size: 0.95rem;
}

.content-card ul li {
  margin-bottom: 6px;
}

/* ─── CONTACT ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.contact-item .ci-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-100);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 14px;
}

.contact-item h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-item p {
  color: var(--slate-500);
  font-size: 0.92rem;
}

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

.success-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 56px 48px;
  max-width: 520px;
}

.success-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
  color: var(--white);
  animation: popIn 0.5s ease;
}

@keyframes popIn {
  0% { transform: scale(0); }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.success-card h1 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.success-card p {
  color: var(--slate-500);
  margin-bottom: 24px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  border: 2px solid var(--blue-500);
  color: var(--blue-600);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
}

.btn-outline:hover {
  background: var(--blue-600);
  color: var(--white);
}

/* ─── ABOUT ─── */
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.value-card {
  background: var(--blue-50);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}

.value-card .v-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.value-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

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

/* ─── PRODUCT PAGE ─── */
.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.ingredient-card {
  background: var(--blue-50);
  padding: 20px;
  border-radius: var(--radius);
  text-align: center;
}

.ingredient-card .ing-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.ingredient-card h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.ingredient-card p {
  font-size: 0.82rem;
  color: var(--slate-500);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-image {
    width: 160px;
    height: 160px;
  }

  .quiz-card, .order-card {
    padding: 28px 22px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .cookie-modal {
    flex-direction: column;
    text-align: center;
  }

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

  .about-values {
    grid-template-columns: 1fr;
  }

  .content-card {
    padding: 28px 22px;
  }

  .page-hero h1 {
    font-size: 1.6rem;
  }
}
