/* 
 * Malaysian AI Clothes Remover - Main Stylesheet
 * Website: aiclothesremoverMY.love
 */

:root {
  --primary: #EB4D4B;
  --secondary: #3867D6;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --dark: #1A1A2E;
  --gray: #8D8D8D;
  --light-gray: #F1F1F1;
  --white: #FFFFFF;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --rounded: 12px;
  --transition: all 0.3s ease;
  --container-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--white);
}

.wrapper {
  overflow: hidden;
}

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

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

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

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--rounded);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--dark);
  border: 2px solid var(--light-gray);
}

.btn-secondary:hover {
  background-color: var(--light-gray);
  transform: translateY(-3px);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.button-group {
  display: flex;
  gap: 15px;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* Header Styles */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 15px 20px;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--dark);
}

.logo-svg {
  border-radius: 8px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

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

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

.nav-list a {
  color: var(--dark);
  font-weight: 500;
  padding: 5px 0;
  position: relative;
}

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

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

/* Banner Section */
.banner {
  padding: 80px 20px;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(235, 77, 75, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
}

.banner-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.banner-content {
  flex: 1;
  max-width: 600px;
}

.banner-content h1 {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.banner-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--gray);
}

.banner-visual {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.visual-container {
  width: 100%;
  max-width: 400px;
  height: 400px;
}

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

.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  color: var(--dark);
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--gradient);
  margin: 15px auto 0;
  border-radius: 2px;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  max-width: var(--container-width);
  margin: 0 auto;
}

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

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

.feature-icon {
  margin-bottom: 25px;
}

.feature-box h3 {
  margin-bottom: 15px;
  color: var(--dark);
}

.feature-box p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* How It Works Section */
.how-it-works {
  padding: 100px 20px;
  background-color: var(--white);
}

.steps-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: var(--container-width);
  margin: 0 auto 40px;
  gap: 20px;
}

.step {
  flex: 1;
  min-width: 250px;
  display: flex;
  gap: 20px;
  background-color: var(--light-gray);
  border-radius: var(--rounded);
  padding: 30px;
  box-shadow: var(--shadow);
}

.step-arrow {
  display: flex;
  align-items: center;
}

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

.step-content {
  flex: 1;
}

.step-content h3 {
  margin-bottom: 10px;
}

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

/* Testimonials Section */
.testimonials {
  padding: 100px 20px;
  background-color: var(--light-gray);
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 70%, rgba(56, 103, 214, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  max-width: var(--container-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

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

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stars {
  color: #FFD700;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.quote {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--dark);
}

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

/* FAQ Section */
.faq {
  padding: 100px 20px;
  background-color: var(--white);
}

.faq-container {
  max-width: var(--container-width);
  margin: 0 auto;
}

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

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

.faq-question h3 {
  margin-bottom: 0;
}

.faq-toggle {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  background-color: var(--primary);
  transition: var(--transition);
}

.faq-toggle::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.faq-toggle::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-item.active .faq-toggle::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

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

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

/* Final CTA Section */
.final-cta {
  padding: 100px 20px;
  background: var(--gradient);
  text-align: center;
  color: var(--white);
}

.final-cta h2 {
  margin-bottom: 20px;
}

.final-cta p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.final-cta .btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

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

.footer-container {
  max-width: var(--container-width);
  margin: 0 auto;
}

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

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

.footer-branding h3 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

.footer-links-column h4 {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

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

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

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

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

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

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

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

.keywords {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .banner-container {
    flex-direction: column;
  }
  
  .banner-content,
  .banner-visual {
    text-align: center;
    max-width: 100%;
  }
  
  .button-group {
    justify-content: center;
  }
  
  .visual-container {
    margin-top: 40px;
  }
  
  .steps-container {
    flex-direction: column;
  }
  
  .step-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    padding: 80px 20px;
    transition: var(--transition);
    z-index: 1000;
  }
  
  .nav.active {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-top {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .btn {
    width: 100%;
  }
  
  .button-group {
    flex-direction: column;
  }
}
