/* Modern CSS with CSS Variables for Theming */
:root {
  /* Colors */
  --primary: #10B981;
  --primary-light: rgba(16, 185, 129, 0.1);
  --primary-dark: #059669;
  --accent: #F472B6;
  --text-dark: #1E293B;
  --text-light: #64748B;
  --text-white: #FFFFFF;
  --bg-white: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-dark: #0F172A;
  --border: #E2E8F0;
  
  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-secondary: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Other */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: all 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.5;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

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

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

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

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

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

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

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-svg {
  width: 40px;
  height: 40px;
}

.logo-container h1 {
  font-size: 1.25rem;
  margin: 0;
}

nav ul {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--text-dark);
  font-weight: 500;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: 6rem 0;
  position: relative;
  background: linear-gradient(135deg, var(--bg-light) 0%, #ECFDF5 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 40%;
  height: 70%;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.05);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 50%;
  height: 60%;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.05);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  max-width: 540px;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.button-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons */
.primary-button {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 500;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.primary-button:hover {
  background-color: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.outline-button {
  display: inline-block;
  background-color: transparent;
  color: var(--primary);
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 500;
  border: 2px solid var(--primary);
  transition: var(--transition);
}

.outline-button:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.footer-button {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  transition: var(--transition);
}

.footer-button:hover {
  background-color: var(--primary-dark);
  color: white;
}

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

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

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

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

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

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

.feature-card p {
  color: var(--text-light);
}

/* Divider Section */
.divider {
  padding: 5rem 0;
  background-color: var(--primary);
  color: white;
}

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

.divider-content h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: white;
}

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

.divider .primary-button:hover {
  background-color: var(--bg-light);
  color: var(--primary-dark);
}

/* Explore Section */
.explore {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

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

.explore-item {
  padding: 2rem;
  background-color: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.explore-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.explore-number {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.875rem;
}

.explore-item h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.explore-item p {
  color: var(--text-light);
}

/* Start Section */
.start {
  padding: 5rem 0;
  background-color: var(--bg-white);
}

.start-container {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  align-items: center;
}

.start-content {
  max-width: 600px;
}

.start-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.start-content > p {
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

.steps {
  margin-bottom: 2.5rem;
}

.steps li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

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

.step-text h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.step-text p {
  color: var(--text-light);
}

/* CTA Section */
.cta {
  padding: 5rem 0;
  background-color: #ECFDF5;
}

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

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  margin-bottom: 2rem;
  color: var(--text-light);
}

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

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

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo p {
  font-size: 1.25rem;
  font-weight: 500;
}

.footer-links h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--text-white);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

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

.footer-cta h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--text-white);
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  .start-container {
    grid-template-columns: 1fr;
  }
  
  .start-visual {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero-graphic {
    display: flex;
    justify-content: center;
  }
  
  .button-group {
    justify-content: center;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  #mainNav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    padding: 1rem;
    box-shadow: var(--shadow);
    display: none;
  }
  
  #mainNav.active {
    display: block;
  }
  
  #mainNav ul {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-toggle.active span:first-child {
    transform: translateY(9px) rotate(45deg);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:last-child {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-logo {
    align-items: center;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .feature-grid,
  .explore-grid {
    grid-template-columns: 1fr;
  }
}
