/* 
 * Main Stylesheet for nakedai.beauty
 * Optimized for performance and SEO
 */

:root {
  --primary-color: #8a2be2; /* Purple */
  --secondary-color: #ff6b6b; /* Coral */
  --accent-color: #4ecdc4; /* Teal */
  --bg-color: #ffffff;
  --text-color: #333333;
  --light-gray: #f5f5f5;
  --dark-gray: #555555;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

h2:after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

h3 {
  font-size: 1.6rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

/* Header Styles */
header {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--box-shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo-container {
  flex: 0 0 200px;
}

.logo {
  width: 100%;
  height: auto;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-nav li a {
  color: var(--text-color);
  font-weight: 600;
  padding: 0.5rem 0;
  position: relative;
}

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

.main-nav li a:hover:after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  height: 20px;
}

.mobile-menu-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--text-color);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(circle at bottom right, rgba(138, 43, 226, 0.15), transparent 60%);
  z-index: 1;
}

.hero .container {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 1;
  padding-right: 40px;
}

.hero h1 {
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 90%;
}

.hero-visual {
  flex: 1;
}

.hero-illustration {
  width: 100%;
  height: auto;
}

.cta-button {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
}

.cta-button:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(255, 107, 107, 0.4);
}

/* Features Section */
.features {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 30px;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

/* How it Works Section */
.how-it-works {
  padding: 80px 0;
}

.steps {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin: 60px 0;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 30px;
  right: -20px;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
  transform: translateX(100%);
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.cta-container {
  text-align: center;
  margin-top: 40px;
}

/* Reviews Section */
.reviews {
  padding: 80px 0;
  background: linear-gradient(135deg, #f0f4ff 0%, #f5f0ff 100%);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.review-card {
  background: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.stars {
  color: gold;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.review-text {
  font-style: italic;
  margin-bottom: 15px;
}

.reviewer {
  font-weight: 600;
  color: var(--dark-gray);
  text-align: right;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  text-align: center;
  background: var(--primary-color);
  color: white;
}

.cta-section h2 {
  color: white;
}

.cta-section h2:after {
  background: white;
}

.cta-section .cta-button {
  background: white;
  color: var(--primary-color);
  margin-top: 20px;
}

.cta-section .cta-button:hover {
  background: var(--secondary-color);
  color: white;
}

/* Footer */
footer {
  background: #222;
  color: #f5f5f5;
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-logo {
  flex: 0 0 100%;
  margin-bottom: 30px;
}

.logo-small {
  width: 180px;
  height: auto;
}

.footer-links {
  flex: 1;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-column {
  flex: 0 0 auto;
  margin-right: 40px;
  margin-bottom: 20px;
}

.footer-column h4 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

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

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: #ccc;
}

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

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #aaa;
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.4rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content {
    padding-right: 0;
    margin-bottom: 40px;
    text-align: center;
  }
  
  .hero p {
    max-width: 100%;
  }
  
  .steps {
    flex-direction: column;
    gap: 40px;
  }
  
  .step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  header .container {
    position: relative;
  }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: var(--box-shadow);
  }
  
  .main-nav.active {
    display: block;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .footer-column {
    flex: 0 0 50%;
    margin-right: 0;
    padding-right: 20px;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.7rem;
  }
  
  .hero {
    padding: 120px 0 60px;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-column {
    flex: 0 0 100%;
  }
}
