@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&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&display=swap');

:root {
  --bg-primary: #f4f1ec;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-dark: #1c2520;
  --bg-accent: #2d3e38;
  --text-primary: #1c2520;
  --text-secondary: #5a655d;
  --text-light: #8a918a;
  --accent-teal: #3d7a6e;
  --accent-teal-dark: #2d6259;
  --accent-teal-light: #e8f2f0;
  --accent-warm: #c4a882;
  --accent-warm-dark: #b09060;
  --border-light: #e0dbd4;
  --border-medium: #ccc6be;
  --shadow-soft: 0 4px 30px rgba(28, 37, 32, 0.06);
  --shadow-hover: 0 20px 60px rgba(28, 37, 32, 0.14);
  --shadow-card: 0 8px 40px rgba(28, 37, 32, 0.08);

  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.2;
}

.title-xl {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.title-lg {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-style: italic;
  color: var(--accent-teal);
}

.subtitle {
  font-family: var(--font-sans);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.65rem;
  color: var(--accent-teal);
  margin-bottom: 1.2rem;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-fast);
}

.container {
  width: 90%;
  max-width: 1320px;
  margin: 0 auto;
}

/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--bg-dark);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: #fff;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.preloader-bar {
  width: 180px;
  height: 2px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-progress {
  height: 100%;
  background: var(--accent-teal);
  border-radius: 2px;
  animation: preloaderFill 3s ease forwards;
}

@keyframes preloaderFill {
  0% { width: 0%; }
  100% { width: 100%; }
}

.loader-text {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
}

/* ===== AFFILIATE BANNER ===== */
.affiliate-banner {
  position: relative;
  width: 100%;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-teal-dark));
  color: #fff;
  text-align: center;
  padding: 11px 20px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  font-weight: 500;
  z-index: 2000;
  font-family: var(--font-sans);
}

/* ===== HEADER ===== */
header {
  position: absolute;
  top: 42px; width: 100%;
  padding: 18px 5%;
  z-index: 1000;
  transition: all var(--transition-smooth);
  background: transparent;
}

header.scrolled {
  position: fixed;
  top: 0;
  background: rgba(244, 241, 236, 0.97);
  backdrop-filter: blur(20px);
  padding: 14px 5%;
  box-shadow: 0 2px 40px rgba(28,37,32,0.06);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
}

.brand-logo {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 1.5px;
  background-color: var(--accent-teal);
  transition: width var(--transition-fast);
}

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

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 15px 38px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  cursor: pointer;
  border: 1.5px solid var(--text-primary);
  background: transparent;
  color: var(--text-primary);
  transition: all var(--transition-fast);
  text-align: center;
}

.btn:hover {
  background: var(--text-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(28,37,32,0.18);
}

.btn-solid {
  background: var(--accent-teal);
  border-color: var(--accent-teal);
  color: #fff;
}

.btn-solid:hover {
  background: var(--accent-teal-dark);
  border-color: var(--accent-teal-dark);
  color: #fff;
}

.btn-warm {
  background: var(--accent-warm);
  border-color: var(--accent-warm);
  color: #fff;
}

.btn-warm:hover {
  background: var(--accent-warm-dark);
  border-color: var(--accent-warm-dark);
  color: #fff;
}

/* ===== MOBILE MENU ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 2000;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 1.5px;
  background-color: var(--text-primary);
  transition: all var(--transition-fast);
}

.mobile-nav {
  position: fixed;
  top: 0; left: -100%;
  width: 100%; height: 100vh;
  background: var(--bg-dark);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.open { left: 0; }
.mobile-nav ul { list-style: none; text-align: center; }
.mobile-nav li { margin: 2rem 0; }
.mobile-nav a {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: #fff;
}

.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding-top: 130px;
  background: linear-gradient(160deg, #f4f1ec 0%, #ede9e2 60%, #e8e4db 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin: auto;
  padding: 4rem 0;
}

.hero-img-wrapper {
  position: relative;
}

.hero-img-wrapper img {
  width: 100%;
  display: block;
  border-radius: 6px;
  box-shadow: var(--shadow-hover);
}

.hero-img-wrapper::after {
  content: '';
  position: absolute;
  top: 20px; right: -20px;
  width: 100%; height: 100%;
  border: 1.5px solid var(--accent-teal);
  opacity: 0.2;
  border-radius: 6px;
  z-index: -1;
}

.hero-text p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin: 1.8rem 0 2.5rem;
  max-width: 520px;
  line-height: 1.85;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-teal-light);
  color: var(--accent-teal);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.hero-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 3rem;
}

.hero-images img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.hero-images img:hover {
  transform: scale(1.04);
  box-shadow: var(--shadow-hover);
}

@media (max-width: 1050px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-text p { margin: 1.8rem auto 2.5rem; }
  .hero-images { max-width: 500px; margin: 3rem auto 0; }
  .hero-img-wrapper::after { display: none; }
}

/* ===== FEATURES ===== */
.features-section {
  padding: 120px 0;
  background: var(--bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

.feature-card {
  background: var(--bg-card);
  padding: 2.8rem 2rem;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent-teal);
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-teal);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

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

.feature-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1.5rem;
  background: var(--accent-teal-light);
  border-radius: 16px;
  display: flex; justify-content: center; align-items: center;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent-teal);
}

@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
}

