/* =========================================================
   Gyan Suite — Education ERP Solution
   Main Stylesheet
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand colors extracted from Gyan Suite logo */
  --primary:       #1B2F5C;   /* dark navy — logo text */
  --primary-dark:  #111e3d;   /* deeper navy for hover states */
  --primary-light: #e8edf8;   /* light navy tint */
  --accent:        #2CAF8C;   /* teal green — logo icon */
  --accent-dark:   #1f8c6e;   /* darker teal */
  --accent-light:  #e6f7f3;   /* light teal tint */

  /* Neutrals */
  --text:   #111827;
  --muted:  #6b7280;
  --border: #e5e7eb;
  --white:  #ffffff;
  --bg:     #f9fafb;

  /* Status */
  --success: #10b981;

  /* Misc */
  --radius:    12px;
  --shadow:    0 4px 24px rgba(27, 47, 92, 0.10);
  --shadow-lg: 0 10px 40px rgba(27, 47, 92, 0.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== LAYOUT ===== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(44, 175, 140, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary-light);
}
.btn-white {
  background: var(--white);
  color: var(--primary);
}
.btn-white:hover {
  background: #f0f4ff;
  transform: translateY(-1px);
}
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* ===== BADGE ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-light);
  color: var(--accent-dark);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

/* ===== TYPOGRAPHY ===== */
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
}
.section-subtitle {
  font-size: 17px;
  color: var(--muted);
  margin-top: 12px;
  max-width: 600px;
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 12px auto 0; }


/* ==========================================================
   NAVBAR
   ========================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo img {
  height: 44px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary); font-weight: 600; }
.nav-links a.active { border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--border);
  background: white;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 24px;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.mobile-menu a:hover,
.mobile-menu a.active { background: var(--accent-light); color: var(--accent-dark); font-weight: 600; }
.mobile-btn-row { display: flex; gap: 12px; padding: 16px 24px; }


/* ==========================================================
   HERO
   ========================================================== */
