/* Main styles for undress-ai.lifestyle */
:root {
  --primary: #FF416C;
  --secondary: #FF4B2B;
  --dark: #222831;
  --light: #F8F9FA;
  --grey: #EEEEEE;
  --text: #393E46;
  --gradient: linear-gradient(135deg, var(--secondary), var(--primary));
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --radius: 10px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--light);
  overflow-x: hidden;
}

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

section {
  padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

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

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

h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: var(--gradient);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

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

.btn {
  display: inline-block;
  background: var(--gradient);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  color: white;
}

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

.btn-outline:hover {
  background: var(--gradient);
  color: white;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  padding: 15px 0;
  transition: var(--transition);
}

.header.scrolled {
  padding: 10px 0;
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
}

.logo-text span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--dark);
  margin: 5px 0;
  transition: var(--transition);
}

.nav {
  display: flex;
  list-style: none;
}

.nav-link {
  margin: 0 15px;
  color: var(--dark);
  font-weight: 600;
  position: relative;
}

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

.nav-link:hover::after {
  width: 100%;
}

.nav-link.btn {
  color: white;
  margin-left: 20px;
  padding: 10px 20px;
}

.nav-link.btn::after {
  display: none;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 100px;
  background-color: #FDFDFD;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: var(--gradient);
  opacity: 0.05;
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: var(--gradient);
  opacity: 0.05;
  border-radius: 50%;
}

.hero-content {
  width: 50%;
  z-index: 1;
}

.hero-img {
  width: 45%;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-title span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text);
}

.hero-btns {
  display: flex;
  gap: 20px;
}

/* Features Section */
.features {
  background-color: white;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

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

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  fill: url(#icon-gradient);
}

.feature-title {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.feature-text {
  font-size: 1rem;
  color: var(--text);
}

/* How It Works */
.how-works {
  background-color: var(--grey);
  position: relative;
}

.steps {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  flex-wrap: wrap;
}

.step {
  width: 30%;
  text-align: center;
  position: relative;
}

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

.step-title {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.step-text {
  font-size: 1rem;
  color: var(--text);
}

/* Testimonials */
.testimonials {
  background-color: white;
  position: relative;
}

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

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

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-text::before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  left: -15px;
  top: -20px;
  opacity: 0.1;
  font-family: Georgia, serif;
}

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

.testimonial-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.testimonial-info h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.testimonial-info p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--text);
  opacity: 0.8;
}

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

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

.faq-item {
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  transition: var(--transition);
}

.faq-question.active {
  background: var(--gradient);
  color: white;
}

.faq-question.active::after {
  content: '−';
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-answer-inner {
  padding: 0 0 20px;
}

/* CTA Section */
.cta {
  text-align: center;
  background: var(--light);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: var(--gradient);
  opacity: 0.05;
  border-radius: 50%;
}

.cta-title {
  max-width: 700px;
  margin: 0 auto 20px;
}

.cta-text {
  max-width: 600px;
  margin: 0 auto 30px;
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: white;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo-img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.footer-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.footer-about p {
  opacity: 0.8;
  font-size: 0.9rem;
}

.footer-heading {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
}

.footer-link {
  margin-bottom: 10px;
}

.footer-link a {
  color: white;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-link a:hover {
  opacity: 1;
  padding-left: 5px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.footer-social-link:hover {
  background: var(--gradient);
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Responsive Styles */
@media (max-width: 991px) {
  h1, .hero-title {
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero-content, .hero-img {
    width: 100%;
  }
  
  .hero {
    padding-top: 150px;
    padding-bottom: 50px;
  }
  
  .hero-content {
    text-align: center;
    margin-bottom: 50px;
  }
  
  .hero-btns {
    justify-content: center;
  }
  
  .steps {
    justify-content: center;
  }
  
  .step {
    width: 45%;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .nav {
    position: fixed;
    top: 70px;
    left: -100%;
    background: white;
    width: 100%;
    height: calc(100vh - 70px);
    flex-direction: column;
    align-items: center;
    padding: 50px 0;
    transition: var(--transition);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  .nav.active {
    left: 0;
  }
  
  .nav-link {
    margin: 15px 0;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  
  h1, .hero-title {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  section {
    padding: 60px 0;
  }
  
  .step {
    width: 100%;
    margin-bottom: 40px;
  }
  
  .step:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 576px) {
  h1, .hero-title {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3, .feature-title, .step-title {
    font-size: 1.3rem;
  }
  
  .btn {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
  
  .hero-btns {
    flex-direction: column;
    gap: 15px;
  }
  
  .hero-btns .btn {
    width: 100%;
  }
  
  section {
    padding: 50px 0;
  }
}
