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

:root {
  --ivory-fog: #faf8f3;
  --graphite-navy: #2a2d35;
  --sea-teal: #4a9b8e;
  --warm-stone-gray: #d4cec4;
  --mist-gray: #f0ede8;
  --deep-ink: #1a1d25;
  --teal-shadow: #3d8b7e;
}

html, body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  color: var(--graphite-navy);
  background-color: var(--ivory-fog);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--graphite-navy);
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  color: var(--graphite-navy);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--graphite-navy);
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--graphite-navy);
}

.overline {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--sea-teal);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

header {
  background: linear-gradient(135deg, var(--deep-ink) 0%, #1f2229 100%);
  color: var(--ivory-fog);
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}

header .logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
}

nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

nav a {
  color: var(--ivory-fog);
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 0.5rem;
}

nav a.active {
  color: var(--sea-teal);
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--sea-teal);
}

nav a.active::before {
  content: '•';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--sea-teal);
  font-size: 0.6rem;
}

.btn-catalog {
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--ivory-fog);
  background: transparent;
  color: var(--ivory-fog);
  cursor: pointer;
  border-radius: 16px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-catalog:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: scale(1.02);
}

.catalog-jump {
  font-size: 0.7rem;
  color: rgba(250, 248, 243, 0.6);
  margin-top: 0.3rem;
}

.hero {
  background: linear-gradient(135deg, var(--deep-ink) 0%, #252a32 100%);
  color: var(--ivory-fog);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  padding-right: 2rem;
}

.hero-content h1 {
  color: var(--ivory-fog);
  font-size: 2.8rem;
}

.hero-content p {
  color: rgba(250, 248, 243, 0.85);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.hero-micro {
  font-size: 0.85rem;
  color: rgba(250, 248, 243, 0.7);
  margin-bottom: 1.5rem;
}

.cta-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.btn-primary {
  padding: 0.75rem 1.8rem;
  background-color: var(--sea-teal);
  color: white;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--teal-shadow);
  transform: scale(1.02);
}

.btn-outline {
  padding: 0.75rem 1.8rem;
  background: transparent;
  color: var(--ivory-fog);
  border: 1px solid var(--ivory-fog);
  border-radius: 16px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: rgba(250, 248, 243, 0.1);
  transform: scale(1.02);
}

.hero-feature {
  background: var(--warm-stone-gray);
  color: var(--graphite-navy);
  padding: 1.5rem;
  border-radius: 16px;
  text-align: left;
}

.hero-feature img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.hero-feature p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.reference-note {
  font-size: 0.8rem;
  color: var(--sea-teal);
  margin-top: 1rem;
}

.section-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem;
  background-color: var(--ivory-fog);
}

.tile {
  background: white;
  border: 1px solid var(--mist-gray);
  padding: 2rem;
  border-radius: 16px;
  position: relative;
}

.tile-counter {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sea-teal);
}

.tile h3 {
  margin-bottom: 1rem;
}

.tile p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.tile-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.dot {
  width: 6px;
  height: 6px;
  background-color: var(--sea-teal);
  border-radius: 50%;
}

.line {
  height: 1px;
  width: 40px;
  background-color: var(--mist-gray);
}

.dark-section {
  background: linear-gradient(135deg, var(--deep-ink) 0%, var(--teal-shadow) 100%);
  color: var(--ivory-fog);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.dark-section h2 {
  color: var(--ivory-fog);
}

.dark-section p {
  color: rgba(250, 248, 243, 0.85);
}

.panel-card {
  background: rgba(250, 248, 243, 0.08);
  border: 1px solid rgba(250, 248, 243, 0.15);
  padding: 2rem;
  border-radius: 16px;
}

.panel-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(250, 248, 243, 0.1);
  font-size: 0.95rem;
}

.panel-row:last-child {
  border-bottom: none;
}

.panel-label {
  color: rgba(250, 248, 243, 0.6);
  font-weight: 600;
}

.light-section {
  background-color: var(--ivory-fog);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.light-section h2 {
  color: var(--graphite-navy);
}

.guide-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.guide-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--mist-gray);
}

.guide-item:last-child {
  border-bottom: none;
}

.guide-item h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--graphite-navy);
}

.guide-item p {
  font-size: 0.9rem;
  color: var(--graphite-navy);
  margin: 0;
}

.section-image {
  border-radius: 16px;
  overflow: hidden;
  max-height: 300px;
}

.section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem;
  background-color: var(--ivory-fog);
}

