/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #6c5ce7;
  --color-primary-dark: #5849c2;
  --color-secondary: #2d3436;
  --color-accent: #00cec9;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f6fa;
  --color-text: #2d3436;
  --color-text-light: #636e72;
  --color-border: #dfe6e9;
  --color-white: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --max-width: 1100px;
}

html {
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}

.nav-links a {
  font-weight: 500;
  color: var(--color-text-light);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--color-primary);
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(108, 92, 231, 0.35);
}

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

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

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

.btn-sm {
  padding: 8px 20px;
  font-size: 0.9rem;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, #8e7bf0 100%);
  color: var(--color-white);
  text-align: center;
  padding: 100px 0 120px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero .highlight {
  color: var(--color-accent);
}

.hero-subtitle {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 36px;
  opacity: 0.9;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero .btn-secondary {
  color: var(--color-white);
  border-color: var(--color-white);
}

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

/* ===== Page Header (sub-pages) ===== */
.page-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, #8e7bf0 100%);
  color: var(--color-white);
  text-align: center;
  padding: 80px 0 60px;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-subtitle {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 500px;
  margin: 0 auto;
}

/* ===== Sections ===== */
.content-section {
  padding: 80px 0;
}

.content-section.alt-bg {
  background: var(--color-bg-alt);
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 48px;
}

/* ===== Two Column Layout ===== */
.two-col {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: center;
}

.two-col h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.two-col p {
  color: var(--color-text-light);
  margin-bottom: 16px;
}

/* ===== Stats Card ===== */
.stats-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* ===== Feature Grid ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* ===== Team Grid ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.team-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.team-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.team-role {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.team-card p:last-child {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* ===== Pricing Grid ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}

.pricing-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.pricing-featured {
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-secondary);
  margin-bottom: 8px;
}

.pricing-period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-light);
}

.pricing-desc {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.pricing-features {
  margin-bottom: 28px;
  flex-grow: 1;
}

.pricing-features li {
  padding: 6px 0;
  font-size: 0.95rem;
  color: var(--color-text);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}

.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.faq-item p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: var(--color-secondary);
  color: var(--color-white);
  text-align: center;
  padding: 64px 0;
}

.cta-banner h2 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 28px;
}

/* ===== Footer ===== */
.footer {
  background: #1a1a2e;
  color: var(--color-white);
  padding: 32px 0;
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer p {
  opacity: 0.7;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  opacity: 0.7;
  font-size: 0.9rem;
  transition: opacity 0.2s;
}

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

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-col {
    grid-template-columns: 1fr;
  }

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

  .page-header h1 {
    font-size: 2rem;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 500px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .stats-card {
    grid-template-columns: 1fr;
  }

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

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn {
    padding: 10px 22px;
    font-size: 0.9rem;
  }
}
