﻿/* ==========================================================
   SALES CALL MANAGEMENT SYSTEM — Shared Landing CSS
   Covers: home, features, pricing, contact, privacy, terms, 404
   ========================================================== */

/* === 1. GOOGLE FONTS === */
/* Fonts loaded via <link> in _seo_head.php for non-render-blocking delivery */

/* === 2. DESIGN TOKENS — UniBranches Brand ===
   Navy  #1a2e6e  |  Orange  #f47520  |  Teal  #38b2c8
   ================================================== */
:root {
  --brand:          #1a2e6e;
  --brand-dark:     #0f1d4a;
  --brand-mid:      #2a3f8f;
  --brand-light:    #eef1fc;
  --accent:         #f47520;
  --accent-dark:    #d4620f;
  --accent-light:   #fff4ed;
  --teal:           #38b2c8;
  --teal-light:     #e6f8fb;

  --hero-grad:      linear-gradient(135deg, #0a0f1e 0%, #0f1d4a 55%, #0a1628 100%);
  --hero-cta:       #f47520;

  --surface:        #ffffff;
  --surface-alt:    #f7fafc;
  --border:         #e2e8f0;
  --border-strong:  #cbd5e0;

  --text-primary:   #1a202c;
  --text-secondary: #4a5568;
  --text-muted:     #596373;
  --text-light:     #a0aec0;

  --footer-bg:      #0f1d4a;
  --footer-text:    #94a3b8;
  --footer-link:    #94a3b8;
  --footer-hover:   #f47520;

  --radius-sm:   6px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   14px;
  --radius-2xl:  16px;

  --shadow-xs:  0 1px 4px rgba(0,0,0,.04);
  --shadow-sm:  0 2px 8px rgba(0,0,0,.06);
  --shadow-md:  0 8px 24px rgba(26,46,110,.10);
  --shadow-lg:  0 16px 40px rgba(26,46,110,.14);
}

/* === 3. BASE RESET === */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-secondary);
  background: #fff;
}

