/*
 * aiclothesremoverUS.pw - Main Stylesheet
 * American AI clothes remover website
 * Date: August 2025
 */

:root {
  /* Color Palette - American-inspired */
  --navy: #041E42;         /* Deep navy blue */
  --red: #BF0D3E;          /* Bold American red */
  --red-light: #E63946;    /* Lighter red */
  --white: #FFFFFF;        /* Pure white */
  --off-white: #F5F5F5;    /* Off-white for backgrounds */
  --silver: #C0C0C0;       /* Silver */
  --gray-light: #D3D3D3;   /* Light gray */
  --gray: #808080;         /* Medium gray */
  --gray-dark: #404040;    /* Dark gray */
  --black: #000000;        /* Black */
  --blue: #1A4B84;         /* Deep blue */
  --blue-light: #4682B4;   /* Steel blue */
  
  /* Effects */
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.2);
  --transition: all 0.3s ease;
  --transition-fast: all 0.2s ease;
  --transition-slow: all 0.5s ease;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-round: 50px;
  --gradient-red: linear-gradient(135deg, var(--red) 0%, var(--red-light) 100%);
  --gradient-blue: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
}

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

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

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

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

section {
  padding: 80px 0;
}

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

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

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

h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--red);
}

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

h3 {
  font-size: 1.6rem;
}

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

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

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

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

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

.highlight {
  color: var(--red);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-round);
  transition: var(--transition);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(191, 13, 62, 0.3);
  border: none;
}

.btn-primary:hover {
  background: var(--red-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(191, 13, 62, 0.4);
  color: var(--white);
}

.btn-secondary {
  background: var(--navy);
  color: var(--white);
  border: none;
  box-shadow: 0 4px 15px rgba(4, 30, 66, 0.3);
}

.btn-secondary:hover {
  background: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(4, 30, 66, 0.4);
  color: var(--white);
}

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

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: var(--transition);
  padding: 20px 0;
}

.header.scrolled {
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  padding: 15px 0;
}

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

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

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

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

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

.nav-menu li a {
  color: var(--navy);
  font-weight: 600;
  padding: 5px 0;
  position: relative;
}

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

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

.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: 30px;
  height: 3px;
  background-color: var(--navy);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 180px 0 120px;
  background-color: var(--off-white);
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(191, 13, 62, 0.05) 0%, transparent 70%),
    radial-gradient(circle at 90% 90%, rgba(4, 30, 66, 0.05) 0%, transparent 70%);
  overflow: hidden;
}

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

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background-color: rgba(191, 13, 62, 0.1);
  border: 1px solid rgba(191, 13, 62, 0.2);
  color: var(--red);
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
}

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

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

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

.age-warning {
  margin-top: 30px;
  padding: 15px;
  border-radius: var(--radius-sm);
  background-color: rgba(191, 13, 62, 0.05);
  border-left: 3px solid var(--red);
  display: flex;
  align-items: center;
  gap: 12px;
}

.age-warning svg {
  color: var(--red);
  flex-shrink: 0;
}

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

.features-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.03;
  z-index: 0;
  background-image: 
    linear-gradient(30deg, var(--navy) 12%, transparent 12.5%, transparent 87%, var(--navy) 87.5%, var(--navy)),
    linear-gradient(150deg, var(--navy) 12%, transparent 12.5%, transparent 87%, var(--navy) 87.5%, var(--navy)),
    linear-gradient(30deg, var(--navy) 12%, transparent 12.5%, transparent 87%, var(--navy) 87.5%, var(--navy)),
    linear-gradient(150deg, var(--navy) 12%, transparent 12.5%, transparent 87%, var(--navy) 87.5%, var(--navy)),
    linear-gradient(60deg, var(--navy) 25%, transparent 25.5%, transparent 75%, var(--navy) 75%, var(--navy)),
    linear-gradient(60deg, var(--navy) 25%, transparent 25.5%, transparent 75%, var(--navy) 75%, var(--navy));
  background-size: 80px 140px;
  background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
}

.features-content {
  position: relative;
  z-index: 1;
}

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

.feature-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-light);
  height: 100%;
}

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

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-md);
  background: rgba(4, 30, 66, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

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

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

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

.how-it-works:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(191, 13, 62, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(4, 30, 66, 0.03) 0%, transparent 50%);
}

.steps-container {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

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

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

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

.step-content {
  flex: 1;
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 25px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
}

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

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

/* Testimonials Section */
.testimonials {
  background-color: var(--white);
  position: relative;
}

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

.testimonial-card {
  background-color: var(--off-white);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.testimonial-card:before {
  content: '"';
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 4rem;
  line-height: 1;
  color: rgba(191, 13, 62, 0.1);
  font-family: Georgia, serif;
}

.testimonial-stars {
  display: flex;
  gap: 5px;
  margin-bottom: 15px;
}

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

.testimonial-author {
  font-weight: 600;
  color: var(--navy);
}

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

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

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

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

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

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

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

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

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

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

.faq-item.active .faq-question {
  background-color: rgba(4, 30, 66, 0.02);
}

/* CTA Section */
.cta {
  background: var(--gradient-blue);
  padding: 80px 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta:before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}

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

.cta h2 {
  color: var(--white);
  margin-bottom: 25px;
}

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

.cta p {
  margin-bottom: 30px;
  font-size: 1.1rem;
}

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

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

.footer-about {
  grid-column: 1;
}

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

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

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

.footer-about p {
  color: var(--gray-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.footer-heading {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

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

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

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

.footer-links a {
  color: var(--gray-light);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

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

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

.copyright {
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray-light);
  margin-bottom: 15px;
}

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

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

@media screen and (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  section {
    padding: 60px 0;
  }
  
  .hero {
    padding: 140px 0 80px;
  }
  
  .hero-container {
    flex-direction: column;
  }
  
  .hero-content {
    text-align: center;
    max-width: 100%;
  }
  
  h2:after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--white);
    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);
  }
}

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