/* Custom Properties */
:root {
  --primary-color: #6b21a8;     /* Purple */
  --secondary-color: #2dd4bf;   /* Teal */
  --dark-color: #4c1d95;        /* Dark purple */
  --light-color: #f8fafc;       /* Off-white */
  --gray-color: #94a3b8;        /* Medium gray */
  --text-color: #334155;        /* Slate gray for text */
  --text-light: #f8fafc;        /* Light text */
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --border-radius: 8px;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 1rem = 10px */
  scroll-behavior: smooth;
}

body {
  font-family: 'Rubik', sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

section {
  padding: 7rem 0;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
}

h1 {
  font-size: 4.2rem;
}

h2 {
  font-size: 3.2rem;
  position: relative;
  margin-bottom: 3.5rem;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1.2rem;
  width: 60%;
  height: 3px;
  background-color: var(--secondary-color);
}

h3 {
  font-size: 2.2rem;
}

p {
  margin-bottom: 1.8rem;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

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

img {
  width: 100%;
  display: block;
}

.text-center {
  text-align: center;
}

.text-center h2::after {
  left: 20%;
  width: 60%;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--primary-color);
  color: var(--text-light);
  padding: 1.2rem 2.5rem;
  border: none;
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: 500;
  border-radius: var(--border-radius);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn:hover {
  background: var(--dark-color);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--text-light);
}

.btn-teal {
  background: var(--secondary-color);
  color: var(--dark-color);
}

.btn-teal:hover {
  background: #14b8a6;
  color: var(--dark-color);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  padding: 1.5rem 0;
  transition: var(--transition);
}

.header.scrolled {
  padding: 1rem 0;
  background-color: rgba(248, 250, 252, 0.98);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo svg {
  height: 3.8rem;
  width: 3.8rem;
}

.nav-menu {
  display: flex;
  gap: 3rem;
}

.nav-menu a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 2.4rem;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(to right, rgba(76, 29, 149, 0.9), rgba(107, 33, 168, 0.8)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><rect width="20" height="20" fill="%234c1d95"/></svg>');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: var(--text-light);
  position: relative;
}

.hero-content {
  max-width: 65rem;
}

.hero h1 {
  color: var(--text-light);
  font-size: 5rem;
  margin-bottom: 2rem;
}

.hero p {
  font-size: 1.8rem;
  margin-bottom: 3rem;
}

.hero-btns {
  display: flex;
  gap: 2rem;
}

.hero-vapor {
  position: absolute;
  right: 10%;
  bottom: 20%;
  width: 200px;
  height: 200px;
  opacity: 0.8;
}

/* About Section */
.about {
  background-color: #fafaff;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-content h2::after {
  width: 40%;
}

/* Products Section */
.products h2 {
  color: var(--primary-color);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
  gap: 2.5rem;
}

.product-card {
  background: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  height: 20rem;
  overflow: hidden;
  position: relative;
}

.product-image svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: 2rem;
}

.product-title {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
}

.product-price {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

/* Features Section */
.features {
  background-color: #fafaff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
  gap: 4rem;
}

.feature-card {
  text-align: center;
  padding: 3rem 2rem;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 7rem;
  height: 7rem;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(45, 212, 191, 0.1);
  border-radius: 50%;
  color: var(--secondary-color);
}

.feature-icon svg {
  width: 4rem;
  height: 4rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
}

/* News Section */
.news-section {
  background-color: var(--dark-color);
  color: var(--text-light);
}

.news-section h2 {
  color: var(--text-light);
}

.news-section h2::after {
  background-color: var(--secondary-color);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
  gap: 2rem;
}

.news-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 2rem;
  transition: var(--transition);
  height: 100%;
}

.news-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
}

.news-card h3 {
  color: var(--secondary-color);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.news-card p {
  color: var(--gray-color);
  margin-bottom: 1.5rem;
}

.news-card a {
  color: var(--text-light);
  font-weight: 500;
  display: inline-block;
  padding: 0.5rem 0;
}

.news-card a:hover {
  color: var(--secondary-color);
}

/* Testimonials */
.testimonials {
  background-color: #fafaff;
}

.testimonial-container {
  max-width: 80rem;
  margin: 0 auto;
}

.testimonial {
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 3rem;
  position: relative;
}

.testimonial::before {
  content: """;
  position: absolute;
  top: -2rem;
  left: 2rem;
  font-size: 8rem;
  font-family: serif;
  color: var(--secondary-color);
  opacity: 0.2;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.author-info h4 {
  margin-bottom: 0.5rem;
}

.author-info p {
  color: var(--gray-color);
  margin-bottom: 0;
}

/* Newsletter Section */
.newsletter {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 5rem 0;
  text-align: center;
}

.newsletter h2 {
  color: var(--text-light);
}

.newsletter h2::after {
  left: 45%;
  width: 10%;
  background-color: var(--secondary-color);
}

.newsletter-form {
  max-width: 60rem;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1.6rem;
}

.newsletter-form .btn {
  background: var(--secondary-color);
  color: var(--dark-color);
}

.newsletter-form .btn:hover {
  background: #14b8a6;
}

/* Footer */
.footer {
  background-color: #1e1b4b;
  color: var(--text-light);
  padding: 5rem 0 0;
}

.footer h3 {
  color: var(--secondary-color);
  font-size: 1.8rem;
  position: relative;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
}

.footer h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 4rem;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 3rem;
}

.footer-about .footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  color: var(--text-light);
}

.footer-about .footer-logo svg {
  height: 4rem;
  width: 4rem;
}

.footer-about p {
  color: var(--gray-color);
}

.footer-links ul li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--gray-color);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 0.5rem;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--gray-color);
}

.contact-info svg {
  width: 2rem;
  height: 2rem;
  color: var(--secondary-color);
  flex-shrink: 0;
  margin-top: 0.3rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--secondary-color);
  color: var(--dark-color);
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 2rem 0;
  margin-top: 4rem;
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 0;
  color: var(--gray-color);
}

/* Age Verification Modal */
.age-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-modal-content {
  background-color: #fff;
  border-radius: var(--border-radius);
  padding: 3rem;
  max-width: 50rem;
  text-align: center;
}

.age-modal-content h2 {
  color: var(--primary-color);
}

.age-modal-content p {
  margin-bottom: 2rem;
}

.age-modal-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.hidden {
  display: none;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
  html {
    font-size: 55%;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-vapor {
    display: none;
  }
  
  .hero h1 {
    font-size: 3.8rem;
  }
}

@media screen and (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 7rem;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--light-color);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 5rem;
    gap: 2rem;
    transition: 0.3s;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .hero-btns {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 576px) {
  html {
    font-size: 50%;
  }
  
  h1 {
    font-size: 3.2rem;
  }
  
  h2 {
    font-size: 2.6rem;
  }
  
  .product-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
}
