/* Singapore AI Clothes Remover - Custom CSS */
:root {
  --primary: #f53d3d;
  --primary-dark: #d32f2f;
  --primary-light: #ff6b6b;
  --secondary: #2c3e50;
  --text: #333;
  --text-light: #666;
  --background: #fff;
  --background-alt: #f9f9f9;
  --border-radius: 8px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', 'Arial', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--background);
  overflow-x: hidden;
}

/* Singapore-inspired background pattern */
.sg-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--primary-light) 1px, transparent 1px),
                    radial-gradient(var(--primary-light) 1px, transparent 1px);
  background-position: 0 0, 25px 25px;
  background-size: 50px 50px;
  opacity: 0.05;
  z-index: -1;
}

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

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--secondary);
  margin-bottom: 20px;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 15px;
}

/* Header & Navigation */
header {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

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

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

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

.logo-wrap h1 {
  font-size: 1.5rem;
  margin: 0;
  color: var(--primary);
}

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

.nav-desktop ul li {
  margin-left: 30px;
}

.nav-desktop ul li a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
  transition: var(--transition);
}

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

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

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

.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
}

.menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  margin: 5px 0;
  transition: var(--transition);
}

.nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--background);
  z-index: 1100;
  transition: right 0.3s ease;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
}

.nav-mobile.active {
  right: 0;
}

.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo-sm {
  width: 30px;
  height: 30px;
}

.close-btn {
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--secondary);
}

.nav-mobile ul {
  list-style-type: none;
  padding: 20px;
}

.nav-mobile ul li {
  margin-bottom: 20px;
}

.nav-mobile ul li a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
  display: block;
  padding: 10px;
  transition: var(--transition);
  border-radius: var(--border-radius);
}

.nav-mobile ul li a:hover {
  background-color: rgba(245, 61, 61, 0.1);
  color: var(--primary);
}

/* Hero Section */
.hero {
  padding-top: 100px;
  background: linear-gradient(135deg, #fff 50%, #ffefef 100%);
  position: relative;
  overflow: hidden;
}

.hero .container {
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-content {
  max-width: 550px;
  padding: 50px 0;
}

.hero-content h2 {
  font-size: 3.2rem;
  margin-bottom: 25px;
  background: linear-gradient(to right, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 40px;
}

.cta-btn {
  display: inline-block;
  padding: 15px 35px;
  background-color: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 10px 20px rgba(245, 61, 61, 0.3);
}

.cta-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(245, 61, 61, 0.4);
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-graphic {
  width: 100%;
  max-width: 500px;
  animation: float 6s ease-in-out infinite;
}

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

/* Features Section */
.features {
  padding: 100px 0;
  background-color: var(--background-alt);
}

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

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

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

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

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

.feature-icon {
  margin: 0 auto 25px;
  width: 70px;
  height: 70px;
}

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

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

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

.process-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 60px;
}

.process-number {
  background-color: var(--primary);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
  margin-right: 30px;
  flex-shrink: 0;
}

.process-content {
  position: relative;
}

.process-content h3 {
  margin-bottom: 10px;
  color: var(--secondary);
}

.process-item:not(:last-child) .process-content::before {
  content: '';
  position: absolute;
  top: 70px;
  left: -45px;
  width: 2px;
  height: 40px;
  background-color: rgba(245, 61, 61, 0.3);
}

.action-panel {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--border-radius);
  padding: 60px 40px;
  text-align: center;
  margin-top: 60px;
  box-shadow: 0 15px 50px rgba(245, 61, 61, 0.3);
}

.action-panel h3 {
  color: white;
  margin-bottom: 30px;
  font-size: 2.2rem;
}

.action-panel .cta-btn {
  background-color: white;
  color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

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

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

.faq-item {
  background-color: white;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.faq-question h3 {
  font-size: 1.2rem;
  margin: 0;
  color: var(--secondary);
  transition: var(--transition);
}

.arrow {
  position: relative;
  width: 20px;
  height: 20px;
}

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

.arrow::before {
  width: 12px;
  height: 2px;
  top: 9px;
  right: 0;
}

.arrow::after {
  width: 2px;
  height: 12px;
  top: 4px;
  right: 5px;
}

.faq-item.active .arrow::after {
  opacity: 0;
}

.faq-item.active .faq-question {
  background-color: var(--primary);
}

.faq-item.active .faq-question h3 {
  color: white;
}

.faq-item.active .arrow::before,
.faq-item.active .arrow::after {
  background-color: white;
}

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

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 20px 25px;
}

/* Footer */
footer {
  background-color: var(--secondary);
  color: white;
  padding: 80px 0 30px;
}

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

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

.footer-logo svg {
  width: 50px;
  height: 50px;
}

.footer-logo h3 {
  color: white;
  margin-bottom: 5px;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

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

.link-group h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 10px;
}

.link-group h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary);
}

.link-group ul {
  list-style-type: none;
}

.link-group ul li {
  margin-bottom: 12px;
}

.link-group ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.link-group ul li a:hover {
  color: var(--primary-light);
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
    padding: 30px 0;
  }
  
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  .hero-visual {
    margin-top: 40px;
    order: 2;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  
  .menu-btn {
    display: block;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .process-item {
    flex-direction: column;
  }
  
  .process-number {
    margin-bottom: 20px;
    margin-right: 0;
  }
  
  .process-item:not(:last-child) .process-content::before {
    display: none;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 30px;
    align-items: center;
    text-align: center;
  }
  
  .link-group h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 576px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
  
  .hero {
    padding-top: 80px;
  }
  
  .action-panel {
    padding: 40px 20px;
  }
  
  .action-panel h3 {
    font-size: 1.8rem;
  }
}
