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

:root {
  --color-bg: #fafaf8;
  --color-text: #2a2a28;
  --color-accent-blue: #6b8cae;
  --color-accent-sand: #d4b896;
  --color-border: #e8e8e6;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 16px;
}

header {
  background-color: white;
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent-blue);
  text-decoration: none;
  letter-spacing: 0.05em;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.95rem;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

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

.cta-button {
  background-color: transparent;
  border: 1.5px solid var(--color-accent-blue);
  color: var(--color-accent-blue);
  padding: 0.5rem 1.25rem;
  text-decoration: none;
  border-radius: 0;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 0.95rem;
  font-family: inherit;
}

.cta-button:hover {
  background-color: var(--color-accent-blue);
  color: white;
  transform: scale(1.02);
}

.hero {
  height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  margin-bottom: 3rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.25);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 3rem;
  background-color: rgba(255,255,255,0.95);
  margin-left: 2rem;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--color-text);
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  margin-bottom: 4rem;
  padding: 2rem 0;
}

h1, h2, h3, h4 {
  color: var(--color-text);
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.day-rhythm {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.day-card {
  background-color: white;
  padding: 2rem;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent-blue);
  transition: all 0.3s ease;
}

.day-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.day-card h3 {
  color: var(--color-accent-blue);
  margin-bottom: 1rem;
}

.day-card p {
  color: var(--color-text);
  font-size: 0.95rem;
}

.day-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.day-button-large {
  background-color: white;
  border: 2px solid var(--color-accent-blue);
  padding: 2rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-accent-blue);
  font-family: inherit;
}

.day-button-large:hover {
  background-color: var(--color-accent-blue);
  color: white;
  transform: scale(1.02);
}

.checklist {
  background-color: var(--color-accent-sand);
  padding: 2rem;
  border-radius: 0;
  margin-bottom: 2rem;
}

.checklist h3 {
  margin-bottom: 1.5rem;
}

.checklist ul {
  list-style: none;
}

.checklist li {
  padding: 0.75rem 0;
  padding-left: 1.75rem;
  position: relative;
  line-height: 1.6;
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent-blue);
  font-weight: bold;
  font-size: 1.1rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.product-card {
  background-color: white;
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.product-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background-color: var(--color-bg);
}

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

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

.product-info {
  padding: 1.5rem;
}

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

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

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

.product-button {
  width: 100%;
  background-color: transparent;
  border: 1.5px solid var(--color-accent-blue);
  color: var(--color-accent-blue);
  padding: 0.75rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: inherit;
  border-radius: 0;
}

.product-button:hover {
  background-color: var(--color-accent-blue);
  color: white;
  transform: scale(1.02);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.faq-item {
  background-color: white;
  padding: 1.5rem;
  border-left: 3px solid var(--color-accent-sand);
}

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

.faq-item p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.rhythm-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.rhythm-point {
  background-color: white;
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent-blue);
}

.rhythm-point h4 {
  color: var(--color-accent-blue);
  margin-bottom: 0.75rem;
}

.rhythm-point p {
  font-size: 0.95rem;
  color: #555;
}

.about-section {
  margin-bottom: 3rem;
}

.about-section h2 {
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

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

.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  background-color: var(--color-accent-sand);
  padding: 2rem;
  margin-bottom: 2rem;
}

.principle {
  background-color: white;
  padding: 1.5rem;
}

.principle h4 {
  color: var(--color-accent-blue);
  margin-bottom: 0.75rem;
}

.principle p {
  font-size: 0.95rem;
  color: #555;
}

.contact-form {
  max-width: 600px;
  background-color: white;
  padding: 2rem;
  border: 1px solid var(--color-border);
  margin-bottom: 2rem;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  background-color: var(--color-bg);
}

.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[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
  cursor: pointer;
}

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

.checkbox-group a {
  color: var(--color-accent-blue);
  text-decoration: none;
}

.checkbox-group a:hover {
  text-decoration: underline;
}

.form-submit {
  width: 100%;
  background-color: var(--color-accent-blue);
  color: white;
  border: none;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-submit:hover {
  background-color: #5a7a9e;
  transform: scale(1.02);
}

footer {
  background-color: white;
  border-top: 1px solid var(--color-border);
  padding: 3rem 0;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--color-accent-blue);
}

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

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: #555;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--color-accent-blue);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}

.legal-content {
  max-width: 900px;
  line-height: 1.8;
  font-size: 0.95rem;
}

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

.legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

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

.legal-content li {
  margin-bottom: 0.5rem;
}

.thank-you-message {
  text-align: center;
  padding: 3rem 1rem;
  background-color: white;
  border: 2px solid var(--color-accent-blue);
  max-width: 600px;
  margin: 3rem auto;
}

.thank-you-message h1 {
  color: var(--color-accent-blue);
  margin-bottom: 1rem;
}

.thank-you-message p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.thank-you-button {
  background-color: var(--color-accent-blue);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  display: inline-block;
}

.thank-you-button:hover {
  background-color: #5a7a9e;
  transform: scale(1.02);
}

.time-filter {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.time-filter button {
  background-color: transparent;
  border: 1.5px solid var(--color-accent-blue);
  color: var(--color-accent-blue);
  padding: 0.5rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  font-family: inherit;
}

.time-filter button:hover,
.time-filter button.active {
  background-color: var(--color-accent-blue);
  color: white;
  transform: scale(1.02);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  border-top: 1px solid var(--color-border);
  padding: 1.5rem;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  z-index: 200;
  display: none;
}

.cookie-banner.show {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cookie-content {
  max-width: 600px;
  font-size: 0.9rem;
  line-height: 1.5;
}

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

.cookie-button {
  padding: 0.5rem 1rem;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  font-family: inherit;
  white-space: nowrap;
}

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

.cookie-accept:hover {
  background-color: #5a7a9e;
}

.cookie-decline {
  background-color: transparent;
  border: 1.5px solid var(--color-accent-blue);
  color: var(--color-accent-blue);
}

.cookie-decline:hover {
  background-color: var(--color-accent-blue);
  color: white;
}

@media (max-width: 768px) {
  nav ul {
    gap: 1rem;
    flex-wrap: wrap;
  }

  nav a {
    font-size: 0.85rem;
  }

  .hero {
    height: 300px;
  }

  .hero-content {
    max-width: 100%;
    margin-left: 0;
    padding: 2rem;
    margin-bottom: 1rem;
  }

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

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .day-buttons {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

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

  .footer-content {
    grid-template-columns: 1fr;
  }

  .cookie-banner.show {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-button {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .navbar-container {
    flex-direction: column;
    gap: 1rem;
  }

  nav ul {
    justify-content: center;
  }

  .hero {
    height: 250px;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1rem;
  }

  .cta-button {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
  }
}
