:root {
  --primary: #1a73e8;
  --accent: #ffc107;
  --dark: #0f172a;
  --light: #f9f9f9;
  --white: #fff;
}

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

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
  transition: background 0.3s ease, color 0.3s ease;
}

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

header {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease-in-out;
}

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

.logo {
  font-weight: 700;
  color: var(--primary);
  font-size: 32px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  transition: color 0.3s ease, transform 0.3s ease;
}

nav a:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

.hero {
  background: linear-gradient(to right, #1a73e8, #0049b7);
  color: white;
  text-align: center;
  padding: 5rem 2rem;
  transition: all 0.3s ease;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  animation: slideIn 0.8s ease-out both;
}

.hero .btn-accent {
  background: var(--accent);
  color: black;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero .btn-accent:hover {
  background: #e6aa00;
  transform: scale(1.05);
}

.section {
  padding: 4rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  position: relative;
}

.section-title::after {
  content: '';
  width: 60px;
  height: 3px;
  background: var(--primary);
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  flex: 1;
  min-width: 250px;
  max-width: 400px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.dark-bg {
  background-color: #eaf1fb;
}

.white {
  color: var(--dark);
}

.pricing-card .price-tag {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

ul {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
}

ul li {
  margin-bottom: 0.5rem;
  color: #333;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.3rem;
  background: var(--primary);
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background: #0049b7;
  transform: scale(1.03);
}

footer {
  background: var(--dark);
  color: #bbb;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

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

a:hover {
  text-decoration: underline;
}

/* Animations */
.fade-in {
  animation: fadeIn 1s ease forwards;
  opacity: 0;
}

.fade-in.delay {
  animation-delay: 0.5s;
}

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

@keyframes slideIn {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ✅ FINAL Mobile Optimization */
@media (max-width: 768px) {
  header {
    padding: 0.5rem 1rem;
  }

  .nav-container {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .logo {
    font-size: 20px;
  }

  nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 0.5rem;
  }

  nav a {
    font-size: 13px;
    padding: 3px 6px;
    margin: 0;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .section {
    padding: 2rem 1rem;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
    padding: 1.5rem;
  }

  footer {
    font-size: 13px;
    padding: 10px;
  }
}
