/* Main styles for freenudeai.party - Unique purple/blue theme */

/* Color Variables */
:root {
  --primary: #8843F2;
  --secondary: #3FB1F5;
  --accent: #FF6B8B;
  --success: #41D7A7;
  --dark: #1A1A2E;
  --light: #F8F9FA;
  --gray: #6C757D;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #333;
  display: flex;
  background-color: var(--light);
}

a {
  text-decoration: none;
}

/* Typography */
h1, h2, h3, h4 {
  margin-bottom: 0.5rem;
}

h1 {
  font-size: 3rem;
  line-height: 1.2;
}

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

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

/* Layout - Unique side navigation */
.side-nav {
  width: 250px;
  height: 100vh;
  background: white;
  position: fixed;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  z-index: 100;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
}

main {
  margin-left: 250px;
  width: calc(100% - 250px);
}

section {
  padding: 5rem 2rem;
}

/* Logo */
.logo-container {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.logo {
  margin-right: 1rem;
}

.logo-text {
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--dark);
}

/* Side Navigation */
nav ul {
  list-style: none;
}

nav ul li {
  margin-bottom: 0.5rem;
}

nav ul li a {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  color: var(--gray);
  border-radius: 8px;
  transition: all 0.3s ease;
}

nav ul li a:hover {
  background: rgba(136, 67, 242, 0.1);
  color: var(--primary);
}

nav ul li a.active {
  background: var(--primary);
  color: white;
}

.icon {
  margin-right: 0.5rem;
}

.nav-cta {
  margin-top: auto;
  padding: 1rem 0;
}

.nav-button {
  display: block;
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
  transition: all 0.3s ease;
}

.nav-button:hover {
  background: #7431e0;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(136, 67, 242, 0.3);
}

.nav-toggle {
  display: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-content {
  padding: 2rem;
}

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

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

.description {
  color: var(--gray);
  margin-bottom: 2rem;
  max-width: 500px;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
}

.button {
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s ease;
  display: inline-block;
}

.primary {
  background: var(--primary);
  color: white;
  border: none;
}

.primary:hover {
  background: #7431e0;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(136, 67, 242, 0.3);
}

.secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.secondary:hover {
  background: rgba(136, 67, 242, 0.1);
  transform: translateY(-3px);
}

.large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Features Section */
.features {
  background: white;
}

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

.features h2, .examples h2, .testimonials h2, .how-it-works h2 {
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
}

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

.feature-icon {
  margin-bottom: 1rem;
}

/* Examples Section */
.examples {
  background: #f8f9fa;
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.example-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.example-card h3 {
  padding: 1rem;
  text-align: center;
}

.examples-cta {
  text-align: center;
  margin-top: 3rem;
}

/* How It Works Section */
.steps {
  max-width: 700px;
  margin: 0 auto;
}

.step {
  display: flex;
  margin-bottom: 2.5rem;
}

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

/* Testimonials */
.testimonials {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
}

.testimonials h2 {
  color: white;
}

.testimonials h2::after {
  background: white;
  left: 50%;
  transform: translateX(-50%);
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 10px;
  margin: 0 auto;
  max-width: 700px;
  text-align: center;
}

.stars {
  color: gold;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.quote {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 1rem;
}

.user {
  font-weight: bold;
}

/* CTA Section */
.cta {
  background: white;
  text-align: center;
  padding: 5rem 2rem;
}

.cta p {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--gray);
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--light);
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.footer-logo {
  width: 100px;
  margin-bottom: 1rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 30px;
  background: var(--primary);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: #adb5bd;
  transition: all 0.3s ease;
}

.footer-col ul li 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: #adb5bd;
}

/* Mobile Navigation */
@media (max-width: 992px) {
  .side-nav {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    width: 280px;
  }
  
  .side-nav.open {
    transform: translateX(0);
  }
  
  .nav-toggle {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 101;
    background: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  
  .nav-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--primary);
    margin: 2px 0;
    transition: all 0.3s ease;
  }
  
  main {
    margin-left: 0;
    width: 100%;
  }
  
  /* Responsive sections */
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .cta-buttons {
    justify-content: center;
  }
  
  .features-grid, .example-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* JavaScript for menu toggle */
document.addEventListener('DOMContentLoaded', function() {
  const navToggle = document.querySelector('.nav-toggle');
  const sideNav = document.querySelector('.side-nav');
  
  navToggle.addEventListener('click', function() {
    sideNav.classList.toggle('open');
  });
});