/* === 4. NAVBAR === */
.navbar {
  background: #fff;
  box-shadow: 0 1px 8px rgba(0,0,0,.08);
  transition: box-shadow .2s;
  padding-top: 6px;
  padding-bottom: 6px;
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.12); }
.navbar-brand { font-weight: 700; color: var(--brand); font-size: 1.05rem; }
.navbar-brand span { color: var(--brand); }
.navbar-brand .landing-nav-logo {
  height: 72px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
}
.navbar .nav-link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-secondary) !important;
  padding-left: 14px !important;
  padding-right: 14px !important;
  transition: color .15s;
}
.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--brand) !important; }
.btn-nav-outline {
  font-size: .85rem;
  font-weight: 600;
  color: var(--brand) !important;
  border: 1.5px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: 6px 16px !important;
  transition: background .15s, color .15s;
  text-decoration: none;
}
.btn-nav-outline:hover {
  background: var(--brand);
  color: #fff !important;
  text-decoration: none;
}
.btn-nav-cta {
  background: linear-gradient(135deg, #f47520, #d4620f);
  color: #fff !important;
  border-radius: var(--radius-sm);
  padding: 6px 18px !important;
  font-weight: 600;
  font-size: .85rem;
  transition: background .15s, transform .15s;
  text-decoration: none;
  border: none;
}
.btn-nav-cta:hover {
  background: linear-gradient(135deg, #d4620f, #b85510);
  color: #fff !important;
  text-decoration: none;
  transform: translateY(-1px);
}
.nav-btn-group {
  gap: 8px;
}

/* === 5. HERO (home page) === */
.hero {
  background:
    linear-gradient(135deg, rgba(10,13,30,.92) 0%, rgba(15,29,74,.87) 55%, rgba(10,16,38,.93) 100%),
    url('/assets/img/landing/hero-dashboard.jpg') center/cover no-repeat;
  padding: 96px 0 76px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(244,117,32,.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: .18;
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.5px;
  color: #fff;
}
.hero h1 span { color: #f47520; }
.hero p.lead {
  font-size: 1.12rem;
  color: #cbd5e0;
  max-width: 520px;
  line-height: 1.65;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(244,117,32,.12);
  border: 1px solid rgba(244,117,32,.35);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: .8rem;
  font-weight: 500;
  color: #fdb97a;
  margin-bottom: 20px;
  letter-spacing: .01em;
}
.btn-hero-primary {
  background: linear-gradient(135deg, #f47520, #d4620f);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: 14px 32px;
  font-size: 1rem;
  border: none;
  transition: background .2s, transform .2s, box-shadow .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(244,117,32,.4);
}
.btn-hero-primary:hover {
  background: linear-gradient(135deg, #d4620f, #b85510);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(244,117,32,.5);
  color: #fff;
  text-decoration: none;
}
.btn-hero-secondary {
  background: transparent;
  color: #e2e8f0;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,.28);
  border-radius: var(--radius-md);
  padding: 12px 28px;
  font-size: 1rem;
  transition: border-color .2s, color .2s, transform .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.btn-hero-secondary:hover {
  border-color: rgba(255,255,255,.7);
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 38px;
  flex-wrap: wrap;
}
.hero-stat strong {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  color: #f47520;
  letter-spacing: -.5px;
}
.hero-stat span { font-size: .8rem; color: #a0aec0; font-weight: 500; }
.hero-img {
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,.45);
  max-width: 100%;
}

/* === 6. PAGE HERO (sub-pages: features, pricing, contact) === */
.page-hero {
  background:
    linear-gradient(135deg, rgba(10,13,30,.90) 0%, rgba(15,29,74,.86) 60%, rgba(10,16,38,.92) 100%),
    url('/assets/img/landing/features-hero-bg.jpg') center/cover no-repeat;
  padding: 72px 0 52px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(244,117,32,.14), transparent 30%),
    radial-gradient(circle at 85% 75%, rgba(56,178,200,.12), transparent 28%);
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -.4px;
  color: #fff;
}
.page-hero p, .page-hero .lead {
  color: #cbd5e0;
  max-width: 580px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* === 7. TRUST BAR === */
.trust-bar {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.trust-bar p { margin: 0; font-size: .88rem; color: var(--text-muted); font-weight: 500; }

/* === 8. SECTIONS === */
.section { padding: 84px 0; }
.section-alt { background: var(--surface-alt); }
.section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  display: block;
  margin-bottom: 8px;
}
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.22;
  letter-spacing: -.3px;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* === 9. FEATURE CARDS === */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  height: 100%;
  transition: box-shadow .2s, border-color .2s, transform .2s;
  box-shadow: var(--shadow-xs);
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
  transform: translateY(-3px);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.feature-card h5 {
  font-weight: 700;
  font-size: .97rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: .88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

/* Feature icon color variants — UniBranches palette */
.fi-blue   { background: #eef1fc; color: #1a2e6e; }
.fi-green  { background: #e6f8fb; color: #38b2c8; }
.fi-purple { background: #faf5ff; color: #6b46c1; }
.fi-orange { background: #fff4ed; color: #f47520; }
.fi-teal   { background: #e6f8fb; color: #2c7a7b; }
.fi-red    { background: #fff5f5; color: #c53030; }
.fi-indigo { background: #eef1fc; color: #1a2e6e; }
.fi-pink   { background: #fff5f7; color: #97266d; }

/* === 10. CHECK LISTS === */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  padding: 7px 0;
  font-size: .93rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.check-list li::before {
  content: '\f058';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: var(--accent);
  margin-right: 10px;
}

/* === 11. SPOTLIGHT SECTIONS === */
.spotlight { padding: 80px 0; }

/* === 12. HOW-IT-WORKS STEPS === */
.step-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 auto 16px;
  box-shadow: 0 4px 14px rgba(244,117,32,.30);
}

/* === 13. PLAN CARDS === */
/* ═══════════════════════════════════════════
   PRICING — Pro Max Redesign
═══════════════════════════════════════════ */
.pricing-wrap {
  padding: 72px 0 96px;
  background: linear-gradient(180deg, #f8f4f0 0%, #faf8f6 100%);
}

/* Grid: 4 cards, equal width, vertically aligned at bottom for CTA */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: end;
}

/* === WebP HERO BACKGROUNDS === */
.webp .hero {
  background:
    linear-gradient(135deg, rgba(10,13,30,.92) 0%, rgba(15,29,74,.87) 55%, rgba(10,16,38,.93) 100%),
    url('/assets/img/landing/hero-dashboard.webp') center/cover no-repeat;
}

.webp .page-hero {
  background:
    linear-gradient(135deg, rgba(10,13,30,.90) 0%, rgba(15,29,74,.86) 60%, rgba(10,16,38,.92) 100%),
    url('/assets/img/landing/features-hero-bg.webp') center/cover no-repeat;
}

.webp .cta-banner {
  background:
    linear-gradient(135deg, rgba(15,29,74,.95) 0%, rgba(10,13,30,.96) 100%),
    url('/assets/img/landing/cta-bg.webp') center/cover no-repeat;
}
@media (max-width: 1100px) { .pricing-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px)  { .pricing-grid { grid-template-columns: 1fr; } }

/* ── Base card ── */
.plan-card {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible;
  transition: transform .22s ease, box-shadow .22s ease;
  box-shadow: 0 2px 12px rgba(15,23,42,.06);
}
.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(15,23,42,.12);
}

/* ── Popular card ── */
.plan-card.popular {
  border: 2px solid #f97316;
  box-shadow: 0 8px 40px rgba(249,115,22,.2);
  transform: translateY(-12px);
  z-index: 2;
}
.plan-card.popular:hover {
  transform: translateY(-18px);
  box-shadow: 0 24px 56px rgba(249,115,22,.28);
}

/* ── Popular badge ── */
.popular-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #f97316, #ea580c);
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
  padding: 5px 18px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: .07em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(249,115,22,.4);
}

/* ── Card header ── */
.plan-header {
  padding: 28px 26px 20px;
  border-bottom: 1px solid #f1f5f9;
}
.plan-card.popular .plan-header {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border-bottom-color: #fed7aa;
}

/* ── Plan tier icon ── */
.plan-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.plan-icon.icon-starter    { background: #fff7ed; color: #f97316; }
.plan-icon.icon-standard   { background: #fff7ed; color: #ea580c; }
.plan-icon.icon-pro        { background: #0f2040; color: #fff; }
.plan-icon.icon-enterprise { background: linear-gradient(135deg,#f97316,#ea580c); color: #fff; }

.plan-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -.2px;
}
.plan-tagline {
  font-size: .78rem;
  color: #596373;
  margin-top: 3px;
  line-height: 1.4;
}

/* ── Pricing block ── */
.plan-pricing-block {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 16px 0 8px;
}
.plan-currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  align-self: flex-start;
  margin-top: 8px;
}
.plan-amount {
  font-size: 3rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -2px;
  line-height: 1;
}
.plan-card.popular .plan-amount { color: #f97316; }
.plan-period {
  font-size: .82rem;
  color: #596373;
  font-weight: 500;
}

/* ── Student limit pill ── */
.plan-limit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: .76rem;
  font-weight: 600;
  color: #475569;
  width: fit-content;
}
.plan-card.popular .plan-limit {
  background: #ffedd5;
  border-color: #fdba74;
  color: #ea580c;
}

/* ── Features body ── */
.plan-body {
  padding: 20px 26px;
  flex: 1;
}
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
}
.plan-features li {
  padding: 7px 0;
  font-size: .855rem;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.45;
  border-bottom: 1px solid #f8fafc;
}
.plan-features li:last-child { border: none; }

.plan-features .ok {
  width: 18px; height: 18px; border-radius: 50%;
  background: #0f2040; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .62rem; flex-shrink: 0; margin-top: 1px;
}
.plan-card.popular .plan-features .ok {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
}
.plan-features .no {
  width: 18px; height: 18px; border-radius: 50%;
  background: #f1f5f9; color: #cbd5e0;
  display: flex; align-items: center; justify-content: center;
  font-size: .62rem; flex-shrink: 0; margin-top: 1px;
}
.plan-features .no + span,
.plan-features li.dim { color: #596373; }

/* ── CTA footer ── */
.plan-footer {
  padding: 0 26px 26px;
}
.btn-plan {
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px 20px;
  border-radius: 14px;
  font-size: .92rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: all .18s ease;
  border: 2px solid #e2e8f0;
  color: #334155;
  background: #f8fafc;
  letter-spacing: .01em;
}
.btn-plan:hover {
  border-color: #f97316;
  color: #f97316;
  background: #fff7ed;
  text-decoration: none;
}
.btn-plan-primary {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(249,115,22,.35);
}
.btn-plan-primary:hover {
  background: linear-gradient(135deg, #ea580c, #c2410c);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(249,115,22,.45);
  transform: translateY(-1px);
}

/* ── Trust strip ── */
.pricing-trust {
  text-align: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e2e8f0;
}
.pricing-trust-items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
}
.pricing-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
  color: #596373;
  font-weight: 500;
}
.pricing-trust-item i { color: #f97316; font-size: .9rem; }

/* Legacy icon styles (keep for fallback) */
.plan-features i { flex-shrink: 0; }
.plan-features .na { color: #cbd5e0; }

/* === 14. TESTIMONIALS === */
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand-light);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  height: 100%;
  box-shadow: var(--shadow-xs);
  transition: box-shadow .2s, border-left-color .2s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-sm);
  border-left-color: var(--brand);
}
.testimonial-card .stars { color: #f6ad55; font-size: .85rem; margin-bottom: 12px; }
.testimonial-card p {
  font-size: .9rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 16px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .88rem;
  flex-shrink: 0;
}
.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* === 15. CTA BANNER === */
.cta-banner {
  background:
    linear-gradient(135deg, rgba(10,13,30,.92) 0%, rgba(15,29,74,.88) 50%, rgba(10,16,38,.94) 100%),
    url('/assets/img/landing/cta-bg.jpg') center/cover no-repeat;
  padding: 72px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: .12;
  pointer-events: none;
}
.cta-banner > .container { position: relative; z-index: 1; }
.cta-banner h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.3px;
}
.btn-cta-white {
  background: #fff;
  color: var(--brand);
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: 14px 36px;
  font-size: 1rem;
  border: none;
  transition: background .2s, transform .2s, box-shadow .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.btn-cta-white:hover {
  background: var(--brand-light);
  color: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  text-decoration: none;
}

/* === 16. CONTACT PAGE === */
.contact-wrap { padding: 64px 0; }
.contact-card {
  background: var(--surface);
  border-radius: var(--radius-2xl);
  padding: 40px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  border: 1px solid var(--border);
  height: 100%;
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.info-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.ii-blue   { background: #eef1fc; color: #1a2e6e; }
.ii-green  { background: #e6f8fb; color: #38b2c8; }
.ii-orange { background: #fff4ed; color: #f47520; }
.ii-purple { background: #faf5ff; color: #6b46c1; }
.info-item h6 { font-weight: 700; margin-bottom: 3px; font-size: .9rem; color: var(--text-primary); }
.info-item p  { margin: 0; color: var(--text-muted); font-size: .87rem; line-height: 1.5; }
.info-item a  { color: var(--brand); text-decoration: none; }
.info-item a:hover { color: var(--brand-dark); }

.form-control {
  border-radius: var(--radius-md);
  border-color: var(--border);
  font-size: .9rem;
  color: var(--text-primary);
  padding: 10px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(26,46,110,.12);
  outline: none;
}
select.form-control { cursor: pointer; }
.btn-submit {
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 12px 32px;
  font-weight: 600;
  font-size: 1rem;
  width: 100%;
  transition: background .2s, transform .2s;
  cursor: pointer;
}
.btn-submit:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

/* === 17. FOOTER === */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 52px 0 24px;
}
.footer h6 {
  color: #e2e8f0;
  font-weight: 700;
  margin-bottom: 14px;
  font-size: .88rem;
  letter-spacing: .02em;
}
.footer a {
  color: var(--footer-text);
  text-decoration: none;
  display: block;
  margin-bottom: 7px;
  font-size: .9rem;
  padding: 4px 0;
  transition: color .15s;
}
.footer a:hover { color: var(--footer-hover); }
.footer p { font-size: .87rem; line-height: 1.7; }
.footer-brand-logo {
  height: auto !important;
  max-height: 100px !important;
  width: auto !important;
  max-width: 250px !important;
  object-fit: contain;
  border-radius: 0;
  display: block;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  margin-top: 38px;
  padding-top: 22px;
  font-size: .8rem;
  color: var(--footer-link);
}
.footer-bottom .footer-bottom-link {
  display: inline;
  margin: 0;
  font-size: inherit;
}
.footer-bottom .footer-bottom-nav {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
@media (max-width: 576px) {
  .footer-bottom .footer-bottom-copy,
  .footer-bottom .footer-bottom-nav {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* Minimal centered footer (sub-pages) */
.footer-minimal { background: var(--footer-bg); padding: 32px 0; color: var(--footer-text); font-size: .86rem; }
.footer-minimal a { color: var(--footer-text); text-decoration: none; transition: color .15s; }
.footer-minimal a:hover { color: var(--footer-hover); }

/* === 18. FAQ ACCORDION === */
.faq { padding: 64px 0; }
.faq .card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md) !important;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: none;
}
.faq .card-header {
  background: var(--surface);
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: .93rem;
  color: var(--text-primary);
  padding: 16px 20px;
  transition: background .15s;
}
.faq .card-header:hover { background: var(--surface-alt); }
.faq .card-body { font-size: .9rem; color: var(--text-secondary); line-height: 1.65; padding: 16px 20px; }

/* === 19. FEATURE BLOCKS (features page) === */
.feat-block {
  padding: 44px 0;
  border-bottom: 1px solid var(--border);
}
.feat-block:last-child { border: none; }
.feat-icon-lg {
  width: 74px;
  height: 74px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  flex-shrink: 0;
  transition: transform .2s;
}
.feat-block:hover .feat-icon-lg { transform: scale(1.06); }

/* === 20. LEGAL PAGES (privacy, terms) === */
.legal-wrap { padding: 64px 0; }
.legal-toc {
  position: sticky;
  top: 80px;
}
.legal-toc h6 {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding-left: 12px;
}
.legal-toc a {
  display: block;
  padding: 7px 12px;
  font-size: .85rem;
  color: var(--text-muted);
  text-decoration: none;
  border-left: 2px solid transparent;
  border-radius: 0 4px 4px 0;
  transition: color .15s, border-left-color .15s, background .15s;
  line-height: 1.4;
}
.legal-toc a:hover { color: var(--brand); background: var(--brand-light); }
.legal-toc a.active { color: var(--brand); border-left-color: var(--brand); background: var(--brand-light); font-weight: 600; }
.legal-section {
  margin-bottom: 52px;
  scroll-margin-top: 90px;
}
.legal-section h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  letter-spacing: -.1px;
}
.legal-section h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 20px 0 8px;
}
.legal-section p,
.legal-section li {
  font-size: .92rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 10px;
}
.legal-section ul { padding-left: 20px; }
.legal-section ul li { margin-bottom: 6px; }
.legal-highlight {
  background: var(--brand-light);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin: 18px 0;
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* === 21. ENTRANCE ANIMATIONS === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.anim-fade-up  { animation: fadeUp 0.52s cubic-bezier(.22,.68,0,1.2) both; }
.anim-fade-in  { animation: fadeIn 0.4s ease both; }
.anim-delay-1  { animation-delay: 0.10s; }
.anim-delay-2  { animation-delay: 0.20s; }
.anim-delay-3  { animation-delay: 0.32s; }
.anim-delay-4  { animation-delay: 0.44s; }

/* === 22. UTILITIES === */
.text-brand   { color: var(--brand) !important; }
.text-accent  { color: var(--accent) !important; }
.font-weight-800 { font-weight: 800 !important; }

/* === 23. RESPONSIVE === */

/* --- Tablet & Collapsed Navbar (< 992px) --- */
@media (max-width: 991px) {
  .navbar-brand .landing-nav-logo {
    height: 60px;
    max-width: 260px;
  }

  .hero { padding: 72px 0 56px; }
  .hero h1 { font-size: 2.2rem; }
  .section { padding: 64px 0; }
  .legal-toc { position: static; margin-bottom: 36px; }

  .nav-btn-group {
    flex-direction: column !important;
    width: 100%;
    margin-top: 12px;
    padding-bottom: 8px;
    gap: 12px !important;
  }
  .nav-btn-group .btn-nav-outline,
  .nav-btn-group .btn-nav-cta {
    width: 100%;
    text-align: center;
    display: block !important;
    padding: 12px 18px !important;
    font-size: 1rem;
  }
  .navbar .nav-link {
    padding: 12px 14px !important;
    font-size: 1rem;
  }
}

/* --- Mobile (< 768px) --- */
@media (max-width: 767px) {
  .footer-brand-logo {
    max-height: 56px !important;
    max-width: 220px !important;
  }

  /* Hero */
  .hero { padding: 60px 0 48px; }
  .hero h1 { font-size: 1.85rem; letter-spacing: -.3px; }
  .hero p.lead { font-size: 1rem; }
  .hero-stats { gap: 20px; }
  .hero-stat strong { font-size: 1.4rem; }

  /* Sub-page hero */
  .page-hero { padding: 52px 0 38px; }
  .page-hero h1 { font-size: 1.8rem; }

  /* Sections */
  .section-title { font-size: 1.6rem; }
  .section-sub { font-size: .95rem; }

  /* Trust bar — compact */
  .trust-bar { padding: 12px 0; }
  .trust-bar p { font-size: .85rem; line-height: 1.8; }

  /* CTA banner */
  .cta-banner h2 { font-size: 1.6rem; }

  /* Spotlight sections */
  .spotlight { padding: 48px 0; }

  /* QR hero icon */
  .hero-qr-icon { font-size: 80px !important; }

  /* Contact */
  .contact-card { padding: 28px 22px; }

  /* Plan cards */
  .plan-card.popular { transform: none; }

  /* Hero buttons — full width */
  .btn-hero-primary, .btn-hero-secondary { width: 100%; justify-content: center; }
}

/* --- Small phones (< 480px) --- */
@media (max-width: 480px) {
  .navbar-brand .landing-nav-logo {
    height: 50px;
    max-width: 220px;
  }

  .footer-brand-logo {
    max-height: 50px !important;
    max-width: 200px !important;
  }

  /* Hero */
  .hero { padding: 48px 0 36px; }
  .hero h1 { font-size: 1.6rem; letter-spacing: -.2px; }
  .hero p.lead { font-size: .93rem; }
  .hero-stats { gap: 14px; flex-wrap: wrap; }
  .hero-stat strong { font-size: 1.2rem; }
  .hero-badge { font-size: .8rem; }

  /* Sub-page hero */
  .page-hero { padding: 40px 0 28px; }
  .page-hero h1 { font-size: 1.5rem; }

  /* Sections */
  .section { padding: 48px 0; }
  .section-title { font-size: 1.35rem; }
  .section-sub { font-size: .9rem; }

  /* CTA banner */
  .cta-banner { padding: 52px 0; }
  .cta-banner h2 { font-size: 1.35rem; }

  /* Trust bar — hide separators visually via wrapping */
  .trust-bar p { font-size: .85rem; }

  /* Feature cards */
  .feature-card { padding: 22px 18px; }
  .feature-icon { width: 44px; height: 44px; font-size: 1.1rem; }

  /* Features page large icons */
  .feat-icon-lg { width: 56px; height: 56px; font-size: 1.5rem; border-radius: 12px; }

  /* How-it-works step circles */
  .step-circle { width: 48px; height: 48px; font-size: 1rem; }

  /* Plan cards */
  .plan-card { padding: 28px 20px; }
  .plan-price { font-size: 2.2rem; }

  /* Testimonials */
  .testimonial-card { padding: 20px 18px; }

  /* Legal */
  .legal-wrap { padding: 40px 0; }
  .legal-section { margin-bottom: 36px; }

  /* Contact */
  .contact-wrap { padding: 40px 0; }
  .contact-card { padding: 24px 18px; }
  .info-item { gap: 12px; margin-bottom: 20px; }
  .info-icon { width: 38px; height: 38px; font-size: .95rem; }

  /* Footer */
  .footer { padding: 40px 0 20px; }
  .footer a { padding: 8px 0; }
}

/* ==========================================================
   24. HERO MOCK DASHBOARD (home page right-column preview)
   ========================================================== */
.hero-mock-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(6px);
  max-width: 420px;
  margin: 0 auto;
}
.hero-mock-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: .88rem;
  color: #e2e8f0;
}
.hero-mock-logo {
  font-size: 1.2rem;
  color: #f47520;
}
.hero-mock-pill {
  margin-left: auto;
  font-size: .72rem;
  font-weight: 600;
  background: rgba(72,187,120,.18);
  color: #68d391;
  border-radius: 20px;
  padding: 3px 10px;
  letter-spacing: .03em;
}
.hero-mock-pill .fas { font-size: .5rem; vertical-align: middle; margin-right: 4px; }
.hero-mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.hero-mock-stat {
  background: rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 14px 8px;
  text-align: center;
}
.hero-mock-stat i { color: #f47520; font-size: .85rem; }
.hero-mock-stat-val { font-size: 1.1rem; font-weight: 800; color: #fff; margin-top: 5px; letter-spacing: -.3px; }
.hero-mock-stat-lbl { font-size: .68rem; color: #a0aec0; margin-top: 2px; }
.hero-mock-rows { display: flex; flex-direction: column; gap: 8px; }
.hero-mock-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.05);
  border-radius: 10px;
  padding: 10px 12px;
}
.hero-mock-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--brand);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-mock-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-mock-name { font-size: .82rem; font-weight: 600; color: #e2e8f0; }
.hero-mock-id   { font-size: .7rem; color: #718096; margin-top: 1px; }
.hero-mock-info { flex: 1; min-width: 0; }
.hero-mock-status {
  font-size: .7rem;
  font-weight: 700;
  border-radius: 20px;
  padding: 3px 9px;
  white-space: nowrap;
}
.status-present { background: rgba(72,187,120,.15); color: #68d391; }
.status-absent  { background: rgba(245,101,101,.15); color: #fc8181; }

/* ==========================================================
   25. FOOTER EXTRAS
   ========================================================== */
.footer-cta-btn {
  display: inline-block;
  background: var(--brand);
  color: #fff !important;
  border-radius: var(--radius-md);
  padding: 10px 22px;
  font-weight: 600;
  font-size: .87rem;
  text-decoration: none !important;
  transition: background .2s, transform .15s;
  margin-top: 4px;
}
.footer-cta-btn:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}
.footer .fab {
  font-size: 1.05rem;
  transition: color .15s;
}
.footer .fab:hover { color: var(--footer-hover) !important; }

/* ==========================================================
   26. NAVBAR TOGGLER
   ========================================================== */
.navbar-toggler { border-color: var(--border); border-radius: var(--radius-sm); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2826%2C32%2C44%2C0.65%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ==========================================================
   27. OUTLINE BUTTON OVERRIDE (landing pages)
   ========================================================== */
.btn-lp {
  border-radius: var(--radius-md) !important;
  border-color: var(--brand) !important;
  color: var(--brand) !important;
  font-weight: 600;
  font-size: .9rem;
  padding: 10px 24px;
  transition: all .2s !important;
}
.btn-lp:hover {
  background: var(--brand) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================
   28. FORM LABEL SMALL
   ========================================================== */
.form-label-sm {
  font-weight: 600;
  font-size: .87rem;
  color: var(--text-primary);
  margin-bottom: .4rem;
  display: block;
}

/* ==========================================================
   29. CTA BANNER BUTTON GAP FIX
   ========================================================== */
.btn-cta-white i, .btn-hero-primary i { margin-right: 6px; }

/* ==========================================================
   30. FAQ CHEVRON ANIMATION
   ========================================================== */
.faq .card-header .fa-chevron-right {
  transition: transform .2s;
  display: inline-block;
}
.faq .card-header[aria-expanded="true"] .fa-chevron-right {
  transform: rotate(90deg);
}
