@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
html {
  scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/*Variables*/
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-card: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #6b7280;
  --accent: #dc2626;
  --accent-hover: #b91c1c;
  --border: #e5e7eb;
  --shadow: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
  --bg-primary: #0f172a;
  --bg-secondary: #132034;
  --bg-card: #1e293b;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --border: #334155;
  --shadow: rgba(0, 0, 0, 0.3);
}
/*Main*/
body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: all 0.3s ease, color 0.3s ease;
}
/*Header and Navigation*/
header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--accent);
}
#mobileSidebar {
  display: none;
}
#sidebarBtn {
  display: none;
}

#startBtn {
  background: var(--accent);
  color: white;
  padding: 0.625rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

#startBtn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.theme-toggle {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  background: var(--border);
}
/*Hero Section*/
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 1000;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

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

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

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.buttonOne,
.buttonTwo {
  padding: 1rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.buttonOne {
  background: var(--accent);
  color: white;
}

.buttonOne:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--shadow);
}

.buttonTwo {
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 2px solid var(--border);
}

.buttonTwo:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 60px var(--shadow);
  transition: transform 0.3s ease;
}

.hero-image img:hover {
  transform: scale(1.02);
}
/*Features*/
.features {
  background: var(--bg-secondary);
  padding: 5rem 2rem;
}

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

.feature-list {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 2rem;
}

.feature-item {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow);
  border-color: var(--accent);
}

.feature-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-item p {
  color: var(--text-secondary);
  line-height: 1.7;
}
/*Testimonials*/
.testimonials {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

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

.testimonial-item {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.testimonial-item:hover {
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: 0 5px 20px var(--shadow);
}

.quote {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-style: italic;
}

.author {
  color: var(--text-secondary);
  font-weight: 600;
}

.userIcon{
  width: 50px;
  border-radius: 50px;
}
/*Pricing*/
.pricing {
  background: var(--bg-secondary);
  padding: 5rem 2rem;
}

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

.pricing-cards {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.pricing-card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 16px;
  border: 2px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px var(--shadow);
}

.pricing-card.popular {
  border-color: var(--accent);
  box-shadow: 0 10px 30px var(--shadow);
}

.pricing-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.badge {
  background-color: gold;
  color: black;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-left: 0.5rem;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  margin: 1rem 0;
}

.price span {
  font-size: 1.25rem;
  color: var(--text-secondary);
}

.desc {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  min-height: 3rem;
}

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  background: var(--bg-card);
  color: var(--text-primary);
  border: 2px solid var(--border);
}

.btn:hover {
  transform: translateY(-2px);
  color: var(--accent);
  border-color: var(--accent);
}

.btn.primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.btn.primary:hover {
  background: var(--accent-hover);
}
/*Call to Action*/
.cta {
  padding: 5rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, var(--accent) 0%, #991b1b 100%);
}

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

.cta h2 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1rem;
  font-weight: 700;
}

.cta p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.cta .btn.primary {
  background: white;
  color: var(--accent);
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
}

.cta .btn.primary:hover {
  background-color: rgb(255, 220, 220);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
/*Footer*/
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
}

footer p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/*Mobile Optmization*/
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  nav ul {
    gap: 1rem;
    font-size: 0.9rem;
  }
  .desktopOnly {
    display: none;
  }
  #sidebarBtn {
    display: block;
    background-color: var(--bg-card);
    border-radius: 5px;
    color: var(--text-primary);
    border: none;
    font-size: 24px;
    cursor: pointer;
    margin-right: 30px;
    z-index: 1000;
    transform: rotate(360deg);
    transition: all 0.3s ease;
  }
  #sidebarBtn.active {
    transform: rotate(90deg);
    transition: all 0.3s ease;
  }
  #mobileSidebar {
    opacity: 0;
    display: block;
    position: fixed;
    top: -250px;
    width: 200vh;
    padding-bottom: 30px;
    z-index: 1000;
    padding-left: 5vh;
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
  }
  #mobileSidebar.open {
    top: 80px;
    opacity: 1;
  }
  #mobileSidebar ul {
    list-style: none;
  }
  #mobileSidebar li {
    padding-top: 20px;
  }
  #mobileSidebar a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
  }
  #mobileSidebar a:hover {
    color: var(--accent);
  }
  .pricing-cards,
  .feature-list,
  .testimonial-list {
    grid-template-columns: 1fr;
  }
}
