/* ===========================
   Global Reset & Base Styles
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --brand-blue: #3b82f6;
  --brand-purple: #6d28d9;
  --brand-purple-dark: #4c1d95;
  --text-dark: #222;
  --text-light: #fff;
  --bg-light: #f9fafb;
  --border-light: #e5e7eb;
}

html, body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

/* ===========================
   Typography
   =========================== */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--brand-purple);
}

p {
  margin-bottom: 1rem;
  color: #444;
}

/* ===========================
   Layout & Containers
   =========================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.flex {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.text-center {
  text-align: center;
}

/* ===========================
   Sticky Header
   =========================== */
.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* ===========================
   Header
   =========================== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  width: 100%;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-large {
  width: 180px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav a {
  text-decoration: none;
}

/* ===========================
   Buttons
   =========================== */
.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--brand-purple);
  color: var(--text-light);
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--brand-purple-dark);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--brand-blue);
  color: var(--text-light);
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-secondary:hover {
  background-color: #1e40af;
}

/* ===========================
   Sections
   =========================== */
.section {
  padding: 4rem 1.5rem;
}

.section-alt {
  background-color: var(--brand-blue);
  color: var(--text-light);
  padding: 4rem 1.5rem;
}

/* ===========================
   Icons & Images
   =========================== */
.icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  border-radius: 8px;
  object-fit: contain;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ===========================
   Pricing Cards
   =========================== */
.pricing-card {
  flex: 1 1 30%;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2rem;
  margin: 1rem 0;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

.pricing-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: var(--brand-purple);
}

.pricing-card p {
  margin-bottom: 1.5rem;
  color: #555;
}

.pricing-card ul {
  margin-bottom: 1rem;
}

/* Pricing buttons */
.pricing-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.pricing-actions .btn-primary,
.pricing-actions .btn-secondary {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 600;
}

/* ===========================
   FAQ Section
   =========================== */
.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-weight: 600;
  cursor: pointer;
  color: var(--brand-purple);
}

.faq-answer {
  margin-top: 0.5rem;
  color: #555;
}

/* ===========================
   Utility Spacing
   =========================== */
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }

/* ===========================
   Responsive Adjustments
   =========================== */
@media (max-width: 1024px) {
  .pricing-card {
    flex: 1 1 45%;
  }
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 1rem;
  }

  .header-left {
    flex-direction: column;
    gap: 1rem;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .header-right {
    justify-content: center;
  }

  .logo-large {
    width: 150px;
  }

  .pricing-card {
    flex: 1 1 100%;
    margin-bottom: 1.5rem;
  }

  .faq-item {
    font-size: 0.95rem;
  }

  h1 {
    font-size: 1.75rem;
  }
}