/* ===== PRODUCT SHOWCASE ===== */
.product-showcase {
  padding: 120px 0;
  background: var(--bg-primary);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.showcase-image {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

.showcase-image img {
  width: 100%;
  display: block;
  transition: transform 0.8s ease;
  border-radius: 6px;
}

.showcase-image:hover img {
  transform: scale(1.04);
}

.price-tag {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: var(--accent-teal);
  margin: 1.2rem 0 1.5rem;
}

.showcase-features {
  list-style: none;
  margin: 2rem 0;
}

.showcase-features li {
  padding: 13px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.showcase-features li::before {
  content: '';
  width: 22px;
  height: 22px;
  background: var(--accent-teal-light);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%233d7a6e' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

@media (max-width: 900px) {
  .showcase-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* ===== TESTIMONIAL ===== */
.testimonial-section {
  padding: 100px 0;
  background: var(--bg-dark);
  text-align: center;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-style: italic;
  color: #fff;
  max-width: 850px;
  margin: 0 auto 1.8rem;
  line-height: 1.6;
}

.testimonial-author {
  color: var(--accent-teal);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

/* ===== FAQ ===== */
.faq-section {
  padding: 100px 0;
  background: var(--bg-secondary);
}

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

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 24px 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
}

.faq-question:hover {
  color: var(--accent-teal);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--accent-teal);
  transition: transform var(--transition-fast);
  font-weight: 300;
}

.faq-question.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.faq-answer p {
  padding-bottom: 24px;
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.8;
}

/* ===== PRODUCT PAGE ===== */
.internal-page {
  padding: 180px 0 100px;
}

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

.product-image-main {
  border: 1px solid var(--border-light);
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: 6px;
}

.product-image-main img {
  width: 100%;
  display: block;
  border-radius: 4px;
}

.product-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.product-thumbs img {
  width: 80px; height: 80px;
  object-fit: cover;
  cursor: pointer;
  border: 1.5px solid var(--border-light);
  opacity: 0.45;
  transition: all var(--transition-fast);
  border-radius: 4px;
}

.product-thumbs img:hover, .product-thumbs img.active {
  opacity: 1;
  border-color: var(--accent-teal);
}

.product-info h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.product-price {
  font-size: 2.8rem;
  color: var(--accent-teal);
  font-family: var(--font-serif);
  margin: 1.5rem 0 2rem;
}

.product-specs {
  list-style: none;
  margin: 2.5rem 0;
  border-top: 1px solid var(--border-light);
}

.product-specs li {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.product-specs span:last-child {
  color: var(--text-secondary);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

@media (max-width: 900px) {
  .product-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* ===== COMPARISON ===== */
.comparison-wrapper {
  margin-top: 80px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 3rem;
  background: var(--bg-primary);
  border-radius: 6px;
  overflow: hidden;
}

.comparison-table th, .comparison-table td {
  padding: 1.3rem;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.comparison-table td:first-child, .comparison-table th:first-child {
  text-align: left;
  font-family: var(--font-sans);
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.highlight-col {
  background-color: var(--accent-teal-light);
}

/* ===== CONTACT & LEGAL ===== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 { margin-bottom: 3rem; text-align: center; }
.legal-content h2 { font-size: 1.4rem; margin: 3rem 0 1rem; color: var(--text-primary); }
.legal-content p { color: var(--text-secondary); margin-bottom: 1.4rem; line-height: 1.8; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.form-input {
  width: 100%;
  padding: 15px 0;
  margin-bottom: 2rem;
  border: none;
  border-bottom: 1.5px solid var(--border-light);
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.93rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus {
  border-bottom-color: var(--accent-teal);
}

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

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* ===== FOOTER ===== */
footer {
  background-color: var(--bg-dark);
  padding: 80px 5% 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 4rem;
  max-width: 1320px;
  margin: 0 auto;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  display: block;
  color: #fff;
  letter-spacing: 0.04em;
}

.footer-col p, .footer-col a {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  display: block;
  line-height: 1.6;
}

.footer-col a:hover {
  color: var(--accent-teal);
}

.footer-col h4 {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.65rem;
  margin-bottom: 1.5rem;
  color: var(--accent-teal);
  font-weight: 600;
}

.footer-bottom {
  max-width: 1320px;
  margin: 60px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: -300px;
  left: 0; width: 100%;
  background: var(--bg-secondary);
  border-top: 3px solid var(--accent-teal);
  padding: 28px 5%;
  z-index: 9999;
  transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -10px 50px rgba(28,37,32,0.12);
}

.cookie-banner.active {
  bottom: 0;
}

.cookie-content {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
}

.cookie-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.cookie-content a {
  color: var(--accent-teal);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-buttons .btn {
  padding: 12px 24px;
  font-size: 0.68rem;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
}

.btn-outline:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
  background: transparent;
  transform: none;
  box-shadow: none;
}

@media (max-width: 768px) {
  .cookie-content { flex-direction: column; text-align: center; gap: 1.5rem; }
  .cookie-buttons { flex-direction: column; width: 100%; max-width: 300px; }
  .cookie-buttons .btn { width: 100%; }
}

/* ===== EDITORIAL / REVIEW ===== */
.editorial-article {
  max-width: 800px;
  margin: 0 auto;
}

.editorial-article img {
  width: 100%;
  margin-bottom: 3rem;
  border-radius: 6px;
}

.editorial-article h3 {
  font-size: 1.7rem;
  margin: 3rem 0 1.5rem;
  color: var(--text-primary);
}

.editorial-article p {
  font-size: 1.03rem;
  color: var(--text-secondary);
  margin-bottom: 1.4rem;
  line-height: 1.9;
}

.pull-quote {
  border-left: 3px solid var(--accent-teal);
  padding: 1rem 0 1rem 2rem;
  margin: 3rem 0;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  line-height: 1.5;
  font-style: italic;
  color: var(--text-primary);
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--bg-accent) 0%, var(--bg-dark) 100%);
  text-align: center;
}

.cta-section h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1.5rem;
}

.cta-section p {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}
