@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 {
  --primary: #0288D1;
  --primary-light: #4FC3F7;
  --primary-pale: #E1F5FE;
  --primary-dark: #01579B;
  --white: #FFFFFF;
  --off-white: #F8FBFD;
  --gray-50: #F0F4F8;
  --gray-100: #E2E8F0;
  --gray-200: #CBD5E1;
  --gray-300: #94A3B8;
  --gray-400: #64748B;
  --gray-500: #475569;
  --gray-600: #334155;
  --gray-700: #1E293B;
  --text: #1E293B;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 2px rgba(2, 136, 209, 0.05);
  --shadow-md: 0 4px 12px rgba(2, 136, 209, 0.08);
  --shadow-lg: 0 8px 30px rgba(2, 136, 209, 0.12);
  --shadow-xl: 0 20px 60px rgba(2, 136, 209, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --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;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--off-white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

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

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo svg {
  width: 28px;
  height: 28px;
}

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

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

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

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

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

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

/* ===== HERO ===== */
.hero {
  background: linear-gradient(165deg, var(--primary-pale) 0%, var(--white) 40%, var(--off-white) 100%);
  padding: 80px 24px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(79,195,247,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(2,136,209,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-text h1 span {
  color: var(--primary);
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 380px;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  animation: heroFloat 6s ease-in-out infinite;
}

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

/* ===== SURVEY / QUIZ ===== */
.survey-section {
  padding: 80px 24px;
  background: var(--white);
}

.survey-section .container {
  max-width: 680px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-pale);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

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

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-light), var(--primary));
  border-radius: 3px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
}

.quiz-step {
  display: none;
  animation: fadeSlideUp 0.45s ease-out;
}

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

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

.quiz-question {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.quiz-step-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

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

.quiz-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: var(--off-white);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.95rem;
  color: var(--text);
}

.quiz-option:hover {
  border-color: var(--primary-light);
  background: var(--primary-pale);
  transform: translateX(4px);
}

.quiz-option.selected {
  border-color: var(--primary);
  background: var(--primary-pale);
  box-shadow: 0 0 0 3px rgba(2,136,209,0.12);
}

.quiz-option .circle {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border: 2px solid var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.quiz-option.selected .circle {
  border-color: var(--primary);
  background: var(--primary);
}

.quiz-option.selected .circle::after {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
}

.quiz-nav {
  margin-top: 28px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(2,136,209,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2,136,209,0.4);
}

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

.btn-secondary {
  background: var(--gray-50);
  color: var(--text-secondary);
}

.btn-secondary:hover {
  background: var(--gray-100);
}

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

/* ===== ORDER FORM ===== */
.order-section {
  display: none;
  animation: fadeSlideUp 0.5s ease-out;
}

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

.order-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

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

.order-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.order-card > p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

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

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

.form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--off-white);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(2,136,209,0.1);
}

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

.disclaimer-box {
  background: #FFFDE7;
  border: 1px solid #FFF59D;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.8rem;
  color: #F57F17;
  line-height: 1.5;
  margin: 24px 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.disclaimer-box svg {
  min-width: 18px;
  margin-top: 1px;
}

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

/* ===== PRODUCT SECTION ===== */
.product-section {
  padding: 80px 24px;
  background: var(--off-white);
}

.product-section .container {
  max-width: 1140px;
  margin: 0 auto;
}

.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-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--white);
  padding: 20px;
}

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

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

.product-gallery .thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition);
  background: var(--white);
  padding: 6px;
}

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

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

.product-info h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
}

.product-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 24px;
}

.product-tab {
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  border: none;
  background: none;
  position: relative;
  transition: color var(--transition);
  font-family: var(--font-body);
}

.product-tab::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background var(--transition);
}

.product-tab.active {
  color: var(--primary);
}

.product-tab.active::after {
  background: var(--primary);
}

.product-tab-content {
  display: none;
}

.product-tab-content.active {
  display: block;
  animation: fadeSlideUp 0.3s ease-out;
}

.product-tab-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.ingredient-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ingredient-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text);
}

.ingredient-list li .icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--primary-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ingredient-list li .icon svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
}

/* ===== FEATURES / BENEFITS ===== */
.features-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.feature-card {
  background: var(--white);
  padding: 28px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition);
}

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

.feature-card .icon-wrap {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  background: var(--primary-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card .icon-wrap svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.feature-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--gray-700);
  color: var(--gray-200);
  padding: 60px 24px 30px;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
}

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

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

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--gray-300);
  max-width: 320px;
}

.footer-col h5 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-col ul li a {
  color: var(--gray-300);
  font-size: 0.85rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--gray-300);
}

.footer-bottom a {
  color: var(--gray-300);
}

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

/* ===== COOKIE MODAL ===== */
.cookie-overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 0 24px 24px;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-overlay.show {
  transform: translateY(0);
}

.cookie-box {
  max-width: 580px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 -4px 30px rgba(0,0,0,0.12);
  padding: 28px;
  border: 1px solid var(--border);
}

.cookie-box h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.cookie-box p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

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

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

/* ===== INNER PAGES ===== */
.page-hero {
  background: linear-gradient(165deg, var(--primary-pale) 0%, var(--white) 100%);
  padding: 60px 24px 50px;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px;
}

.page-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 40px 0 16px;
  color: var(--text);
}

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

.page-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

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

.page-content ul li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

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

.contact-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  text-align: center;
}

.contact-card .icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--primary-pale);
  border-radius: var(--radius-sm);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card .icon-wrap svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
}

.contact-card h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ===== SUCCESS PAGE ===== */
.success-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 160px);
  padding: 40px 24px;
}

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

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon svg {
  width: 36px;
  height: 36px;
  color: #2E7D32;
}

.success-card h1 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}

.success-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-text p {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-image img {
    max-width: 280px;
  }

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

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

  .features-row {
    grid-template-columns: 1fr;
  }
}

@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(--border);
    box-shadow: var(--shadow-md);
  }

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

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 50px 24px 40px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .order-card {
    padding: 28px 20px;
  }

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

  .success-card {
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  .cookie-actions {
    flex-direction: column;
  }

  .hero-text h1 {
    font-size: 1.7rem;
  }

  .quiz-option {
    padding: 14px 16px;
  }
}
