:root {
  --bg-mist: #f5f3f0;
  --bg-pearl: #e8e5e0;
  --text-dark: #2a2825;
  --text-muted: #5a5652;
  --primary-mist: #7b9fb8;
  --secondary-silver: #b8b3ad;
  --highlight-pearl: #f0ede8;
  --dark-fog: #3d3a37;
  --border-light: #ddd8d2;
  --accent-hover: #8bafc5;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-mist);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

a {
  color: var(--primary-mist);
  text-decoration: none;
  transition: color 220ms ease;
}

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

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

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

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
}

.logo:hover {
  color: var(--primary-mist);
}

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

.nav-menu a {
  color: var(--text-muted);
  font-weight: 500;
  transition: all 200ms ease;
}

.nav-menu a:hover {
  color: var(--primary-mist);
}

.cta-button {
  background-color: var(--primary-mist);
  color: white;
  padding: 0.6rem 1.5rem;
  border: 2px solid var(--primary-mist);
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms ease;
  display: inline-block;
}

.cta-button:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: scale(1.04);
}

.cta-button-outline {
  background-color: transparent;
  color: var(--primary-mist);
  padding: 0.6rem 1.5rem;
  border: 2px solid var(--primary-mist);
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms ease;
  display: inline-block;
}

.cta-button-outline:hover {
  background-color: rgba(123, 159, 184, 0.08);
  border-color: var(--accent-hover);
  color: var(--accent-hover);
  transform: scale(1.04);
}

.hero {
  background: linear-gradient(135deg, rgba(248, 247, 245, 0.9), rgba(232, 229, 224, 0.95)), url('images/hero-bathroom-mirror.jpg') center/cover;
  background-attachment: fixed;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(232, 229, 224, 0.3) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 2rem;
}

.hero h1 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 2.8rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 1.5rem;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title h2 {
  font-size: 2rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 0.5rem;
}

.mist-awakening {
  background: linear-gradient(180deg, var(--bg-mist) 0%, var(--bg-pearl) 100%);
  padding: 3rem 1.5rem;
}

.mist-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.point-item {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  transition: all 200ms ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.point-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(123, 159, 184, 0.1);
}

.point-item h3 {
  color: var(--primary-mist);
  font-size: 1.1rem;
}

.point-item p {
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.quick-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
}

.tile {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  transition: all 200ms ease;
}

.tile:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 24px rgba(123, 159, 184, 0.15);
}

.tile-content {
  padding: 1.5rem;
}

.tile h3 {
  color: var(--primary-mist);
  margin-bottom: 0.5rem;
}

.tile p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.quick-notes {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  margin: 2rem auto;
  max-width: 1200px;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  text-align: center;
}

.note-item {
  padding: 1rem;
  background: var(--highlight-pearl);
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all 200ms ease;
}

.note-item:hover {
  background: var(--bg-pearl);
  color: var(--primary-mist);
}

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

.product-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  transition: all 200ms ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 28px rgba(123, 159, 184, 0.2);
}

.product-image {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: var(--highlight-pearl);
}

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

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

.product-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(232, 229, 224, 0.2);
  pointer-events: none;
}

.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--primary-mist);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
}

.product-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

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

.product-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.product-availability {
  font-size: 0.85rem;
  color: var(--secondary-silver);
  margin-bottom: 1rem;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-mist);
}

.product-button {
  background-color: var(--primary-mist);
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms ease;
  font-size: 0.9rem;
}

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

.morning-rituals {
  background: var(--highlight-pearl);
  padding: 3rem 1.5rem;
}

.rituals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.ritual-item {
  background: white;
  padding: 1.2rem;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  text-align: center;
  transition: all 200ms ease;
}

.ritual-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(123, 159, 184, 0.1);
}

.ritual-item p {
  font-size: 0.9rem;
  margin: 0;
}

.core-mist {
  background: linear-gradient(135deg, var(--dark-fog), #4a4743);
  color: white;
  padding: 3rem 1.5rem;
}

.core-mist h2 {
  color: white;
  text-align: center;
}

.core-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 2rem auto 0;
}

.core-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  transition: all 200ms ease;
}

.core-item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.core-item h3 {
  color: var(--highlight-pearl);
  font-size: 1rem;
}

.core-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.evening-mists {
  background: var(--bg-pearl);
  padding: 3rem 1.5rem;
}

.mist-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 2rem auto;
}

.mist-item {
  background: white;
  padding: 1.2rem;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  transition: all 200ms ease;
  text-align: center;
}

.mist-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(123, 159, 184, 0.1);
}

.mist-item p {
  font-size: 0.85rem;
  margin: 0;
}

.harmony {
  background: white;
  padding: 3rem 1.5rem;
}

.harmony-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 2rem auto;
}

.harmony-item {
  background: var(--highlight-pearl);
  padding: 1.5rem;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  transition: all 200ms ease;
}

.harmony-item:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 16px rgba(123, 159, 184, 0.1);
}

.harmony-item h3 {
  color: var(--primary-mist);
  font-size: 1rem;
}

