:root {
  --color-primary: #450693;
  --color-secondary: #8C00FF;
  --color-accent: #FF3F7F;
  --color-highlight: #FFC400;
  --color-dark: #1a0033;
  --color-light: #f8f5ff;
  --color-white: #ffffff;
  --color-text: #2d1b4e;
  --color-text-light: #6b5b7a;

  --font-display: 'Righteous', cursive;
  --font-body: 'Outfit', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 5rem;

  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 2rem;

  --shadow-sm: 0 2px 8px rgba(69, 6, 147, 0.1);
  --shadow-md: 0 4px 16px rgba(69, 6, 147, 0.15);
  --shadow-lg: 0 8px 32px rgba(69, 6, 147, 0.2);

  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s ease;
  --transition-slow: 0.6s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-light);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  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.4rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

p {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  margin-bottom: var(--space-sm);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-secondary);
  color: var(--color-secondary);
}

.btn-outline:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}

header {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-white);
  padding: var(--space-sm) 0;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  z-index: 100;
  overflow: visible;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.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 ul {
  display: flex;
  list-style: none;
  gap: var(--space-md);
  align-items: center;
}

nav a {
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-highlight);
  transition: var(--transition-fast);
}

nav a:hover::after {
  width: 100%;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.burger span {
  width: 1.8rem;
  height: 3px;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(69, 6, 147, 0.05), rgba(140, 0, 255, 0.05));
  overflow: hidden;
  padding: var(--space-xl) 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 150%;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  opacity: 0.1;
  transform: rotate(-15deg);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero h1 {
  margin-bottom: var(--space-md);
  animation: revealText 0.8s ease forwards;
  opacity: 0;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: var(--space-lg);
  animation: revealText 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero .btn {
  animation: revealText 0.8s ease 0.4s forwards;
  opacity: 0;
}

@keyframes revealText {
  to {
    opacity: 1;
    transform: translateY(0);
  }

  from {
    transform: translateY(20px);
  }
}

.section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-header h2 {
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
  border-radius: 2px;
}

.reveal-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-section.revealed {
  opacity: 1;
  transform: translateY(0);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-normal);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card:hover::before {
  transform: scaleX(1);
}

.card i {
  font-size: 2.5rem;
  color: var(--color-secondary);
  margin-bottom: var(--space-sm);
}

.card h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.product-card:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

.product-info {
  padding: var(--space-md);
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--color-accent);
  margin: var(--space-sm) 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm);
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.info-item i {
  font-size: 1.5rem;
  color: var(--color-secondary);
  margin-top: 0.2rem;
}

form {
  background: var(--color-white);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--color-primary);
  font-size: 0.9rem;
}

input,
textarea {
  width: 100%;
  padding: 0.9rem;
  border: 2px solid rgba(69, 6, 147, 0.2);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  background: var(--color-light);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  background: var(--color-white);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
}

.checkbox-wrapper input[type="checkbox"] {
  width: auto;
  margin-top: 0.2rem;
}

.map-container {
  margin-top: var(--space-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.faq-item {
  background: var(--color-white);
  margin-bottom: var(--space-sm);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  padding: var(--space-md);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--color-primary);
  transition: var(--transition-fast);
}

.faq-question:hover {
  background: var(--color-light);
}

.faq-question i {
  transition: var(--transition-fast);
  color: var(--color-secondary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition-normal);
  padding: 0 var(--space-md);
}

.faq-answer.active {
  max-height: 500px;
  padding: 0 var(--space-md) var(--space-md);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

footer {
  background: linear-gradient(135deg, var(--color-primary), var(--color-dark));
  color: var(--color-white);
  padding: var(--space-lg) 0 var(--space-md);
  margin-top: var(--space-xl);
  clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-md);
}

.footer-section h4 {
  color: var(--color-highlight);
  margin-bottom: var(--space-sm);
  font-size: 1.1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: var(--space-xs);
}

.footer-section a {
  font-size: 0.9rem;
  opacity: 0.9;
  transition: var(--transition-fast);
}

.footer-section a:hover {
  opacity: 1;
  color: var(--color-highlight);
  padding-left: 0.3rem;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  opacity: 0.8;
}

.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  padding: var(--space-md);
  z-index: 1000;
  transition: var(--transition-slow);
}

.cookie-popup.show {
  bottom: 0;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.cookie-text {
  flex: 1;
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  gap: var(--space-sm);
}

.cookie-buttons .btn {
  padding: 0.7rem 1.5rem;
  font-size: 0.85rem;
}

.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-content h1 {
  font-size: clamp(4rem, 10vw, 8rem);
  color: var(--color-secondary);
  margin-bottom: var(--space-md);
}

.thank-you-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) 0;
}

.thank-you-content {
  max-width: 600px;
}

.thank-you-content i {
  font-size: 4rem;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

.policy-content h2 {
  margin-top: var(--space-lg);
  color: var(--color-primary);
}

.policy-content h3 {
  margin-top: var(--space-md);
  color: var(--color-secondary);
}

.policy-content ul,
.policy-content ol {
  margin-left: var(--space-md);
  margin-bottom: var(--space-sm);
}

@media (max-width: 768px) {
  header {
    overflow: visible !important;
    clip-path: none !important;
    z-index: 100;
  }

  .header-content {
    position: relative;
    z-index: 100;
  }

  nav {
    position: static;
    z-index: auto;
  }

  nav ul {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    bottom: auto !important;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
    flex-direction: column;
    padding: var(--space-xl) var(--space-md);
    align-items: flex-start;
    transform: translateX(100%);
    transition: var(--transition-normal);
    opacity: 0;
    visibility: hidden;
    box-shadow: var(--shadow-lg);
    z-index: 99999 !important;
    pointer-events: none;
    overflow-y: auto;
    margin: 0;
    list-style: none;
    isolation: isolate;
    will-change: transform, opacity, visibility;
  }

  nav ul.active {
    transform: translateX(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
  }

  nav a::after {
    display: none;
  }

  .burger {
    display: flex;
    position: relative;
    z-index: 10000;
  }

  .burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(0.5rem, 0.5rem);
  }

  .burger.active span:nth-child(2) {
    opacity: 0;
  }

  .burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0.5rem, -0.5rem);
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cookie-buttons .btn {
    width: 100%;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  :root {
    font-size: 14px;
  }

  .hero {
    min-height: 60vh;
  }

  .map-container {
    height: 300px;
  }
}