/*
 * Thai AI Undressing Website - Stylesheet
 * Website: undressaipornTH.love
 * Colors inspired by Thai flag: red (#FF0000), white (#FFFFFF), blue (#0000FF)
 */

:root {
  --red: #FF0000;
  --white: #FFFFFF;
  --blue: #0000FF;
  --light-red: #FF6666;
  --light-blue: #6666FF;
  --dark: #222222;
  --gray: #888888;
  --light-gray: #F5F5F5;
  --gradient: linear-gradient(135deg, var(--red), var(--blue));
  --shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  --transition: all 0.3s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans Thai', 'Sarabun', Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--white);
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 20px;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.4;
}

p {
  margin-bottom: 15px;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

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

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

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

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

.logo img {
  width: 40px;
  height: 40px;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

.nav-link {
  position: relative;
  font-weight: 500;
}

.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-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--dark);
  margin: 6px 0;
  transition: var(--transition);
}

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

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.1), rgba(0, 0, 255, 0.1));
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  min-width: 320px;
}

.hero-title {
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.hero-image {
  flex: 1;
  min-width: 320px;
  display: flex;
  justify-content: center;
}

.hero-img-container {
  position: relative;
  width: 90%;
  max-width: 400px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shape-1, .shape-2 {
  position: absolute;
  border-radius: 50%;
}

.shape-1 {
  width: 250px;
  height: 250px;
  background-color: rgba(255, 0, 0, 0.1);
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background-color: rgba(0, 0, 255, 0.1);
  animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

.hero-svg {
  position: relative;
  z-index: 2;
  width: 200px;
  height: 200px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  text-align: center;
  cursor: pointer;
}

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

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  color: var(--white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--dark);
  border: 2px solid var(--blue);
}

.btn-secondary:hover {
  background-color: var(--blue);
  color: var(--white);
  transform: translateY(-5px);
}

.btn-large {
  padding: 15px 40px;
  font-size: 1.1rem;
}

/* Features Section */
.features {
  background-color: var(--light-gray);
  position: relative;
  overflow: hidden;
}

.features::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: rgba(255, 0, 0, 0.1);
  z-index: 0;
}

.features::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: rgba(0, 0, 255, 0.1);
  z-index: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.feature-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.feature-icon {
  margin: 0 auto 20px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon.red {
  background-color: rgba(255, 0, 0, 0.1);
}

.feature-icon.blue {
  background-color: rgba(0, 0, 255, 0.1);
}

.feature-icon svg {
  width: 40px;
  height: 40px;
}

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

.feature-text {
  color: var(--gray);
  flex-grow: 1;
}

/* How It Works Section */
.how-it-works {
  position: relative;
  overflow: hidden;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  position: relative;
  z-index: 1;
}

.steps::after {
  content: '';
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient);
  z-index: -1;
}

.step {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  text-align: center;
  position: relative;
  z-index: 2;
}

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

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

.step-text {
  color: var(--gray);
}

/* Testimonials Section */
.testimonials {
  background-color: var(--light-gray);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 0, 0, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

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

.testimonial-content {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--gray);
}

.testimonial-author {
  font-weight: 700;
}

.testimonial-rating {
  color: #FFD700;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

/* FAQ Section */
.faq {
  position: relative;
  overflow: hidden;
}

.faq::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 0, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: -1;
}

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

.faq-item {
  border-bottom: 1px solid var(--light-gray);
  margin-bottom: 20px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
}

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

.faq-toggle {
  background: none;
  border: none;
  color: var(--blue);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
  color: var(--gray);
  padding-left: 0;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--red);
}

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

.cta-title {
  margin-bottom: 20px;
}

.cta-text {
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn-cta {
  background-color: var(--white);
  color: var(--blue);
  border: none;
}

.btn-cta:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--red);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

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

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

.footer-column {
  margin-bottom: 20px;
}

.footer-title {
  margin-bottom: 20px;
  font-size: 1.2rem;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 30px;
  height: 2px;
  background: var(--gradient);
}

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

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

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

.footer-links a:hover {
  color: var(--red);
}

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

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

.footer-text {
  color: var(--gray);
  margin-bottom: 20px;
}

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

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

.social-link:hover {
  background-color: var(--red);
  transform: translateY(-5px);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray);
  font-size: 0.9rem;
}

.footer-keywords {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
  text-align: center;
  margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .section {
    padding: 60px 0;
  }
  
  .hero {
    padding-top: 60px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .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(5px, -5px);
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    justify-content: center;
    padding: 50px 20px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 1000;
  }
  
  .nav.active {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: center;
  }
  
  .nav-link {
    font-size: 1.2rem;
  }
  
  .steps::after {
    display: none;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-content {
    flex-direction: column;
  }
  
  .hero-image {
    order: -1;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 40px 0;
  }
  
  .feature-card, .step {
    min-width: 100%;
  }
}
