@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,300;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;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
  --transition: all 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-800);
  background: var(--slate-50);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

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

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

/* ── HEADER ── */
.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);
}

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

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

.logo span {
  color: var(--blue-400);
}

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

.nav-links a {
  font-size: 0.9rem;
  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);
  transition: var(--transition);
  border-radius: 2px;
}

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

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate-700);
  margin: 6px 0;
  transition: var(--transition);
  border-radius: 2px;
}

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

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

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

.hero-image-wrap {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-image-wrap::after {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, transparent 70%);
  z-index: 0;
}

.hero-image-wrap img {
  position: relative;
  z-index: 1;
  max-height: 420px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(30,64,175,0.15));
  animation: floatUp 0.8s ease-out;
}

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

.hero-text {
  animation: fadeIn 0.8s ease-out 0.2s both;
}

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

.hero-badge {
  display: inline-block;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

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

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

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--slate-500);
  margin-bottom: 32px;
  max-width: 460px;
  line-height: 1.8;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,99,235,0.3);
}

.btn-primary:hover {
  background: var(--blue-700);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37,99,235,0.35);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--blue-600);
  border: 2px solid var(--blue-200);
}

.btn-outline:hover {
  background: var(--blue-50);
  border-color: var(--blue-400);
  color: var(--blue-700);
}

/* ── QUIZ SECTION ── */
.quiz-section {
  padding: 80px 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--slate-500);
  max-width: 520px;
  margin: 0 auto;
}

.quiz-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--slate-200);
  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: 4px;
  background: linear-gradient(90deg, var(--blue-400), var(--blue-600));
}

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

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

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

.quiz-progress-step.done {
  background: var(--green-500);
}

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

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

.quiz-step-number {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.quiz-step h3 {
  font-size: 1.5rem;
  margin-bottom: 28px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
}

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

.quiz-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border: 2px solid var(--slate-200);
  border-radius: var(--radius);
  cursor: pointer;
  transition: 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 .check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--slate-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

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

.quiz-option.selected .check::after {
  content: '✓';
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

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

.quiz-nav .btn {
  min-width: 140px;
  justify-content: center;
}

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

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

.order-form-wrap {
  max-width: 540px;
  margin: 0 auto;
  padding: 48px 40px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.order-form-wrap h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
}

.order-form-wrap .form-sub {
  text-align: center;
  color: var(--slate-500);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

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

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

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

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

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

.form-disclaimer {
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 24px 0;
  font-size: 0.82rem;
  color: var(--slate-600);
  line-height: 1.6;
}

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

.submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
}

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

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

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

.product-gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--slate-200);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.product-gallery-main img {
  max-height: 320px;
  object-fit: contain;
}

.product-info h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.product-info .price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blue-600);
  margin-bottom: 20px;
  font-family: 'DM Sans', sans-serif;
}

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

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

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

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

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

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

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

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

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

.footer-brand .logo span {
  color: var(--blue-400);
}

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

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

.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: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}

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

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

/* ── COOKIE MODAL ── */
.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 9998;
  display: none;
  backdrop-filter: blur(4px);
}

.cookie-overlay.show {
  display: block;
  animation: fadeIn 0.3s ease-out;
}

.cookie-modal {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 28px 32px;
  z-index: 9999;
  max-width: 520px;
  width: calc(100% - 48px);
  display: none;
}

.cookie-modal.show {
  display: block;
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(30px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.cookie-modal h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.cookie-modal p {
  font-size: 0.88rem;
  color: var(--slate-500);
  line-height: 1.6;
  margin-bottom: 20px;
}

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

.cookie-buttons .btn {
  padding: 10px 24px;
  font-size: 0.88rem;
}

/* ── PAGE TEMPLATES ── */
.page-hero {
  padding: 48px 0;
  background: linear-gradient(165deg, var(--blue-50) 0%, var(--white) 100%);
  text-align: center;
}

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

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

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

.page-content .content-card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.content-card h2 {
  font-size: 1.5rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

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

.content-card p {
  color: var(--slate-600);
  margin-bottom: 14px;
  line-height: 1.8;
}

.content-card ul {
  margin: 12px 0 20px 20px;
  color: var(--slate-600);
  line-height: 1.8;
}

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

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

.contact-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

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

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

.contact-icon svg {
  width: 24px;
  height: 24px;
  color: var(--blue-600);
}

.contact-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-card p {
  color: var(--slate-500);
  font-size: 0.92rem;
  line-height: 1.6;
}

.contact-card a {
  display: block;
  margin-top: 8px;
  font-weight: 600;
}

/* Success page */
.success-container {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}

.success-card {
  text-align: center;
  max-width: 520px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  box-shadow: var(--shadow-lg);
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  animation: scaleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.success-icon svg {
  width: 40px;
  height: 40px;
  color: var(--white);
}

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

.success-card p {
  color: var(--slate-500);
  margin-bottom: 10px;
  line-height: 1.7;
}

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

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-image-wrap {
    order: -1;
  }
  .hero-image-wrap img {
    max-height: 320px;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    margin: 0 auto 28px;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
  .hero {
    padding: 48px 0 40px;
  }
  .hero h1 {
    font-size: 1.9rem;
  }
  .quiz-card {
    padding: 32px 24px;
  }
  .order-form-wrap {
    padding: 32px 24px;
  }
  .section-header h2 {
    font-size: 1.8rem;
  }
  .page-content .content-card {
    padding: 28px 20px;
  }
  .success-card {
    padding: 40px 28px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }
  .cookie-buttons {
    flex-direction: column;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
