:root {
  --color-primary: #AAC4F5;
  --color-secondary: #8CA9FF;
  --color-light: #FFF8DE;
  --color-accent: #FFF2C6;
  --color-text: #2c3e50;
  --color-text-light: #546e7a;
  --color-white: #ffffff;
  --color-border: #e0e0e0;

  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 4rem;

  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.12);

  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
  background: linear-gradient(135deg, var(--color-light) 0%, var(--color-accent) 100%);
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(170, 196, 245, 0.03) 2px, rgba(170, 196, 245, 0.03) 4px),
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(140, 169, 255, 0.03) 2px, rgba(140, 169, 255, 0.03) 4px);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
  position: relative;
  z-index: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

p {
  margin-bottom: var(--space-sm);
  font-size: clamp(0.875rem, 2vw, 1rem);
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: var(--transition-base);
}

a:hover {
  color: var(--color-primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: var(--space-sm) 0;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 4rem;
  position: relative;
  z-index: 20;
}

.logo img {
  display: inline-block;
  transform: rotate(-5deg);
  transition: transform var(--transition-normal);
}

.logo:hover img {
  transform: rotate(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .logo img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 768px) {
  .logo img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 576px) {
  .logo img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 400px) {
  .logo img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

.nav {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
}

.nav a:hover {
  background: var(--color-accent);
  color: var(--color-secondary);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-xs);
  background: transparent;
  border: none;
}

.burger span {
  width: 25px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition-base);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.mobile-nav.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: var(--space-md);
}

.mobile-nav a {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  padding: var(--space-sm);
}

.close-menu {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-size: 2rem;
  cursor: pointer;
  color: var(--color-text);
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero {
  padding: var(--space-xl) 0;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-base);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}

.btn-outline:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}

.section {
  padding: var(--space-lg) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  color: var(--color-text);
}

.grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--color-white);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--color-secondary);
  margin-bottom: var(--space-sm);
}

.card h3 {
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.card p {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--color-light), var(--color-accent));
}

.product-content {
  padding: var(--space-md);
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.product-price {
  font-size: 1.5rem;
  color: var(--color-secondary);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  font-family: var(--font-heading);
}

.testimonial {
  background: var(--color-white);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-quote {
  font-style: italic;
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.9rem;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
  color: var(--color-text);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition-base);
  background: var(--color-white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(140, 169, 255, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
}

.checkbox-group label {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin: 0;
}

.contact-info {
  background: var(--color-white);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--color-secondary);
}

.contact-item-text h4 {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: var(--color-text);
}

.contact-item-text p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin: 0;
}

.map-container {
  margin-top: var(--space-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

.footer {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: var(--space-md) 0;
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-xl);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-links {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  padding: var(--space-md);
  z-index: 1000;
  transition: bottom var(--transition-base);
  border-top: 3px solid var(--color-secondary);
}

.cookie-popup.show {
  bottom: 0;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 250px;
}

.cookie-text p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin: 0;
}

.cookie-buttons {
  display: flex;
  gap: var(--space-sm);
}

.thankyou-container {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) var(--space-sm);
}

.thankyou-content {
  max-width: 600px;
}

.thankyou-icon {
  font-size: 4rem;
  color: var(--color-secondary);
  margin-bottom: var(--space-md);
}

.error-container {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) var(--space-sm);
}

.error-content {
  max-width: 600px;
}

.error-code {
  font-size: clamp(4rem, 10vw, 8rem);
  font-family: var(--font-heading);
  color: var(--color-secondary);
  margin-bottom: var(--space-md);
  line-height: 1;
}

.legal-content {
  background: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: var(--space-lg);
  color: var(--color-text);
}

.legal-content h3 {
  margin-top: var(--space-md);
  color: var(--color-text);
}

.legal-content ul,
.legal-content ol {
  margin-left: var(--space-md);
  margin-bottom: var(--space-sm);
}

.legal-content li {
  margin-bottom: var(--space-xs);
  font-size: 0.9rem;
  color: var(--color-text-light);
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  :root {
    --space-sm: 0.75rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 2.5rem;
  }

  .header {
    padding: 0.75rem 0;
  }

  .card {
    padding: var(--space-sm);
  }

  .product-content {
    padding: var(--space-sm);
  }
}