/* 
* aiundressing.makeup - Styles
* Main colors: Purple (#9C27B0) and Gold (#FFC107)
*/

:root {
  --primary: #9C27B0;
  --secondary: #FFC107;
  --dark: #212121;
  --light: #FAFAFA;
  --gray: #757575;
  --light-gray: #E0E0E0;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 16px rgba(0,0,0,0.18);
  --border-radius: 10px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--white);
  overflow-x: hidden;
}

img, svg {
  max-width: 100%;
  height: auto;
}

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

ul {
  list-style-type: none;
}

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

section {
  padding: 6rem 0;
  position: relative;
}

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

h1 {
  font-size: clamp(2.6rem, 5vw, 4rem);
  letter-spacing: -0.5px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2.5rem;
  text-align: center;
  letter-spacing: -0.3px;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

.highlight {
  position: relative;
  color: var(--primary);
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: var(--secondary);
  opacity: 0.3;
  z-index: -1;
  border-radius: 4px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: var(--shadow-md);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
  background-color: rgba(156, 39, 176, 0.08);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1.2rem 2.8rem;
  font-size: 1.1rem;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.4rem;
  font-weight: 700;
}

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

.nav-container {
  display: flex;
  align-items: center;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav ul li a {
  font-weight: 500;
  position: relative;
}

nav ul li a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: var(--transition);
}

nav ul li a:hover:not(.btn) {
  color: var(--primary);
}

nav ul li a:hover:not(.btn)::after {
  width: 100%;
}

.cta-button {
  margin-left: 1rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
  margin-left: 1rem;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--dark);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 4px;
}

/* Hero Section */
.hero {
  display: flex;
  min-height: 100vh;
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
}

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

.hero-content {
  max-width: 600px;
  padding: 4rem 0;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

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

.hero-visual {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.circle-pattern {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(156, 39, 176, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
}

.hero-shape {
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
}

/* Features Section */
.features {
  background-color: var(--light);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-align: center;
}

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

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  color: var(--primary);
}

/* How It Works Section */
.how-it-works {
  background-color: var(--white);
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin: 4rem 0;
}

.step {
  position: relative;
}

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

.cta-center {
  margin-top: 3rem;
}

/* Testimonials Section */
.testimonials {
  background: linear-gradient(to bottom, var(--light) 0%, var(--white) 100%);
  text-align: center;
}

.testimonial {
  max-width: 800px;
  margin: 0 auto 3rem;
  padding: 2rem;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.stars {
  color: var(--secondary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.quote {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 1rem;
}

.author {
  font-weight: 600;
  color: var(--gray);
}

/* FAQ Section */
.faq {
  background-color: var(--light);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: rgba(156, 39, 176, 0.05);
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.2rem;
}

.faq-plus {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--primary);
  transition: var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  margin-bottom: 0;
}

.faq-item.active .faq-plus {
  transform: rotate(45deg);
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

/* CTA Section */
.cta-section {
  background: var(--gradient);
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
}

.cta-section .highlight::after {
  background-color: rgba(255, 255, 255, 0.3);
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.2rem;
  opacity: 0.9;
}

.cta-section .btn {
  background-color: var(--white);
  color: var(--primary);
}

.cta-section .btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.footer-nav ul {
  display: flex;
  gap: 2rem;
}

.footer-nav ul li a:hover {
  color: var(--secondary);
}

.footer-middle {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
  display: flex;
  justify-content: space-around;
  gap: 4rem;
}

.footer-links h4 {
  color: var(--light-gray);
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}

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

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links ul li a:hover {
  color: var(--secondary);
}

.footer-bottom {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .circle-pattern {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .hero-shape {
    right: auto;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    top: 70%;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }
  
  .menu-toggle {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--white);
    padding: 8rem 2rem 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
  }
  
  nav.active {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cta-button {
    margin-left: 0;
    margin-top: 1rem;
  }
  
  .cta-button .btn {
    width: 100%;
  }
  
  .footer-top {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .footer-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero {
    padding-top: 4rem;
  }
  
  .steps {
    grid-template-columns: 1fr;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
}
