:root {
  --purple: #6a1b9a;
  --blue: #2196f3;
  --deep-blue: #3c3e94;
  --light-bg: #f9f8ff;
}

/* Basic layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.container-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.appbar {
  background: linear-gradient(90deg, var(--purple), var(--blue));
  color: white;
}
.nav-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}
.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
  gap: 0.75rem;
}
.nav-logo {
  height: 36px;
  width: auto;
}
.brand-text {
  font-weight: 700;
  font-size: 1.05rem;
  color: white;
}

/* Nav links */
.nav-links a {
  color: rgba(255, 255, 255, 0.95);
  margin-left: 1rem;
  text-decoration: none;
  font-weight: 600;
}
.nav-links a:hover {
  opacity: 0.9;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: white;
  padding: 4rem 0;
  border-bottom-left-radius: 48px;
  border-bottom-right-radius: 48px;
}
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero-left {
  flex: 1 1 480px;
  padding: 1rem;
}
.hero-right {
  flex: 1 1 420px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}
.hero-logo {
  max-width: 140px;
  display: block;
  margin-bottom: 1rem;
}
.hero-title {
  font-size: 2.6rem;
  margin: 0 0 0.5rem;
  color: var(--deep-blue);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.9)
  );
  -webkit-background-clip: text;
  color: transparent;
}
.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1rem;
  max-width: 520px;
}
.hero-cta {
  display: inline-block;
  background: white;
  color: var(--purple);
  padding: 0.8rem 1.4rem;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(26, 18, 77, 0.12);
}

/* hero image */
.hero-image {
  max-width: 420px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.12));
}

/* Sections */
section {
  padding: 3.5rem 0;
}
.features {
  background: var(--light-bg);
}
.features h2,
.pricing h2 {
  text-align: center;
  font-size: 1.9rem;
  color: var(--deep-blue);
  margin-bottom: 1.25rem;
}

/* Features grid */
.features-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 1.5rem;
}
.feature-item {
  background: white;
  padding: 1.6rem;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(21, 19, 43, 0.06);
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(21, 19, 43, 0.08);
}
.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

/* Pricing */
.pricing-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.pricing-card {
  width: 300px;
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(21, 19, 43, 0.06);
  text-align: center;
  transition: transform 0.18s ease;
}
.pricing-card:hover {
  transform: translateY(-8px);
}
.pricing-card.highlight {
  border: 2px solid rgba(106, 27, 154, 0.12);
  background: linear-gradient(180deg, #fff, #f6f3ff);
}
.price {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--deep-blue);
  margin: 0.6rem 0;
}
.btn-choose {
  display: inline-block;
  background: linear-gradient(90deg, var(--purple), var(--blue));
  color: white;
  padding: 0.6rem 1.1rem;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 700;
}

/* Contact */
.contact-form {
  max-width: 560px;
  margin: 1rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.contact-form input,
.contact-form textarea {
  padding: 0.85rem;
  border-radius: 10px;
  border: 1px solid #e4e4f3;
}

/* Footer */
.footer {
  background: #0f1724;
  color: #dbeafe;
  padding: 1.25rem 0;
  margin-top: 2rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

/* Responsiveness */
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column-reverse;
    text-align: center;
  }
  .hero-title {
    font-size: 2rem;
  }
  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
