/* Modern CSS with optimized variables for theming */
:root {
  --primary-color: #8C52FF;
  --secondary-color: #FF6B6B;
  --accent-color: #43D8C9;
  --text-color: #333333;
  --light-text: #FFFFFF;
  --dark-bg: #202040;
  --light-bg: #F8F9FA;
  --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-bg);
  overflow-x: hidden;
}

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

h1 {
  font-size: 2.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: 2rem;
  color: var(--primary-color);
}

h3 {
  font-size: 1.5rem;
  color: var(--dark-bg);
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

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

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

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

header {
  background: var(--dark-bg);
  color: var(--light-text);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

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

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

.logo img {
  height: 40px;
}

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

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

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

.hero h1 {
  color: var(--light-text);
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

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

.btn {
  display: inline-block;
  background: var(--dark-bg);
  color: var(--light-text);
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.btn-primary {
  background: var(--light-text);
  color: var(--primary-color);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.2);
  color: var(--light-text);
  background: var(--accent-color);
}

.btn-primary:hover {
  color: var(--secondary-color);
}

section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

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

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

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

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

.testimonials {
  background: var(--light-bg);
}

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

.testimonial-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
}

.cta {
  background: var(--gradient);
  color: var(--light-text);
  text-align: center;
}

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

footer {
  background: var(--dark-bg);
  color: var(--light-text);
  padding: 3rem 0;
}

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

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

.footer-logo img {
  height: 30px;
}

.footer-links h4 {
  margin-bottom: 1rem;
  color: var(--accent-color);
}

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

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

.footer-links a {
  color: var(--light-text);
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
}

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

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

/* Media Queries */
@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--dark-bg);
    height: 0;
    overflow: hidden;
    transition: var(--transition);
  }

  nav.active {
    height: auto;
    padding: 1rem 0;
    box-shadow: var(--shadow);
  }

  nav ul {
    flex-direction: column;
  }

  nav li {
    margin: 0.5rem 0;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  section {
    padding: 3rem 0;
  }
}

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

.animate {
  animation: fadeIn 0.6s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}
