/* 
 * Cloth Remover From Body Website Styles
 * A unique design with purple and pink gradient theme
 */

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

:root {
  /* Color palette - purple/pink themed */
  --color-primary: #8b5cf6;
  --color-secondary: #ec4899;
  --color-accent: #fcd34d;
  --color-dark: #1f2937;
  --color-light: #f9fafb;
  --color-mid: #9ca3af;
  --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  
  /* Typography */
  --font-primary: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  
  /* Borders */
  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 1rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  
  /* Container widths */
  --container-width: 1200px;
}

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

body {
  font-family: var(--font-primary);
  color: var(--color-dark);
  line-height: 1.6;
  background-color: var(--color-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: var(--border-radius-sm);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

ul {
  list-style: none;
}

section {
  padding: var(--space-lg) var(--space-md);
}

.container, 
.header-container,
.hero-container,
.benefits-container,
.cta-container,
.footer-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

/* Button styles */
.cta-button, 
.plan-button {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.cta-button:hover,
.plan-button:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  color: white;
}

.cta-button.large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* Header styles */
header {
  background-color: white;
  box-shadow: var(--shadow-sm);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: var(--space-sm) 0;
}

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

.logo {
  width: 180px;
  height: 45px;
}

.logo-svg {
  width: 100%;
  height: 100%;
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: var(--space-md);
}

nav ul li a {
  color: var(--color-dark);
  font-weight: 500;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

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

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

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-primary);
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) {
  top: 0;
}

.menu-toggle span:nth-child(2) {
  top: 13px;
}

.menu-toggle span:nth-child(3) {
  bottom: 0;
}

/* Hero section */
.hero {
  background-color: #f0f9ff;
  padding: calc(var(--space-lg) * 2) 0 var(--space-lg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: radial-gradient(circle at 10% 20%, rgba(139, 92, 246, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
  z-index: 0;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.hero-text {
  width: 50%;
  padding-right: var(--space-md);
}

.hero-text h1 {
  margin-bottom: var(--space-sm);
  font-size: 3rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
  color: var(--color-dark);
  max-width: 500px;
}

.hero-visual {
  width: 45%;
}

.hero-svg {
  width: 100%;
  height: auto;
}

/* How it works */
.how-it-works {
  background-color: white;
}

.steps {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

.step {
  flex: 0 0 30%;
  text-align: center;
  padding: var(--space-md);
  border-radius: var(--border-radius-lg);
  background-color: white;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.step:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-sm);
}

/* Features section */
.features {
  background-color: #f9f7fd;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.feature {
  background-color: white;
  padding: var(--space-md);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: var(--space-sm);
}

/* Benefits section */
.benefits {
  background-color: white;
}

.benefits-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.benefit-text {
  width: 55%;
  padding-right: var(--space-md);
}

.benefit-text h2 {
  text-align: left;
  padding-bottom: var(--space-sm);
}

.benefit-text h2::after {
  left: 0;
  transform: none;
}

.benefits-list li {
  display: flex;
  margin-bottom: var(--space-md);
}

.check-icon {
  color: var(--color-primary);
  font-size: 1.5rem;
  font-weight: bold;
  margin-right: var(--space-sm);
}

.benefit-visual {
  width: 40%;
}

.benefit-svg {
  width: 100%;
  height: auto;
}

/* Pricing section */
.pricing {
  background-color: #f9f7fd;
}

.pricing-plans {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
  flex-wrap: wrap;
}

.plan {
  background-color: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-md);
  flex: 1;
  max-width: 350px;
  transition: all 0.3s ease;
  position: relative;
}

.plan:hover {
  transform: translateY(-10px);
}

.plan.featured {
  border: 2px solid var(--color-primary);
  transform: scale(1.05);
  z-index: 1;
}

.plan-tag {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  padding: 5px 15px;
  border-radius: var(--border-radius-md);
  font-size: 0.8rem;
  font-weight: bold;
}

.plan-header {
  text-align: center;
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-sm);
  border-bottom: 1px solid #eee;
}

.price {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--color-primary);
}

.price span {
  font-size: 1rem;
  color: var(--color-mid);
  font-weight: normal;
}

.plan-features {
  margin-bottom: var(--space-md);
}

.plan-features li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.plan-features li::before {
  content: "✓";
  color: var(--color-primary);
  position: absolute;
  left: 0;
}

.plan-button {
  display: block;
  width: 100%;
}

/* FAQ section */
.faq {
  background-color: white;
}

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

.faq-item {
  margin-bottom: var(--space-md);
  padding: var(--space-md);
  background-color: #f9f7fd;
  border-radius: var(--border-radius-md);
}

.faq-item h3 {
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

/* CTA section */
.cta-section {
  background: var(--gradient-primary);
  color: white;
  text-align: center;
  padding: var(--space-lg) 0;
}

.cta-container h2 {
  color: white;
}

.cta-container p {
  max-width: 600px;
  margin: 0 auto var(--space-md);
}

.cta-container .cta-button {
  background: white;
  color: var(--color-primary);
}

.cta-container .cta-button:hover {
  background: var(--color-accent);
  color: var(--color-dark);
}

/* Footer */
footer {
  background-color: var(--color-dark);
  color: white;
  padding-top: var(--space-lg);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-logo {
  flex: 0 0 100%;
  margin-bottom: var(--space-md);
}

@media (min-width: 768px) {
  .footer-logo {
    flex: 0 0 30%;
    margin-bottom: 0;
  }
}

.footer-logo-svg {
  width: 180px;
  height: 45px;
  margin-bottom: var(--space-sm);
}

.footer-links {
  flex: 0 0 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer-links {
    flex: 0 0 65%;
  }
}

.footer-column {
  flex: 0 0 100%;
  margin-bottom: var(--space-md);
}

@media (min-width: 576px) {
  .footer-column {
    flex: 0 0 30%;
    margin-bottom: 0;
  }
}

.footer-column h4 {
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  font-size: 1.1rem;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: #ddd;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding: var(--space-md) 0;
  margin-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .steps {
    gap: var(--space-sm);
  }
}

@media (max-width: 768px) {
  header {
    padding: var(--space-sm) 0;
  }
  
  .menu-toggle {
    display: block;
    z-index: 1001;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: white;
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    z-index: 1000;
    padding: calc(var(--space-lg) + 20px) var(--space-md) var(--space-md);
  }
  
  nav.active {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
  }
  
  nav ul li {
    margin-left: 0;
    margin-bottom: var(--space-md);
  }
  
  .hero-container {
    flex-direction: column;
  }
  
  .hero-text, 
  .hero-visual {
    width: 100%;
    padding-right: 0;
  }
  
  .hero-text {
    margin-bottom: var(--space-md);
  }
  
  .steps {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .step {
    flex: 0 0 100%;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .benefits-container {
    flex-direction: column;
  }
  
  .benefit-text,
  .benefit-visual {
    width: 100%;
    padding-right: 0;
  }
  
  .benefit-visual {
    margin-top: var(--space-md);
  }
  
  .pricing-plans {
    flex-direction: column;
    align-items: center;
  }
  
  .plan {
    width: 100%;
    margin-bottom: var(--space-md);
  }
  
  .plan.featured {
    transform: none;
  }
}
