/* ==========================================================================
   MoneyLendingERP — Premium SaaS Design System
   Author: MoneyLendingERP
   Stack: Bootstrap 5 (CDN) + custom CSS
   --------------------------------------------------------------------------
   Table of Contents
   1. Design Tokens (CSS Variables)
   2. Base / Reset
   3. Typography
   4. Buttons
   5. Navbar
   6. Hero
   7. Floating Cards & Dashboard Mockup
   8. Sections & Layout helpers
   9. Trusted / Logos strip
   10. Feature Cards
   11. Dashboard Preview
   12. Why Choose / Benefits
   13. Pricing
   14. Industries
   15. How It Works (Steps)
   16. Testimonials
   17. FAQ (Accordion)
   18. Contact Form
   19. CTA band
   20. Footer
   21. Inner page hero / breadcrumb
   22. Legal / Content pages
   23. 404 & Thank You
   24. Utilities & Animations
   25. Responsive overrides
   ========================================================================== */

/* 1. ----------------------------------------------------------------- Tokens */
:root {
  /* Brand colors */
  --primary: #0F766E;          /* Teal   */
  --primary-dark: #0B5650;
  --primary-light: #14958B;
  --secondary: #2563EB;        /* Blue   */
  --secondary-dark: #1D4FD7;
  --accent: #10B981;           /* Green  */

  /* Neutrals */
  --bg: #FFFFFF;
  --bg-light: #F8FAFC;         /* Light grey */
  --bg-soft: #F1F5F9;
  --text: #111827;
  --text-muted: #4B5563;
  --text-soft: #6B7280;
  --border: #E5E7EB;
  --white: #FFFFFF;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #0F766E 0%, #2563EB 100%);
  --grad-accent: linear-gradient(135deg, #10B981 0%, #0F766E 100%);
  --grad-soft: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);

  /* Typography */
  --font-head: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Radii */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Shadows — soft, layered */
  --shadow-xs: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-sm: 0 2px 8px rgba(16, 24, 40, 0.06);
  --shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
  --shadow-md: 0 14px 40px rgba(16, 24, 40, 0.10);
  --shadow-lg: 0 24px 60px rgba(16, 24, 40, 0.14);
  --shadow-primary: 0 16px 40px rgba(15, 118, 110, 0.28);

  /* Spacing rhythm */
  --section-y: 110px;

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.18s var(--ease);
  --t: 0.3s var(--ease);
}

/* 2. ------------------------------------------------------------------ Base */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1rem;
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--secondary); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--secondary-dark); }

::selection { background: rgba(15, 118, 110, 0.16); }

/* Custom scrollbar (desktop) */
@media (min-width: 992px) {
  ::-webkit-scrollbar { width: 12px; }
  ::-webkit-scrollbar-track { background: var(--bg-light); }
  ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 8px; border: 3px solid var(--bg-light); }
  ::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
}

/* 3. ------------------------------------------------------------ Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--text);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

.display-hero {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 0.4em;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(15, 118, 110, 0.08);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead-muted { color: var(--text-muted); font-size: 1.15rem; }

/* 4. --------------------------------------------------------------- Buttons */
.btn {
  font-family: var(--font-head);
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 13px 28px;
  font-size: 0.98rem;
  transition: transform var(--t-fast), box-shadow var(--t), background var(--t), color var(--t);
  border: none;
  letter-spacing: -0.01em;
}
.btn:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.4); outline-offset: 2px; }

.btn-primary-grad {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
  background-size: 160% 160%;
}
.btn-primary-grad:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(15, 118, 110, 0.38);
  background-position: 100% 0;
}

.btn-solid {
  background: var(--primary);
  color: #fff;
}
.btn-solid:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline-soft {
  background: #fff;
  color: var(--text);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-xs);
}
.btn-outline-soft:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}
.btn-lg-cta { padding: 16px 34px; font-size: 1.05rem; }
.btn-block-sm { width: 100%; }