.product-card {
  background: white;
  border: 1px solid var(--mist-gray);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.product-card:hover {
  border-color: var(--sea-teal);
  transform: scale(1.02);
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image {
  transform: scale(1.03);
}

.product-meta {
  padding: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge {
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  background-color: var(--mist-gray);
  color: var(--graphite-navy);
  border-radius: 12px;
  font-weight: 600;
}

.product-content {
  padding: 0 1rem 1rem;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--graphite-navy);
}

.product-description {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--sea-teal);
  margin-bottom: 1rem;
}

.btn-contact {
  width: 100%;
  padding: 0.6rem;
  background-color: var(--sea-teal);
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-contact:hover {
  background-color: var(--teal-shadow);
  transform: scale(1.02);
}

.pill-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 0 3rem;
}

.pill {
  padding: 0.6rem 1.2rem;
  background-color: var(--mist-gray);
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--graphite-navy);
  transition: all 0.3s ease;
}

.pill.active {
  background-color: var(--sea-teal);
  color: white;
}

.lens-hint {
  padding: 0 3rem;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.items-count {
  padding: 0 3rem;
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 2rem;
}

footer {
  background: var(--deep-ink);
  color: var(--ivory-fog);
  padding: 2.5rem 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

footer h4 {
  color: var(--ivory-fog);
  font-size: 1rem;
  margin-bottom: 1rem;
}

footer p, footer a {
  font-size: 0.9rem;
  color: rgba(250, 248, 243, 0.7);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

footer a:hover {
  color: var(--sea-teal);
}

.contact-form {
  max-width: 600px;
  margin: 2rem auto;
  background: white;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--mist-gray);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--graphite-navy);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--mist-gray);
  border-radius: 8px;
  font-size: 1rem;
  color: var(--graphite-navy);
  font-family: inherit;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.checkbox-group input {
  width: auto;
  margin-top: 0.25rem;
  cursor: pointer;
}

.checkbox-group label {
  margin: 0;
  font-size: 0.9rem;
  cursor: pointer;
}

.btn-submit {
  width: 100%;
  padding: 0.75rem;
  background-color: var(--sea-teal);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background-color: var(--teal-shadow);
  transform: scale(1.02);
}

.thank-you-container {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.thank-you-container h1 {
  color: var(--sea-teal);
  margin-bottom: 1rem;
}

.thank-you-container p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.module-block {
  padding: 3rem;
  background-color: var(--ivory-fog);
  margin-bottom: 0;
}

.module-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--graphite-navy);
}

.scan-order-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.step {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--mist-gray);
  text-align: center;
}

.step-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sea-teal);
  margin-bottom: 0.5rem;
}

.step h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.85rem;
}

.labels-hotspots {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--mist-gray);
}

.hotspot-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--mist-gray);
  display: flex;
  justify-content: space-between;
}

.hotspot-item:last-child {
  border-bottom: none;
}

.hotspot-label {
  font-weight: 600;
  color: var(--graphite-navy);
}

.hotspot-description {
  color: #666;
}

.format-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.format-card {
  background: white;
  border: 1px solid var(--mist-gray);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
}

.format-card h4 {
  margin-bottom: 0.75rem;
  color: var(--graphite-navy);
}

.format-card p {
  font-size: 0.85rem;
  line-height: 1.5;
}

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.glossary-term {
  padding: 1.25rem;
  background: white;
  border: 1px solid var(--mist-gray);
  border-radius: 12px;
}

.glossary-term strong {
  color: var(--sea-teal);
  display: block;
  margin-bottom: 0.5rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.faq-item {
  padding: 1.5rem;
  background: white;
  border: 1px solid var(--mist-gray);
  border-radius: 12px;
}

.faq-item h4 {
  color: var(--graphite-navy);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.faq-item p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.about-section {
  padding: 3rem;
  background-color: var(--ivory-fog);
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.guidelines {
  background: white;
  border: 1px solid var(--mist-gray);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2rem;
}

.guideline-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--mist-gray);
}

.guideline-item:last-child {
  border-bottom: none;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem;
  background-color: var(--ivory-fog);
}

.legal-content h1, .legal-content h2 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content p, .legal-content li {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-content ul, .legal-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content strong {
  color: var(--graphite-navy);
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--deep-ink);
  color: var(--ivory-fog);
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  gap: 2rem;
}

.cookie-text {
  font-size: 0.9rem;
  line-height: 1.5;
  flex: 1;
}

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

.cookie-button {
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.cookie-accept {
  background-color: var(--sea-teal);
  color: white;
}

.cookie-reject {
  background-color: transparent;
  border: 1px solid var(--ivory-fog);
  color: var(--ivory-fog);
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  nav {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .hero, .dark-section, .light-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .section-tiles {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .scan-order-steps {
    grid-template-columns: 1fr 1fr;
  }

  .format-cards-grid {
    grid-template-columns: 1fr;
  }

  .glossary-grid, .faq-grid {
    grid-template-columns: 1fr;
  }

  footer {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .pill-tabs, .lens-hint, .items-count {
    padding: 0 1.5rem;
  }

  .contact-form {
    margin: 1.5rem;
  }

  .cookie-consent {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: flex-end;
  }
}
