/* Base Styles and Variables */
:root {
  --primary: #16a085;
  --secondary: #3498db;
  --accent: #e74c3c;
  --dark: #2c3e50;
  --light: #ecf0f1;
  --text: #34495e;
  --gradient: linear-gradient(135deg, #16a085, #2980b9);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --transition: all 0.3s ease;
  --max-width: 1200px;
  --padding: 5rem 2rem;
}

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

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

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

p {
  margin-bottom: 1.5rem;
}

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

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

/* Header Styles */
header {
  background-color: var(--dark);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

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.5rem;
}

h1 {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 0;
}

h1 span {
  color: var(--accent);
}

nav ul {
  display: flex;
  list-style: none;
}

nav li {
  margin-left: 2rem;
}

nav a {
  color: white;
  font-weight: 600;
  padding: 0.5rem 0;
}

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

/* Hero Section */
.hero {
  background: var(--gradient);
  color: white;
  padding: var(--padding);
  text-align: center;
}

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

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: white;
}

.hero h2 span {
  color: var(--light);
  position: relative;
  display: inline-block;
}

.hero h2 span::after {
  content: '';
  position: absolute;
  height: 5px;
  width: 100%;
  background-color: var(--accent);
  bottom: -5px;
  left: 0;
  border-radius: 5px;
}

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

.btn {
  display: inline-block;
  background-color: var(--accent);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow);
}

.btn:hover {
  background-color: #c0392b;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

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

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

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

.feature {
  text-align: center;
  padding: 2rem;
  border-radius: var(--radius);
  background-color: var(--light);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

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

/* How It Works */
.how-it-works {
  padding: var(--padding);
  background-color: var(--dark);
  color: white;
}

.how-it-works h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: white;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.step {
  text-align: center;
  padding: 2rem;
  border-radius: var(--radius);
  background-color: rgba(255, 255, 255, 0.1);
  position: relative;
  transition: var(--transition);
}

.step:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

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

.step h3 {
  color: white;
  margin-bottom: 1rem;
}

.step p {
  color: rgba(255, 255, 255, 0.8);
}

/* Generate CTA */
.generate-cta {
  padding: var(--padding);
  text-align: center;
  background-color: var(--primary);
  color: white;
}

.generate-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: white;
}

.generate-cta p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.generate-cta .btn {
  background-color: var(--dark);
}

.generate-cta .btn:hover {
  background-color: var(--text);
}

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

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

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

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

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

.copyright {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  nav ul {
    justify-content: center;
  }
  
  nav li {
    margin: 0 1rem;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .feature-grid, .steps {
    grid-template-columns: 1fr;
  }
  
  .features, .how-it-works, .generate-cta {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  
  nav li {
    margin: 0.5rem 0;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature, .step {
  animation: fadeInUp 0.6s ease-out forwards;
}
