:root {
  --primary: #4f46e5;
  --primary-light: #6366f1;
  --bg: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --card-bg: #f9fafb;
  --shadow: rgba(0, 0, 0, 0.1);
}

[data-theme='dark'] {
  --bg: #111827;
  --text: #f9fafb;
  --muted: #9ca3af;
  --card-bg: #1f2937;
  --shadow: rgba(255, 255, 255, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

header {
  background: var(--bg);
  padding: 1rem 0;
  box-shadow: 0 2px 6px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}
.logo span { color: var(--primary-light); }

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--primary); }

.hero {
  display: flex;
  align-items: center;
  padding: 4rem 0;
  background: linear-gradient(90deg, var(--primary-light), var(--primary));
  color: #fff;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}
.hero-image img {
  width: 100px;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.features, .pricing, .testimonials {
  padding: 4rem 0;
}

.features-grid, .pricing-grid, .testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card, .price-card, .testimonial-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 8px var(--shadow);
  text-align: center;
}

.price-card.featured {
  border: 2px solid var(--primary);
}

.price-card .price {
  font-size: 2rem;
  margin: 1rem 0;
  font-weight: 700;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); }

.btn-secondary {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}
.btn-secondary:hover { background: var(--primary); color: #fff; }

.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: #fff; color: var(--primary); transform: translateY(-2px); }



.cta {
  padding: 4rem 0;
  text-align: center;
  background: var(--primary);
  color: #fff;
  position: relative;
}

.theme {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 240ms ease;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

.theme:hover {
  transform: translateX(-50%) scale(1.04);
  box-shadow: 0 12px 36px rgba(250, 204, 21, 0.36), inset 0 -6px 16px rgba(0,0,0,0.10);
}

.theme img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  transform: translateY(0);
}

[data-theme='dark'] .theme {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

[data-theme='dark'] .theme img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  transform: translateY(0);
}


.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    background: var(--bg);
    padding: 1rem;
    position: absolute;
    top: 70px;
    right: 20px;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px var(--shadow);
  }
  .nav-links.show { display: flex; }
  .hero-content { grid-template-columns: 1fr; text-align: center; }
}
