/* Modern CSS with variables for easy theme changes */
:root {
  --primary-color: #6e48aa;
  --secondary-color: #9d50bb;
  --text-color: #333;
  --light-text: #f8f9fa;
  --background: #ffffff;
  --card-bg: #f8f8f8;
  --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background);
  overflow-x: hidden;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header styles */
header {
  background: var(--gradient);
  color: var(--light-text);
  padding: 1.5rem 0;
  box-shadow: var(--shadow);
}

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

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

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

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

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

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

nav a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Mobile menu */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--light-text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero section */
.hero {
  padding: 5rem 0;
  text-align: center;
  background: var(--gradient);
  color: var(--light-text);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.cta-button {
  display: inline-block;
  background: #fff;
  color: var(--primary-color);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  color: var(--secondary-color);
}

/* Features section */
.features {
  padding: 5rem 0;
  background: var(--background);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

.section-title h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 70%;
  height: 3px;
  background: var(--gradient);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

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

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

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

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
}

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

/* CTA section */
.cta-section {
  padding: 5rem 0;
  text-align: center;
  background: var(--gradient);
  color: var(--light-text);
}

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

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

/* Footer */
footer {
  background: #2c2c2c;
  color: var(--light-text);
  padding: 3rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-logo svg {
  width: 30px;
  height: 30px;
}

.footer-links h3, .footer-social h3 {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-links h3::after, .footer-social h3::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 2px;
  background: var(--secondary-color);
  bottom: 0;
  left: 0;
}

.footer-links ul, .footer-social ul {
  list-style: none;
}

.footer-links li, .footer-social li {
  margin-bottom: 10px;
}

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

.footer-links a:hover, .footer-social a:hover {
  color: var(--secondary-color);
}

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

/* Responsive styles */
@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-info {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .header-content {
    position: relative;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-color);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: var(--transition);
    z-index: 100;
  }
  
  nav.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  
  nav ul {
    flex-direction: column;
    padding: 20px;
  }
  
  nav li {
    margin: 10px 0;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .cta-section h2 {
    font-size: 2rem;
  }
}