.hero {
  background: linear-gradient(135deg, #edf3ff 0%, #fafbff 60%, #e0f5f0 100%);
  padding: 100px 0 80px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(44, 175, 140, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.hero-tag { margin-bottom: 20px; }
.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
}
.hero h1 .highlight { color: var(--primary); }
.hero p {
  margin-top: 20px;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
}
.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.hero-trust {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}
.hero-trust-avatars { display: flex; }
.hero-trust-avatars img {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid white;
  margin-left: -8px;
  object-fit: cover;
}
.hero-trust-avatars img:first-child { margin-left: 0; }

/* Dashboard mockup */
.hero-dashboard {
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.hero-dashboard-bar {
  background: var(--primary);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.db-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); }
.db-dot.red    { background: #f87171; }
.db-dot.yellow { background: #fbbf24; }
.db-dot.green  { background: #34d399; }
.db-title { color: white; font-size: 13px; font-weight: 600; margin-left: 8px; }
.hero-dashboard-body { padding: 20px; }
.db-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.db-stat {
  background: var(--bg);
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
}
.db-stat-num { font-size: 22px; font-weight: 800; color: var(--primary); }
.db-stat-label { font-size: 11px; color: var(--muted); margin-top: 2px; }
.db-chart {
  background: var(--accent-light);
  border-radius: 10px;
  height: 100px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 12px;
  overflow: hidden;
}
.db-bar {
  flex: 1;
  background: var(--accent);
  border-radius: 4px 4px 0 0;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.db-bar:hover { opacity: 1; }
.db-rows { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.db-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
}
.db-row-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--accent-light);
  color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.db-row-name { font-weight: 600; flex: 1; }
.db-row-badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #d1fae5;
  color: #065f46;
  font-weight: 600;
}
.db-row-badge.warn { background: #fef3c7; color: #92400e; }


/* ==========================================================
   TRUST BAR
   ========================================================== */
.trust-bar {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.trust-bar-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 28px;
}
.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}
.trust-logo-item {
  font-size: 15px;
  font-weight: 700;
  color: #9ca3af;
  letter-spacing: 0.5px;
}


/* ==========================================================
   FEATURES
   ========================================================== */
.features { padding: 96px 0; }
.features-header { margin-bottom: 60px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.25s ease;
}
.feature-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.feature-icon {
  width: 52px; height: 52px;
  background: var(--accent-light);
  color: var(--accent-dark);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p  { font-size: 14px; color: var(--muted); line-height: 1.7; }


/* ==========================================================
   HOW IT WORKS
   ========================================================== */
.how-it-works { padding: 96px 0; background: var(--bg); }
.how-it-works-header { margin-bottom: 60px; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.6% + 20px);
  right: calc(16.6% + 20px);
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--accent));
}
.step-card { text-align: center; padding: 0 16px; }
.step-num {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: 50%;
  font-size: 28px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(27, 47, 92, 0.25);
}
.step-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step-card p  { font-size: 14px; color: var(--muted); line-height: 1.7; }


/* ==========================================================
   PRICING
   ========================================================== */
.pricing { padding: 96px 0; }
.pricing-header { margin-bottom: 60px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
.pricing-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  transition: all 0.25s ease;
  background: white;
}
.pricing-card:hover { box-shadow: var(--shadow); }
.pricing-card.popular {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-name {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 12px;
}
.plan-price {
  font-size: 48px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.plan-price sup { font-size: 22px; font-weight: 700; vertical-align: super; }
.plan-price .price-unit { font-size: 16px; font-weight: 500; color: var(--muted); }
.plan-price .price-monthly,
.plan-price .price-annual { font-size: inherit; font-weight: inherit; color: inherit; }
.plan-desc {
  font-size: 14px;
  color: var(--muted);
  margin-top: 10px;
  margin-bottom: 24px;
}
.plan-divider { height: 1px; background: var(--border); margin-bottom: 24px; }
.plan-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.plan-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.plan-feature i { color: var(--success); font-size: 13px; flex-shrink: 0; }
.plan-feature.disabled { color: var(--muted); }
.plan-feature.disabled i { color: #d1d5db; }


/* ==========================================================
   TESTIMONIALS
   ========================================================== */
.testimonials { padding: 96px 0; background: var(--bg); }
.testimonials-header { margin-bottom: 60px; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover { box-shadow: var(--shadow); }
.stars { color: #fbbf24; font-size: 14px; margin-bottom: 16px; }
.testimonial-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
}
.author-name  { font-weight: 700; font-size: 14px; }
.author-title { font-size: 12px; color: var(--muted); }


/* ==========================================================
   STATS
   ========================================================== */
.stats {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, #1f3d70 50%, var(--accent-dark) 100%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: white;
  line-height: 1;
}
.stat-label {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 8px;
}


/* ==========================================================
   FAQ
   ========================================================== */
.faq { padding: 96px 0; }
.faq-header { margin-bottom: 60px; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  font-family: 'Inter', sans-serif;
}
.faq-question i { color: var(--accent); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-question i { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
}
.faq-item.open .faq-answer { display: block; }


/* ==========================================================
   CTA BANNER
   ========================================================== */
.cta-section {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 300px; height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}
.cta-section h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
}
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-note { margin-top: 20px; font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.4);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.25); }


/* ==========================================================
   FOOTER
   ========================================================== */
footer {
  background: #0f1a2e;
  color: #9ca3af;
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo img { height: 40px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.75; max-width: 280px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px;
  background: #1f2937;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #9ca3af;
  font-size: 15px;
  transition: all 0.2s;
}
.footer-social a:hover { background: var(--accent); color: white; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: white; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; transition: color 0.2s; }
.footer-col ul a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a:hover { color: white; }


/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1024px) {
  .features-grid      { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid        { grid-template-columns: 1fr 1fr; }
  .db-stats           { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: block; }

  .hero-inner  { grid-template-columns: 1fr; }
  .hero        { padding: 64px 0 48px; }
  .hero-visual { display: none; }

  .features-grid  { grid-template-columns: 1fr; }
  .steps-grid     { grid-template-columns: 1fr; gap: 32px; }
  .steps-grid::before { display: none; }

  .pricing-grid               { grid-template-columns: 1fr; }
  .pricing-card.popular       { transform: scale(1); }

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

  .footer-grid    { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom  { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }
}

@media (max-width: 480px) {
  .stats-grid   { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cta-actions  { flex-direction: column; align-items: center; }
}


/* ==========================================================
   LEGAL PAGES (Privacy, Terms, Refund)
   ========================================================== */

/* Hero banner */
.legal-hero {
  background: linear-gradient(135deg, #edf3ff 0%, #fafbff 60%, #e0f5f0 100%);
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
}
.legal-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.legal-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
}
.legal-hero p {
  font-size: 14px;
  color: var(--muted);
}

/* Body layout */
.legal-body { padding: 64px 0 96px; }

.legal-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
}

/* Sticky TOC sidebar */
.legal-toc {
  position: sticky;
  top: 84px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.toc-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 14px;
}
.legal-toc ul { display: flex; flex-direction: column; gap: 2px; }
.legal-toc ul a {
  display: block;
  padding: 7px 10px;
  font-size: 13px;
  color: var(--muted);
  border-radius: 6px;
  transition: all 0.2s;
  line-height: 1.4;
}
.legal-toc ul a:hover {
  background: var(--accent-light);
  color: var(--accent-dark);
}

/* Content area */
.legal-content { min-width: 0; }

/* Alert box */
.legal-alert {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  padding: 18px 20px;
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 40px;
  line-height: 1.65;
}
.legal-alert i { font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.legal-alert-warning {
  background: #fffbeb;
  border-color: #f59e0b;
  color: #92400e;
}
.legal-alert-warning i { color: #f59e0b; }

/* Individual sections */
.legal-section {
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.legal-section:last-child { border-bottom: none; }
.legal-section h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}
.legal-section h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 20px 0 10px;
}
.legal-section h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.legal-section p {
  font-size: 15px;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 12px;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul,
.legal-section ol {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
}
.legal-section ul { list-style: disc; }
.legal-section ol { list-style: decimal; }
.legal-section li {
  font-size: 15px;
  color: #374151;
  line-height: 1.7;
}
.legal-section a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-section a:hover { color: var(--primary); }

/* Contact box */
.legal-contact-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal-contact-box p {
  font-size: 15px;
  color: #374151;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.legal-contact-box i { color: var(--accent); width: 16px; }

/* Refund Policy specifics */
.refund-highlight-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff5f5;
  border: 2px solid #fca5a5;
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 20px 0;
}
.refund-highlight-icon {
  width: 48px; height: 48px;
  background: #fee2e2;
  color: #dc2626;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.refund-highlight-box h3 {
  font-size: 17px;
  font-weight: 800;
  color: #991b1b;
  margin: 0 0 10px;
}
.refund-highlight-box p { color: #7f1d1d; }
.refund-highlight-box ul { list-style: disc; padding-left: 18px; }
.refund-highlight-box li { color: #7f1d1d; font-size: 14px; }

.refund-case-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}
.refund-case {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-radius: var(--radius);
  padding: 20px 24px;
  border: 1px solid;
}
.refund-case.eligible {
  background: #f0fdf4;
  border-color: #86efac;
}
.refund-case.not-eligible {
  background: #fff5f5;
  border-color: #fca5a5;
}
.refund-case-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.refund-case.eligible .refund-case-icon    { color: #16a34a; }
.refund-case.not-eligible .refund-case-icon { color: #dc2626; }
.refund-case h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.refund-case.eligible h4    { color: #15803d; }
.refund-case.not-eligible h4 { color: #b91c1c; }
.refund-case p { font-size: 14px; color: #374151; margin: 0; line-height: 1.65; }

/* Legal responsive */
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}
@media (max-width: 600px) {
  .legal-hero { padding: 48px 0 36px; }
  .refund-highlight-box { flex-direction: column; }
}


/* ==========================================================
   PAGE HERO (shared: About, Contact, Careers)
   ========================================================== */
.page-hero {
  background: linear-gradient(135deg, #edf3ff 0%, #fafbff 60%, #e0f5f0 100%);
  padding: 88px 0 72px;
  border-bottom: 1px solid var(--border);
}
.page-hero-inner {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.page-hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary);
}
.page-hero p {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 620px;
}


/* ==========================================================
   ABOUT PAGE
   ========================================================== */

/* Mission / Vision / Values trio */
.about-mv { padding: 80px 0; background: var(--bg); }
.mv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.mv-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all 0.25s;
}
.mv-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.mv-icon {
  width: 56px; height: 56px;
  background: var(--accent-light);
  color: var(--accent-dark);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.mv-card h2 { font-size: 20px; font-weight: 800; margin-bottom: 12px; color: var(--primary); }
.mv-card p  { font-size: 15px; color: var(--muted); line-height: 1.75; }

/* Story section */
.about-story { padding: 96px 0; }
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.story-content .badge { margin-bottom: 4px; }
.story-content p { font-size: 16px; color: var(--muted); line-height: 1.8; margin-top: 16px; }
.story-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.story-stat {
  text-align: center;
  background: var(--primary-light);
  border-radius: 12px;
  padding: 18px 12px;
}
.story-stat span { display: block; font-size: 26px; font-weight: 800; color: var(--primary); }
.story-stat p    { font-size: 12px; color: var(--muted); margin: 4px 0 0; }
.story-card-stack { display: flex; flex-direction: column; gap: 16px; }
.story-milestone {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
}
.story-milestone.active {
  border-color: var(--accent);
  background: var(--accent-light);
}
.story-milestone-year {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
  min-width: 68px;
  padding-top: 2px;
}
.story-milestone.active .story-milestone-year { color: var(--accent-dark); }
.story-milestone-text { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* Team */
.about-team { padding: 96px 0; background: var(--bg); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.team-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.25s;
}
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  object-fit: cover;
  border: 3px solid var(--accent-light);
}
.team-name { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.team-role { font-size: 13px; font-weight: 600; color: var(--accent-dark); margin-bottom: 12px; }
.team-bio  { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* Values */
.about-values { padding: 96px 0; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.25s;
}
.value-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-3px); }
.value-icon {
  width: 48px; height: 48px;
  background: var(--accent-light);
  color: var(--accent-dark);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.value-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.value-card p  { font-size: 14px; color: var(--muted); line-height: 1.7; }


/* ==========================================================
   CONTACT PAGE
   ========================================================== */
.contact-section { padding: 72px 0 96px; }
.contact-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}

/* Info sidebar */
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 20px;
  transition: box-shadow 0.2s;
}
.contact-info-card:hover { box-shadow: var(--shadow); }
.ci-icon {
  width: 44px; height: 44px;
  background: var(--accent-light);
  color: var(--accent-dark);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-info-card h4 { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.contact-info-card p  { font-size: 15px; font-weight: 600; color: var(--primary); margin: 0; }
.contact-info-card span { font-size: 12px; color: var(--muted); }
.contact-social { padding: 12px 4px 0; }
.contact-social p { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }

/* Form */
.contact-form-wrap {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 40px;
}
.contact-form-header { margin-bottom: 28px; }
.contact-form-header h2 { font-size: 24px; font-weight: 800; color: var(--primary); margin-bottom: 6px; }
.contact-form-header p  { font-size: 15px; color: var(--muted); }

/* Shared form styles */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(44,175,140,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.req { color: #dc2626; }
.char-counter { font-size: 12px; color: var(--muted); text-align: right; }

/* Form alerts */
.form-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.6;
}
.form-alert-success { background: #f0fdf4; color: #166534; border: 1px solid #86efac; }
.form-alert-error   { background: #fff5f5; color: #991b1b; border: 1px solid #fca5a5; }
.form-alert i { margin-top: 2px; flex-shrink: 0; }


/* ==========================================================
   CAREERS PAGE
   ========================================================== */
.careers-hero { background: linear-gradient(135deg, #0f1a2e 0%, #1B2F5C 50%, #1f3d70 100%); }
.careers-hero .page-hero-inner { max-width: 760px; }
.careers-hero h1 { color: white; }
.careers-hero p  { color: rgba(255,255,255,0.75); }
.careers-hero .badge { background: rgba(255,255,255,0.15); color: white; }

/* Perks */
.careers-perks { padding: 88px 0; background: var(--bg); }
.perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.perk-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: all 0.25s;
}
.perk-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-3px); }
.perk-icon {
  width: 52px; height: 52px;
  background: var(--accent-light);
  color: var(--accent-dark);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin: 0 auto 14px;
}
.perk-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.perk-card p  { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* Jobs list */
.careers-jobs { padding: 88px 0; }
.jobs-list { display: flex; flex-direction: column; gap: 20px; }
.job-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  transition: all 0.25s;
}
.job-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.job-card-left { flex: 1; }
.job-card-right { flex-shrink: 0; padding-top: 4px; }
.job-dept-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.job-title { font-size: 20px; font-weight: 800; color: var(--primary); margin-bottom: 10px; }
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}
.job-meta span { display: flex; align-items: center; gap: 6px; }
.job-meta i { color: var(--accent); }
.job-desc { font-size: 14px; color: var(--muted); line-height: 1.75; margin-bottom: 14px; }
.req-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}
.req-btn:hover { background: var(--primary-light); }
.req-arrow { transition: transform 0.2s; }
.job-requirements {
  margin-top: 14px;
  padding-left: 20px;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.job-requirements li { font-size: 14px; color: var(--muted); line-height: 1.65; }
.no-jobs {
  text-align: center;
  padding: 80px 24px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px dashed var(--border);
}
.no-jobs i { font-size: 48px; color: var(--border); margin-bottom: 20px; }
.no-jobs h3 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.no-jobs p  { font-size: 15px; color: var(--muted); }

/* Apply Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
}
.modal-box {
  background: white;
  border-radius: 16px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  color: var(--muted);
  transition: all 0.2s;
}
.modal-close:hover { background: #fee2e2; color: #dc2626; border-color: #fca5a5; }
.modal-header { text-align: center; margin-bottom: 28px; }
.modal-header i { font-size: 32px; color: var(--accent); margin-bottom: 12px; }
.modal-header h2 { font-size: 22px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.modal-job-subtitle { font-size: 14px; color: var(--muted); }

/* File upload */
.file-upload-area {
  position: relative;
  border: 2px dashed var(--border);
  border-radius: 10px;
  transition: border-color 0.2s, background 0.2s;
}
.file-upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.file-upload-ui {
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
}
.file-upload-ui i { font-size: 32px; color: var(--accent); margin-bottom: 10px; }
.file-upload-ui p { font-size: 15px; font-weight: 600; color: var(--primary); margin-bottom: 4px; }
.file-upload-ui span { font-size: 12px; color: var(--muted); }
.file-upload-area:hover,
.file-upload-area.dragover { border-color: var(--accent); background: var(--accent-light); }
.file-name-display {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-dark);
  background: var(--accent-light);
  border-radius: 6px;
  padding: 6px 12px;
}


/* ==========================================================
   ABOUT / CAREERS / CONTACT RESPONSIVE
   ========================================================== */
@media (max-width: 1024px) {
  .mv-grid      { grid-template-columns: 1fr 1fr; }
  .perks-grid   { grid-template-columns: repeat(2, 1fr); }
  .values-grid  { grid-template-columns: repeat(2, 1fr); }
  .team-grid    { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .story-grid   { grid-template-columns: 1fr; gap: 40px; }
  .story-stats  { grid-template-columns: repeat(2, 1fr); }
  .contact-form-wrap { padding: 28px 24px; }
}

@media (max-width: 768px) {
  .mv-grid      { grid-template-columns: 1fr; }
  .team-grid    { grid-template-columns: 1fr 1fr; }
  .values-grid  { grid-template-columns: 1fr; }
  .perks-grid   { grid-template-columns: 1fr 1fr; }
  .job-card     { flex-direction: column; }
  .job-card-right { width: 100%; }
  .job-card-right .btn { width: 100%; justify-content: center; }
  .form-row     { grid-template-columns: 1fr; }
  .modal-box    { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .team-grid  { grid-template-columns: 1fr; }
  .perks-grid { grid-template-columns: 1fr; }
  .story-stats { grid-template-columns: repeat(2,1fr); }
}


/* ==========================================================
   FEATURES PAGE
   ========================================================== */
.features-stats-bar {
  background: var(--primary);
  padding: 24px 0;
}
.fsb-grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.fsb-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 15px;
}
.fsb-item i { font-size: 18px; color: var(--accent); }
.fsb-item strong { color: white; }

/* Module rows */
.features-modules { padding: 96px 0; }
.module-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.module-row:last-child { border-bottom: none; }
.module-row.flip { direction: rtl; }
.module-row.flip > * { direction: ltr; }

.module-visual {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.module-icon-box {
  width: 96px; height: 96px;
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
}
.module-points-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.mpv-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.mpv-item i { color: var(--accent); margin-top: 2px; flex-shrink: 0; }

.module-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}
.module-tagline {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
  font-style: italic;
}
.module-content h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
}
.module-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.module-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.module-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
}
.module-list li i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }

/* Compare table */
.features-compare { padding: 80px 0; background: var(--bg); }
.compare-table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.compare-table th {
  padding: 18px 24px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  background: var(--primary);
  color: white;
}
.compare-table th:first-child { text-align: left; }
.compare-table .popular-col { background: var(--accent); }
.popular-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  opacity: 0.85;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.compare-table td {
  padding: 14px 24px;
  text-align: center;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.compare-table td:first-child { text-align: left; font-weight: 600; color: var(--text); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--bg); }


/* ==========================================================
   PRICING PAGE
   ========================================================== */
.pricing-main { padding: 60px 0 80px; }
.billing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
}
.toggle-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
}
.toggle-label.active { color: var(--primary); }
.save-badge {
  display: inline-block;
  background: #dcfce7;
  color: #166534;
  font-size: 11px;
  font-weight: 700;
  font-style: normal;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
}
.billing-toggle {
  width: 52px; height: 28px;
  background: #d1d5db;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
}
.billing-toggle.active { background: var(--accent); }
.toggle-knob {
  position: absolute;
  top: 3px; left: 3px;
  width: 22px; height: 22px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.billing-toggle.active .toggle-knob { transform: translateX(24px); }
.plan-billed-note {
  font-size: 12px;
  color: var(--accent-dark);
  font-weight: 600;
  margin-top: 4px;
}

/* Trust points */
.pricing-trust { padding: 80px 0; background: var(--bg); }
.trust-points-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trust-point {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.25s;
}
.trust-point:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.trust-point-icon {
  width: 52px; height: 52px;
  background: var(--accent-light);
  color: var(--accent-dark);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin: 0 auto 16px;
}
.trust-point h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.trust-point p  { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* Testimonial quote block */
.pricing-testimonial { padding: 64px 0; }
.pt-card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--primary-light);
  border: 1px solid #c7d2f5;
  border-radius: 16px;
  padding: 40px 48px;
  position: relative;
}
.pt-quote i { font-size: 36px; color: var(--primary); opacity: 0.25; margin-bottom: 16px; }
.pt-card > p {
  font-size: 18px;
  color: var(--primary);
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 24px;
}
.pt-card em { font-style: normal; font-weight: 800; }
.pt-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.pt-author img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.pt-author strong { display: block; font-size: 15px; font-weight: 700; color: var(--primary); }
.pt-author span   { font-size: 13px; color: var(--muted); }


/* ==========================================================
   HOW IT WORKS PAGE
   ========================================================== */
.hiw-steps { padding: 96px 0; }
.hiw-step-list { display: flex; flex-direction: column; gap: 0; }
.hiw-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0;
  position: relative;
  padding-bottom: 56px;
}
.hiw-step:last-child { padding-bottom: 0; }
.hiw-step-num {
  font-size: 64px;
  font-weight: 900;
  color: var(--primary-light);
  line-height: 1;
  padding-top: 8px;
  user-select: none;
  position: relative;
  z-index: 1;
}
/* Connector line */
.hiw-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 36px;
  top: 72px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--primary-light));
}
.hiw-step-body {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 36px;
  margin-left: 20px;
  transition: box-shadow 0.25s;
}
.hiw-step-body:hover { box-shadow: var(--shadow); }
.hiw-step-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.hiw-step-content { flex: 1; }
.hiw-step-content h3 { font-size: 20px; font-weight: 800; color: var(--primary); margin-bottom: 10px; }
.hiw-step-content > p { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
.hiw-step-details { display: flex; flex-wrap: wrap; gap: 12px; }
.hiw-detail {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 14px;
  border-radius: 999px;
}
.hiw-detail i { color: var(--accent); }

/* Timeline */
.hiw-timeline-section { padding: 80px 0; background: var(--bg); }
.hiw-timeline {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  padding-left: 32px;
}
.hiw-timeline::before {
  content: '';
  position: absolute;
  left: 10px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--primary));
}
.timeline-item {
  position: relative;
  padding: 0 0 32px 32px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
  position: absolute;
  left: -22px;
  top: 0;
  width: 40px; height: 40px;
  background: white;
  border: 3px solid var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 14px;
}
.timeline-item.first .timeline-marker {
  background: var(--accent);
  color: white;
}
.timeline-body { padding-top: 6px; }
.timeline-day {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-dark);
  background: var(--accent-light);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.timeline-body p { font-size: 15px; color: var(--muted); line-height: 1.65; }

/* Who uses it */
.hiw-who { padding: 80px 0; }
.who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.who-card {
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 20px;
  transition: all 0.25s;
}
.who-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-3px); }
.who-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px;
}
.who-card h3 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.who-card p  { font-size: 14px; color: var(--muted); line-height: 1.7; }


/* ==========================================================
   CHANGELOG PAGE
   ========================================================== */
.changelog-section { padding: 64px 0 96px; }
.changelog-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 56px;
  align-items: start;
}
.changelog-nav {
  position: sticky;
  top: 84px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.changelog-nav ul { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
.changelog-nav ul a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  border-radius: 6px;
  transition: all 0.2s;
}
.changelog-nav ul a:hover { background: var(--accent-light); color: var(--accent-dark); }
.cl-nav-label {
  font-size: 10px;
  font-weight: 700;
  font-style: normal;
  background: var(--accent-light);
  color: var(--accent-dark);
  padding: 2px 7px;
  border-radius: 999px;
}

/* Release blocks */
.changelog-entries { display: flex; flex-direction: column; gap: 0; }
.release-block {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.release-block:last-child { border-bottom: none; }
.release-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.release-version-wrap { display: flex; align-items: center; gap: 12px; }
.release-version {
  font-size: 24px;
  font-weight: 900;
  color: var(--primary);
}
.release-label {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}
.release-date {
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.release-date i { color: var(--accent); }
.release-group { margin-bottom: 20px; }
.release-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.release-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 4px;
}
.release-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #374151;
  line-height: 1.65;
}
.release-list li i { font-size: 13px; margin-top: 3px; flex-shrink: 0; color: var(--accent); }


/* ==========================================================
   RESPONSIVE — NEW PAGES
   ========================================================== */
@media (max-width: 1024px) {
  .module-row { grid-template-columns: 1fr; gap: 36px; }
  .module-row.flip { direction: ltr; }
  .trust-points-grid { grid-template-columns: repeat(2, 1fr); }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .changelog-layout { grid-template-columns: 1fr; }
  .changelog-nav { position: static; }
  .pt-card { padding: 28px 24px; }
}

@media (max-width: 768px) {
  .fsb-grid { gap: 24px; }
  .trust-points-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr 1fr; }
  .hiw-step { grid-template-columns: 1fr; }
  .hiw-step-num { display: none; }
  .hiw-step::before { display: none; }
  .hiw-step-body { margin-left: 0; }
  .hiw-timeline { padding-left: 24px; }
  .compare-table th, .compare-table td { padding: 12px 14px; font-size: 13px; }
}

@media (max-width: 480px) {
  .who-grid { grid-template-columns: 1fr; }
  .hiw-step-body { flex-direction: column; }
  .release-header { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   PRICING — Plan limits + modules link
   ========================================================= */
.plan-limits {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 10px 0 14px;
}

.plan-limits span {
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.plan-limits span i {
  width: 14px;
  color: var(--accent);
}

.plan-modules-link {
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}

.plan-modules-link:hover { color: var(--accent); }
.plan-modules-link i { margin-right: 4px; }

/* =========================================================
   MODULE COMPARISON TABLE
   ========================================================= */
.module-comparison {
  padding: 80px 0;
  background: var(--bg);
}

.mc-category {
  margin-bottom: 32px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.mc-cat-header {
  background: var(--primary);
  color: #fff;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mc-cat-header i { color: var(--accent); }

.mc-table { width: 100%; }

.mc-head, .mc-row {
  display: grid;
  border-bottom: 1px solid var(--border);
}

.mc-head {
  background: #f8fafc;
}

.mc-row:last-child { border-bottom: none; }
.mc-row:hover { background: #f8fafc; }

/* Columns: first col wide, rest equal */
.mc-head, .mc-row {
  grid-template-columns: 1fr repeat(3, 110px);
}

.mc-module-col {
  padding: 11px 20px;
  font-size: 13.5px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mc-module-col i {
  width: 16px;
  color: var(--primary);
  font-size: 13px;
  flex-shrink: 0;
}

.mc-head .mc-module-col {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--muted);
}

.mc-plan-col {
  padding: 11px 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  border-left: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mc-plan-col.mc-popular {
  background: rgba(44,175,140,.04);
}

.mc-yes { color: var(--accent); font-size: 14px; }
.mc-no  { color: var(--border);  font-size: 14px; }

@media (max-width: 768px) {
  .mc-head, .mc-row {
    grid-template-columns: 1fr repeat(3, 72px);
  }
  .mc-module-col { padding: 10px 14px; font-size: 12.5px; }
  .mc-plan-col   { padding: 10px 4px; font-size: 11px; }
}

@media (max-width: 480px) {
  .mc-head, .mc-row {
    grid-template-columns: 1fr repeat(3, 54px);
  }
  .mc-module-col i { display: none; }
  .mc-module-col { padding: 9px 10px; font-size: 12px; }
}

/* =========================================================
   PRICE BLOCK — with GST breakdown
   ========================================================= */
.plan-price-block {
  margin-bottom: 6px;
}

.price-unit {
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
}

/* GST badge row */
.gst-badge-row {
  text-align: center;
  margin: 4px 0 10px;
}

.gst-incl-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: .2px;
}

.gst-excl-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fef3c7;
  color: #92400e;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}

.gst-exempt-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f1f5f9;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

/* GST breakdown table inside card */
.gst-breakdown {
  background: rgba(0,0,0,.035);
  border-radius: 8px;
  padding: 10px 12px;
  margin: 0 0 14px;
  font-size: 12.5px;
}

.popular .gst-breakdown {
  background: rgba(255,255,255,.12);
}

.gst-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 0;
  color: var(--muted);
  border-bottom: 1px dashed rgba(0,0,0,.07);
}

.popular .gst-line {
  color: rgba(255,255,255,.7);
  border-bottom-color: rgba(255,255,255,.15);
}

.gst-line:last-child { border-bottom: none; }

.gst-total-line {
  padding-top: 7px;
  margin-top: 3px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--primary) !important;
}

.popular .gst-total-line { color: #fff !important; }

/* Compact version for home page */
.gst-compact {
  padding: 8px 10px;
  margin-bottom: 10px;
}

.gst-compact .gst-line { font-size: 12px; }
