/*
 * aiclothingremoverUS.pw - Main Stylesheet
 * American-focused AI clothing removal website
 * Date: August 2025
 */

:root {
  /* Color Palette - Red, White, Blue Americana theme with modern twist */
  --primary: #1A237E;       /* Deep navy blue */
  --primary-light: #534BAE;
  --primary-dark: #121858;
  --accent: #D32F2F;        /* Bold red */
  --accent-light: #FF6659;
  --accent-dark: #9A0007;
  --neutral-light: #F5F5F5;
  --neutral: #E0E0E0;
  --neutral-dark: #9E9E9E;
  --text-light: #FFFFFF;
  --text-dark: #212121;
  --text-muted: #757575;
  --background: #FFFFFF;
  --background-alt: #F9F9F9;
  
  /* Effects */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --transition: all 0.25s ease;
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  --pattern-overlay: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231a237e' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background-color: var(--background);
  line-height: 1.6;
  overflow-x: hidden;
}

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

section {
  padding: 80px 0;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  position: relative;
}

h1 span {
  color: var(--accent);
}

h2 {
  font-size: 2.2rem;
  position: relative;
  margin-bottom: 2rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 70px;
  height: 4px;
  background: var(--accent);
}

.text-center h2::after {
  left: 50%;
  transform: translateX(-50%);
}

h3 {
  font-size: 1.6rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

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

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

.text-center {
  text-align: center;
}

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

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

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(26, 35, 126, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(26, 35, 126, 0.6);
  transform: translateY(-3px);
}

.btn-accent {
  background: var(--gradient-accent);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

.btn-accent:hover {
  box-shadow: 0 6px 20px rgba(211, 47, 47, 0.5);
  transform: translateY(-3px);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--text-light);
}

.btn-lg {
  padding: 15px 34px;
  font-size: 1.1rem;
}

/* 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-sm);
  padding: 18px 0;
  transition: var(--transition);
}

.header.scrolled {
  padding: 12px 0;
  box-shadow: var(--shadow-md);
}

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

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

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  font-family: 'Raleway', sans-serif;
}

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

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

.nav-menu li a {
  color: var(--text-dark);
  font-weight: 600;
  position: relative;
}

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

.nav-menu li a:hover {
  color: var(--accent);
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 5px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  background-color: var(--background-alt);
  background-image: var(--pattern-overlay);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(211, 47, 47, 0.05);
}

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

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

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(211, 47, 47, 0.1);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 30px;
  margin-bottom: 25px;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  margin-right: 8px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.age-warning {
  margin-top: 30px;
  padding: 15px;
  border-left: 3px solid var(--accent);
  background: rgba(211, 47, 47, 0.05);
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.age-warning svg {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

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

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

.feature-card {
  background: var(--background);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  padding: 30px;
  transition: var(--transition);
  border: 1px solid var(--neutral);
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: var(--gradient-primary);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
  border-color: var(--neutral-light);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: rgba(26, 35, 126, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.feature-icon svg {
  width: 35px;
  height: 35px;
  color: var(--primary);
}

.feature-card h3 {
  margin-bottom: 15px;
}

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

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

.step {
  display: flex;
  gap: 30px;
  margin-bottom: 50px;
  position: relative;
}

.step:last-child {
  margin-bottom: 0;
}

.step-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: var(--gradient-accent);
  color: var(--text-light);
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(211, 47, 47, 0.3);
}

.step-content {
  background: var(--background);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  flex: 1;
}

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

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

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

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

.faq-item {
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  border: 1px solid var(--neutral);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.faq-toggle {
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: var(--transition);
}

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

.faq-answer-content {
  padding: 20px 25px;
  border-top: 1px solid var(--neutral);
}

.faq-answer-content p:last-child {
  margin-bottom: 0;
}

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

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

/* CTA Section */
.cta {
  padding: 80px 0;
  background: var(--gradient-primary);
  color: var(--text-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: var(--pattern-overlay);
  opacity: 0.05;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta h2 {
  color: var(--text-light);
  margin-bottom: 20px;
}

.cta h2::after {
  background: var(--text-light);
  left: 50%;
  transform: translateX(-50%);
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.cta .btn {
  background: var(--text-light);
  color: var(--primary);
  font-weight: 700;
}

.cta .btn:hover {
  background: var(--accent);
  color: var(--text-light);
}

.cta-note {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 20px;
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: var(--text-light);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

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

.footer-logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-light);
}

.footer-logo-text span {
  color: var(--accent-light);
}

.footer-about p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

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

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent);
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent-light);
  padding-left: 5px;
}

.footer-divider {
  margin: 20px 0;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  margin-bottom: 10px;
}

.footer-keywords {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
  html {
    font-size: 15px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .footer-about {
    grid-column: span 2;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--background);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .step {
    flex-direction: column;
    text-align: center;
  }
  
  .step-number {
    margin: 0 auto 20px;
  }
  
  .age-warning {
    text-align: left;
  }
}

@media screen and (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-about {
    grid-column: span 1;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}
