/*
 * freeundress.party - Main Stylesheet
 * Modern, clean design with mobile-first approach
 */

/* Base styles and reset */
:root {
  --primary: #ff3366;
  --primary-light: #ff7799;
  --primary-dark: #cc1a4a;
  --secondary: #23232e;
  --text-light: #ffffff;
  --text-dark: #222222;
  --bg-light: #f9f9f9;
  --bg-dark: #1a1a24;
  --shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-light);
  overflow-x: hidden;
  position: relative;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 700;
}

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

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

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

/* Layout containers */
.header-container, 
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

section {
  padding: 5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Gradient background */
.gradient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 51, 102, 0.05) 0%, rgba(35, 35, 46, 0.05) 100%);
  z-index: -1;
}

/* Header styles */
header {
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 100;
}

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

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

.logo-icon {
  width: 40px;
  height: 40px;
  margin-right: 0.75rem;
}

.logo span {
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--primary);
}

nav {
  display: flex;
  gap: 1.5rem;
}

nav a {
  font-weight: 600;
  color: var(--secondary);
  position: relative;
}

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

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

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

/* Hero section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
  text-align: center;
}

.hero-content {
  max-width: 700px;
  margin-bottom: 3rem;
}

.hero-content h1 {
  font-size: 2.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

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

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

/* Buttons */
.cta-container {
  margin-bottom: 2rem;
}

.primary-btn {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(255, 51, 102, 0.4);
  transition: all 0.3s ease;
}

.primary-btn:hover {
  background-color: var(--primary-dark);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 51, 102, 0.5);
}

/* Pulse animation */
.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 5px 15px rgba(255, 51, 102, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 51, 102, 0.6);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 5px 15px rgba(255, 51, 102, 0.4);
  }
}

/* Features highlight */
.features-highlight {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.feature-icon {
  width: 20px;
  height: 20px;
}

/* How it works section */
.how-it-works {
  background-color: white;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 4rem 2rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 3rem;
}

.step {
  display: flex;
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.step.visible {
  opacity: 1;
  transform: translateY(0);
}

.step-icon {
  flex-shrink: 0;
  position: relative;
  width: 60px;
  height: 60px;
}

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

.step-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 700;
  color: var(--primary);
}

.step-content {
  flex: 1;
}

/* Benefits section */
.benefits {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.benefit-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
  padding: 4rem 2rem;
  border-radius: 20px;
  margin-top: 3rem;
  margin-bottom: 5rem;
}

.cta-section h2,
.cta-section .highlight {
  color: white;
}

.cta-section .primary-btn {
  background-color: white;
  color: var(--primary);
  margin-top: 1.5rem;
}

.cta-section .primary-btn:hover {
  background-color: var(--bg-light);
  color: var(--primary-dark);
}

/* Footer */
footer {
  background-color: var(--secondary);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.footer-icon {
  width: 40px;
  height: 40px;
  margin-right: 0.75rem;
}

.footer-logo span {
  font-weight: 700;
  font-size: 1.2rem;
  color: white;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.link-group h4 {
  color: var(--primary-light);
  margin-bottom: 1rem;
}

.link-group a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
}

.link-group a:hover {
  color: white;
}

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

/* Media Queries for Responsiveness */
@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.5rem;
  }
  
  .hero {
    flex-direction: row;
    gap: 3rem;
    text-align: left;
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
  
  .hero-content {
    margin-bottom: 0;
    flex: 1;
  }
  
  .hero-visual {
    flex: 1;
    max-width: none;
  }
  
  .features-highlight {
    justify-content: flex-start;
  }
  
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (max-width: 767px) {
  header {
    padding: 1rem 0;
  }
  
  .logo span {
    font-size: 1.2rem;
  }
  
  nav {
    gap: 1rem;
  }
  
  nav a {
    font-size: 0.9rem;
  }
  
  .features-highlight {
    flex-direction: column;
    align-items: center;
  }
  
  section {
    padding: 3rem 1rem;
  }
  
  .cta-section {
    padding: 3rem 1rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .primary-btn {
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
  }
}