/* 5. ---------------------------------------------------------------- Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  padding: 16px 0;
  transition: padding var(--t), box-shadow var(--t), background var(--t);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
}
.navbar-brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar-brand:hover { color: var(--text); }
.brand-logo {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--grad-primary);
  display: grid; place-items: center;
  color: #fff; font-size: 1.1rem;
  box-shadow: var(--shadow-primary);
}
.brand-name b { color: var(--primary); }

.navbar-nav .nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text-muted);
  margin: 0 4px;
  padding: 8px 14px !important;
  border-radius: var(--radius-pill);
  transition: color var(--t-fast), background var(--t-fast);
  position: relative;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--primary); background: rgba(15, 118, 110, 0.07); }

.navbar-toggler { border: none; padding: 6px; }
.navbar-toggler:focus { box-shadow: none; }

/* 6. ------------------------------------------------------------------ Hero */
.hero {
  position: relative;
  padding: 150px 0 90px;
  background:
    radial-gradient(900px 500px at 85% -5%, rgba(37, 99, 235, 0.10), transparent 60%),
    radial-gradient(800px 600px at -5% 20%, rgba(15, 118, 110, 0.10), transparent 55%),
    var(--grad-soft);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15, 118, 110, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 118, 110, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 7px 16px 7px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  box-shadow: var(--shadow-xs);
  margin-bottom: 26px;
}
.hero-badge .pill {
  background: var(--grad-accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}
.hero p.hero-sub {
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 18px 0 32px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust {
  margin-top: 30px;
  display: flex; align-items: center; gap: 14px;
  color: var(--text-soft); font-size: 0.9rem;
}
.hero-trust .stars { color: #F59E0B; letter-spacing: 2px; }
.hero-avatars { display: flex; }
.hero-avatars span {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid #fff; margin-left: -10px;
  background: var(--grad-primary); color: #fff;
  display: grid; place-items: center; font-size: 0.72rem; font-weight: 600;
  box-shadow: var(--shadow-xs);
}
.hero-avatars span:first-child { margin-left: 0; }

/* 7. ----------------------------------------- Dashboard mockup & floating cards */
.hero-visual { position: relative; }
.dashboard-mockup {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.mock-topbar {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 16px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}
.mock-dot { width: 11px; height: 11px; border-radius: 50%; }
.mock-dot.r { background: #FB7185; }
.mock-dot.y { background: #FBBF24; }
.mock-dot.g { background: #34D399; }
.mock-url {
  margin-left: 12px; font-size: 0.75rem; color: var(--text-soft);
  background: #fff; padding: 4px 14px; border-radius: var(--radius-pill);
  border: 1px solid var(--border);
}
.mock-body { padding: 18px; }

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 14px 18px;
  z-index: 3;
  display: flex; align-items: center; gap: 12px;
  animation: floaty 5s ease-in-out infinite;
}
.floating-card .fc-icon {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; color: #fff; font-size: 1rem; flex-shrink: 0;
}
.floating-card .fc-label { font-size: 0.72rem; color: var(--text-soft); font-weight: 500; }
.floating-card .fc-value { font-size: 1.05rem; font-weight: 700; font-family: var(--font-head); color: var(--text); line-height: 1.1; }

.fc-1 { top: 6%;   left: -7%;  animation-delay: 0s; }
.fc-2 { top: 30%;  right: -9%; animation-delay: 0.8s; }
.fc-3 { bottom: 16%;left: -9%;  animation-delay: 1.6s; }
.fc-4 { bottom: -4%;right: 4%;  animation-delay: 1.1s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* 8. ------------------------------------------------- Sections / layout helpers */
section { position: relative; }
.section-pad { padding: var(--section-y) 0; }
.section-pad-sm { padding: 72px 0; }
.bg-light-grey { background: var(--bg-light); }
.bg-soft { background: var(--bg-soft); }
.bg-dark-band {
  background: radial-gradient(800px 400px at 50% 0%, rgba(37, 99, 235, 0.25), transparent 60%), #0B1220;
  color: #fff;
}
.max-720 { max-width: 720px; margin-left: auto; margin-right: auto; }

/* 9. --------------------------------------------------------- Trusted / logos */
.trusted {
  padding: 44px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.trusted-label {
  text-align: center; color: var(--text-soft);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 26px;
}
.trusted-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  align-items: center; gap: 14px 40px;
}
.trusted-item {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-muted); font-weight: 600;
  font-family: var(--font-head); font-size: 1.02rem;
  opacity: 0.85; transition: opacity var(--t);
}
.trusted-item:hover { opacity: 1; }
.trusted-item i { color: var(--primary); font-size: 1.2rem; }

/* 10. ----------------------------------------------------------- Feature cards */
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  height: 100%;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--grad-primary); transition: width var(--t);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.feature-card:hover::after { width: 100%; }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(15, 118, 110, 0.10);
  color: var(--primary);
  font-size: 1.35rem; margin-bottom: 18px;
  transition: transform var(--t), background var(--t), color var(--t);
}
.feature-card:hover .feature-icon { background: var(--grad-primary); color: #fff; transform: scale(1.06) rotate(-4deg); }
.feature-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* Color variants for icon accents */
.fi-blue  { background: rgba(37, 99, 235, 0.10); color: var(--secondary); }
.fi-green { background: rgba(16, 185, 129, 0.12); color: var(--accent); }

/* 11. -------------------------------------------------------- Dashboard preview */
.preview-shell {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.stat-tile {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  transition: transform var(--t), box-shadow var(--t);
}
.stat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat-tile .st-top { display: flex; justify-content: space-between; align-items: flex-start; }
.stat-tile .st-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.stat-tile .st-value { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; margin: 12px 0 2px; }
.stat-tile .st-label { color: var(--text-soft); font-size: 0.88rem; }
.stat-tile .st-trend { font-size: 0.8rem; font-weight: 600; }
.trend-up { color: var(--accent); }
.trend-down { color: #EF4444; }

.mini-table { width: 100%; font-size: 0.88rem; border-collapse: collapse; }
.mini-table th { text-align: left; color: var(--text-soft); font-weight: 600; padding: 10px 8px; border-bottom: 1px solid var(--border); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; }
.mini-table td { padding: 12px 8px; border-bottom: 1px solid var(--bg-soft); }
.mini-table tr:last-child td { border-bottom: none; }
.tag { font-size: 0.74rem; font-weight: 600; padding: 3px 10px; border-radius: var(--radius-pill); display: inline-block; }
.tag-paid { background: rgba(16, 185, 129, 0.12); color: #047857; }
.tag-due { background: rgba(245, 158, 11, 0.14); color: #B45309; }
.tag-over { background: rgba(239, 68, 68, 0.12); color: #B91C1C; }

.bar-chart { display: flex; align-items: flex-end; gap: 10px; height: 150px; padding-top: 10px; }
.bar-chart .bar { flex: 1; border-radius: 8px 8px 0 0; background: var(--grad-primary); opacity: 0.85; transition: opacity var(--t); }
.bar-chart .bar:hover { opacity: 1; }
.donut {
  width: 150px; height: 150px; border-radius: 50%;
  background: conic-gradient(var(--primary) 0 55%, var(--secondary) 55% 80%, var(--accent) 80% 100%);
  position: relative; margin: 0 auto;
}
.donut::after {
  content: ""; position: absolute; inset: 22px; background: #fff; border-radius: 50%;
}

/* 12. --------------------------------------------------------- Why choose / benefits */
.benefit-card {
  text-align: center; padding: 34px 24px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); height: 100%;
  transition: transform var(--t), box-shadow var(--t);
}
.benefit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.benefit-icon {
  width: 72px; height: 72px; border-radius: 20px;
  display: grid; place-items: center; margin: 0 auto 20px;
  font-size: 1.7rem; color: #fff;
}
.bi-1 { background: var(--grad-primary); }
.bi-2 { background: linear-gradient(135deg, #2563EB, #1D4FD7); }
.bi-3 { background: var(--grad-accent); }
.bi-4 { background: linear-gradient(135deg, #F59E0B, #F97316); }
.benefit-card h3 { font-size: 1.2rem; }
.benefit-card p { color: var(--text-muted); margin: 0; font-size: 0.96rem; }

/* 13. --------------------------------------------------------------- Pricing */
.pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  height: 100%;
  position: relative;
  transition: transform var(--t), box-shadow var(--t);
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.pricing-card.featured:hover { transform: scale(1.03) translateY(-6px); }
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad-primary); color: #fff;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 6px 18px; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-primary); white-space: nowrap;
}
.pricing-card .plan-name { font-size: 1.25rem; }
.pricing-card .plan-desc { color: var(--text-soft); font-size: 0.92rem; min-height: 44px; }
.pricing-card .plan-price { font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; color: var(--text); line-height: 1; margin: 12px 0 2px; }
.pricing-card .plan-price small { font-size: 1rem; font-weight: 500; color: var(--text-soft); }
.pricing-card .plan-cycle { color: var(--text-soft); font-size: 0.86rem; margin-bottom: 22px; }
.plan-features { list-style: none; padding: 0; margin: 24px 0; }
.plan-features li { padding: 8px 0; display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; color: var(--text-muted); }
.plan-features li i { color: var(--accent); margin-top: 4px; }
.plan-features li.muted { color: var(--text-soft); }
.plan-features li.muted i { color: #CBD5E1; }

/* 14. -------------------------------------------------------------- Industries */
.industry-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 22px; height: 100%;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  display: flex; align-items: center; gap: 16px;
}
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.industry-icon {
  width: 54px; height: 54px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 1.4rem;
  background: rgba(37, 99, 235, 0.10); color: var(--secondary);
}
.industry-card h3 { font-size: 1.05rem; margin: 0 0 2px; }
.industry-card p { margin: 0; font-size: 0.88rem; color: var(--text-soft); }

/* 15. ----------------------------------------------------------- How It Works */
.steps-wrap { position: relative; }
.step-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px 24px; text-align: center;
  height: 100%; position: relative; transition: transform var(--t), box-shadow var(--t);
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-number {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto 18px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem;
  background: var(--grad-primary); color: #fff; box-shadow: var(--shadow-primary);
}
.step-card h3 { font-size: 1.1rem; }
.step-card p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }
.step-connector {
  position: absolute; top: 50px; right: -20px; z-index: 4;
  color: var(--primary); font-size: 1.4rem;
}

/* 16. -------------------------------------------------------------- Testimonials */
.testimonial-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px; height: 100%;
  transition: transform var(--t), box-shadow var(--t);
  position: relative;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.testimonial-card .quote-mark { font-size: 3rem; color: rgba(15, 118, 110, 0.14); font-family: Georgia, serif; line-height: 0.4; margin-bottom: 6px; display: block; }
.testimonial-card .stars { color: #F59E0B; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p { color: var(--text-muted); font-size: 1rem; }
.testimonial-author { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.testimonial-avatar {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--grad-primary); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-family: var(--font-head);
  flex-shrink: 0;
}
.testimonial-author .ta-name { font-weight: 600; font-family: var(--font-head); color: var(--text); }
.testimonial-author .ta-role { font-size: 0.85rem; color: var(--text-soft); }

/* 17. -------------------------------------------------------------------- FAQ */
.faq-accordion .accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  margin-bottom: 14px;
  overflow: hidden;
  background: #fff;
}
.faq-accordion .accordion-button {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.04rem;
  color: var(--text);
  padding: 20px 22px;
  background: #fff;
}
.faq-accordion .accordion-button:not(.collapsed) { color: var(--primary); background: rgba(15, 118, 110, 0.04); box-shadow: none; }
.faq-accordion .accordion-button:focus { box-shadow: none; border-color: transparent; }
.faq-accordion .accordion-button::after {
  background-image: none;
  content: "\f067";
  font-family: "Font Awesome 6 Free"; font-weight: 900;
  font-size: 0.85rem; color: var(--primary);
  transform: none; transition: transform var(--t);
  width: auto; height: auto;
}
.faq-accordion .accordion-button:not(.collapsed)::after { content: "\f068"; transform: none; }
.faq-accordion .accordion-body { padding: 0 22px 22px; color: var(--text-muted); }

/* 18. --------------------------------------------------------------- Contact */
.contact-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 38px;
  box-shadow: var(--shadow);
}
.form-label { font-weight: 500; font-size: 0.9rem; color: var(--text); margin-bottom: 6px; }
.form-control, .form-select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.96rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}
.form-control.is-invalid, .form-select.is-invalid { border-color: #EF4444; }
.invalid-feedback { font-size: 0.82rem; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-info-item .cii-icon {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 1.2rem;
  background: rgba(255,255,255,0.12); color: #fff;
}
.form-success {
  display: none; background: rgba(16, 185, 129, 0.10);
  border: 1px solid rgba(16, 185, 129, 0.4); color: #047857;
  border-radius: var(--radius); padding: 16px 20px; margin-bottom: 20px;
  align-items: center; gap: 12px; font-weight: 500;
}
.form-success.show { display: flex; }

/* 19. ------------------------------------------------------------------ CTA band */
.cta-band {
  background: var(--grad-primary);
  border-radius: var(--radius-xl);
  padding: 60px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 280px; height: 280px; border-radius: 50%;
  background: rgba(255,255,255,0.10);
}
.cta-band::after {
  content: ""; position: absolute; left: -40px; bottom: -80px;
  width: 220px; height: 220px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-band p { color: rgba(255,255,255,0.9); }
.cta-band .btn-light { background: #fff; color: var(--primary); font-weight: 600; }
.cta-band .btn-light:hover { background: #f0fdfa; transform: translateY(-2px); }

/* 20. ------------------------------------------------------------------- Footer */
.site-footer { background: #0B1220; color: #cbd5e1; padding: 72px 0 0; }
.site-footer .footer-brand {
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: #fff;
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.site-footer p { color: #94a3b8; font-size: 0.94rem; }
.footer-col h5 { color: #fff; font-size: 0.95rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: #94a3b8; font-size: 0.94rem; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 11px;
  background: rgba(255,255,255,0.08); color: #cbd5e1;
  display: grid; place-items: center; font-size: 1rem;
  transition: background var(--t), color var(--t), transform var(--t);
}
.footer-social a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 56px; padding: 24px 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 0.88rem; color: #64748b;
}
.footer-bottom a { color: #94a3b8; }

/* 21. ------------------------------------------------- Inner page hero / breadcrumb */
.page-hero {
  padding: 140px 0 70px;
  background:
    radial-gradient(700px 360px at 80% 0%, rgba(37, 99, 235, 0.10), transparent 60%),
    var(--grad-soft);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { color: var(--text-muted); font-size: 1.12rem; max-width: 620px; margin: 0 auto; }
.breadcrumb-pills { display: flex; justify-content: center; gap: 8px; font-size: 0.88rem; color: var(--text-soft); margin-top: 16px; }
.breadcrumb-pills a { color: var(--primary); }

/* 22. ----------------------------------------------------------- Legal / content */
.content-prose { max-width: 820px; margin: 0 auto; }
.content-prose h2 { font-size: 1.5rem; margin-top: 40px; }
.content-prose h3 { font-size: 1.18rem; margin-top: 28px; }
.content-prose p, .content-prose li { color: var(--text-muted); font-size: 1rem; }
.content-prose ul { padding-left: 20px; }
.content-prose li { margin-bottom: 8px; }
.content-meta { color: var(--text-soft); font-size: 0.9rem; margin-bottom: 30px; }

/* 23. ----------------------------------------------------------- 404 & Thank You */
.center-stage {
  min-height: 78vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 120px 0 80px;
  background:
    radial-gradient(700px 360px at 50% 0%, rgba(15, 118, 110, 0.10), transparent 60%),
    var(--grad-soft);
}
.error-code {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(6rem, 18vw, 11rem); line-height: 1;
  background: var(--grad-primary); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.success-check {
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--grad-accent); color: #fff;
  display: grid; place-items: center; font-size: 2.6rem;
  margin: 0 auto 28px; box-shadow: var(--shadow-primary);
  animation: pop 0.5s var(--ease);
}
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }

/* 24. ------------------------------------------------------- Utilities & anims */
.check-list { list-style: none; padding: 0; margin: 24px 0; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; color: var(--text-muted); }
.check-list li i {
  color: var(--accent); background: rgba(16,185,129,0.12);
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font-size: 0.7rem; flex-shrink: 0; margin-top: 3px;
}
.divider-soft { height: 1px; background: var(--border); border: none; }
.shadow-soft { box-shadow: var(--shadow); }
.rounded-xl { border-radius: var(--radius-lg); }

.stat-counter { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem); }
.stat-counter-label { color: var(--text-soft); font-size: 0.95rem; }

/* 25. ----------------------------------------------------------- Responsive */
@media (max-width: 1199.98px) {
  .fc-1 { left: -2%; } .fc-2 { right: -3%; } .fc-3 { left: -3%; }
}
@media (max-width: 991.98px) {
  :root { --section-y: 80px; }
  .navbar {
    background: rgba(255,255,255,0.96);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .navbar-collapse {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius); padding: 14px; margin-top: 12px;
    box-shadow: var(--shadow);
  }
  .navbar-nav .nav-link { padding: 12px 14px !important; }
  .navbar .btn { width: 100%; margin-top: 8px; }
  .hero { padding: 120px 0 70px; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .hero p.hero-sub { margin-left: auto; margin-right: auto; }
  .hero-trust { justify-content: center; }
  .hero-visual { margin-top: 70px; }
  .floating-card { position: relative; display: inline-flex; top: auto !important; left: auto !important; right: auto !important; bottom: auto !important; margin: 8px; animation: none; }
  .floating-stack { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 24px; }
  .step-connector { display: none; }
  .cta-band { padding: 40px 28px; text-align: center; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-6px); }
}
@media (max-width: 767.98px) {
  :root { --section-y: 64px; }
  .hero { padding: 110px 0 56px; }
  .display-hero { font-size: clamp(2rem, 8vw, 2.5rem); }
  .contact-card { padding: 26px 20px; }
  .cta-band { padding: 34px 22px; }
  .floating-card { padding: 11px 14px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .floating-card { animation: none !important; }
}