.harmony-item p {
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.faq-section {
  background: var(--bg-mist);
  padding: 3rem 1.5rem;
}

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

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

.faq-item h3 {
  color: var(--primary-mist);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.faq-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cta-final {
  background: linear-gradient(135deg, var(--primary-mist), var(--accent-hover));
  color: white;
  padding: 3rem 1.5rem;
  text-align: center;
}

.cta-final h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-final p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.cta-final .cta-button {
  background-color: white;
  color: var(--primary-mist);
  border-color: white;
}

.cta-final .cta-button:hover {
  background-color: var(--highlight-pearl);
  border-color: var(--highlight-pearl);
}

footer {
  background: var(--dark-fog);
  color: white;
  padding: 3rem 1.5rem;
}

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

.footer-section h3 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1rem;
}

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

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

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 200ms ease;
}

.footer-section a:hover {
  color: var(--highlight-pearl);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.product-page {
  background: var(--bg-mist);
  padding: 3rem 1.5rem;
}

.product-detail {
  max-width: 1000px;
  margin: 0 auto;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.product-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem;
}

.product-detail-image {
  position: relative;
  min-height: 400px;
  background: var(--highlight-pearl);
  border-radius: 8px;
  overflow: hidden;
}

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

.product-detail-info h1 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.product-specs {
  background: var(--highlight-pearl);
  padding: 1.5rem;
  border-radius: 6px;
  margin: 1.5rem 0;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

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

.spec-label {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.spec-value {
  color: var(--text-dark);
  font-size: 0.9rem;
}

.product-price-detail {
  font-size: 1.8rem;
  color: var(--primary-mist);
  font-weight: 700;
  margin: 1.5rem 0;
}

.product-button-detail {
  background-color: var(--primary-mist);
  color: white;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms ease;
  width: 100%;
  font-size: 1rem;
}

.product-button-detail:hover {
  background-color: var(--accent-hover);
  transform: scale(1.04);
}

.about-hero {
  background: linear-gradient(135deg, rgba(248, 247, 245, 0.9), rgba(232, 229, 224, 0.95)), url('images/about-hero.jpg') center/cover;
  background-attachment: fixed;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
}

.about-hero-content {
  text-align: center;
  max-width: 700px;
  padding: 2rem;
}

.about-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-content {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.about-block {
  background: white;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-light);
}

.about-block h2 {
  color: var(--primary-mist);
  margin-bottom: 1rem;
}

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

.about-block li {
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  position: relative;
  color: var(--text-muted);
}

.about-block li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary-mist);
  font-weight: 600;
}

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

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 200ms ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-mist);
  box-shadow: 0 0 0 3px rgba(123, 159, 184, 0.1);
}

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

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

.form-checkbox input[type="checkbox"] {
  width: auto;
  margin-top: 0.3rem;
  cursor: pointer;
}

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

.form-group button {
  background-color: var(--primary-mist);
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms ease;
  width: 100%;
}

.form-group button:hover {
  background-color: var(--accent-hover);
  transform: scale(1.04);
}

.thank-you {
  background: var(--bg-mist);
  padding: 4rem 1.5rem;
  text-align: center;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thank-you-content {
  max-width: 600px;
}

.thank-you h1 {
  color: var(--primary-mist);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.thank-you p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.legal-content {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--border-light);
}

.legal-content h2 {
  color: var(--primary-mist);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  color: var(--text-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
}

.legal-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.legal-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

.legal-content li {
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  position: relative;
  color: var(--text-muted);
}

.legal-content li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-mist);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark-fog);
  color: white;
  padding: 1.5rem;
  z-index: 1000;
  display: none;
}

.cookie-banner.show {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

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

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cookie-accept {
  background-color: var(--primary-mist);
  color: white;
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 200ms ease;
}

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

.cookie-decline {
  background-color: transparent;
  color: white;
  padding: 0.6rem 1.5rem;
  border: 1px solid white;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 200ms ease;
}

.cookie-decline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.switcher {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.switcher button {
  background-color: white;
  color: var(--text-dark);
  padding: 0.6rem 1.2rem;
  border: 2px solid var(--border-light);
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  transition: all 200ms ease;
}

.switcher button.active {
  background-color: var(--primary-mist);
  color: white;
  border-color: var(--primary-mist);
}

.switcher button:hover {
  border-color: var(--primary-mist);
  color: var(--primary-mist);
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .hero {
    min-height: 400px;
  }

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

  .nav-menu {
    gap: 1rem;
    font-size: 0.9rem;
  }

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

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

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

  .hero-buttons {
    flex-direction: column;
  }

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

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

  .cookie-accept,
  .cookie-decline {
    width: 100%;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  h1 {
    font-size: 1.5rem;
  }

  .header-container {
    padding: 0.8rem 1rem;
  }

  .logo {
    font-size: 1.3rem;
  }

  .nav-menu {
    gap: 0.5rem;
    font-size: 0.8rem;
  }

  .cta-button,
  .cta-button-outline {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

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

  .mist-points {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 2rem 1rem;
  }
}
