/* Main styles for freenudeai.site */
:root {
  --primary: #00B4D8;
  --primary-light: #90E0EF;
  --primary-dark: #0077B6;
  --accent: #FFB703;
  --accent-light: #FFD166;
  --accent-dark: #FB8500;
  --background: #FEFAE0;
  --light-bg: #FFFFFF;
  --text: #293241;
  --dark-text: #1D3557;
  --light-text: #778DA9;
  --border: #90E0EF;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
}

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

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--dark-text);
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.8rem;
}

h2 {
  font-size: 2.4rem;
}

h3 {
  font-size: 2rem;
}

p {
  margin-bottom: 1.5rem;
}

/* Header */
header {
  background-color: var(--light-bg);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

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

.logo-icon {
  width: 42px;
  height: 42px;
}

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

/* Hero Section */
.hero {
  padding: 6rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--primary-light) 2px, transparent 2px);
  background-size: 30px 30px;
  opacity: 0.2;
  z-index: 0;
}

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

.hero-title {
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.hero-title span {
  color: var(--primary);
}

.hero-description {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-size: 1.2rem;
  color: var(--light-text);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 180, 216, 0.15);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--dark-text);
  border: 2px solid var(--accent);
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 183, 3, 0.15);
}

/* Features Section */
.features {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  display: inline-block;
  position: relative;
  margin-bottom: 1.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  border-radius: 2px;
}

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

.feature-card {
  background-color: var(--light-bg);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.feature-icon {
  margin-bottom: 1.5rem;
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

/* How It Works Section */
.how-it-works {
  padding: 6rem 0;
  background-color: var(--light-bg);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  counter-reset: step-counter;
}

.step {
  position: relative;
  padding: 2rem;
  background-color: var(--background);
  border-radius: 12px;
}

.step::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  top: -20px;
  left: 20px;
  width: 40px;
  height: 40px;
  background-color: var(--accent);
  color: var(--dark-text);
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CTA Section */
.cta {
  padding: 6rem 0;
  text-align: center;
  background-color: var(--primary-dark);
  color: white;
}

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

.cta h2 {
  color: white;
  margin-bottom: 1.5rem;
}

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

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

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-column h4 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

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

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

.footer-links a {
  color: rgba(255,255,255,0.8);
}

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

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

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 768px) {
  h1, .hero-title {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero {
    padding: 5rem 0 3rem;
  }
  
  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  h1, .hero-title {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
}
