:root {
  --brand: #5632d2;
  --brand-dark: #3f22ad;
  --brand-soft: #f0edff;
  --ink: #17142d;
  --muted: #68657a;
  --surface: #ffffff;
  --line: #e9e7f1;
  --success: #19a974;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow: 0 22px 65px rgba(43, 29, 103, .12);
}

html { scroll-behavior: smooth; }
body { color: var(--ink); background: #fff; }
a, button { transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
a:focus-visible, button:focus-visible { outline: 3px solid rgba(86, 50, 210, .28); outline-offset: 3px; }
.btn.btn-theme { color: #fff; background: linear-gradient(105deg, var(--brand-dark), var(--brand)); box-shadow: 0 10px 24px rgba(86,50,210,.22); }
.btn.btn-theme:hover { color: #fff; background: linear-gradient(105deg, #341990, var(--brand-dark)); box-shadow: 0 14px 30px rgba(86,50,210,.3); }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 99999; padding: 12px 18px; color: #fff; background: var(--brand); border-radius: 10px; }
.skip-link:focus { top: 16px; color: #fff; }

#header-wrap { background: rgba(255,255,255,.93); border-bottom: 1px solid transparent; backdrop-filter: blur(14px); }
#header-wrap.fixed-header { border-color: var(--line); box-shadow: 0 8px 35px rgba(23,20,45,.07); }
.navbar { min-height: 78px; }
.navbar-brand img { width: auto; max-height: 42px; }
.navbar-nav .nav-link { position: relative; margin: 0 3px; padding: 13px 14px !important; border-radius: 10px; font-weight: 600; }
.navbar-nav .nav-link:hover { color: var(--brand) !important; background: var(--brand-soft); }
.navbar-nav .nav-link.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--brand); border-radius: 2px; }

.home-page { overflow: hidden; }
.home-hero { position: relative; padding: 115px 0 92px; background: linear-gradient(135deg, #fbfaff 0%, #f4f1ff 54%, #fff 100%); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.hero-orb-one { width: 370px; height: 370px; right: -130px; top: -110px; background: rgba(115,80,226,.12); }
.hero-orb-two { width: 220px; height: 220px; left: -100px; bottom: -80px; background: rgba(255,183,47,.13); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; padding: 8px 13px; color: var(--brand); background: var(--brand-soft); border-radius: 999px; font-size: 13px; line-height: 1.2; font-weight: 700; letter-spacing: .025em; }
.hero-copy h1 { max-width: 690px; margin-bottom: 22px; color: var(--ink); font-size: clamp(42px, 5vw, 68px); line-height: 1.07; letter-spacing: -.045em; }
.hero-copy h1 span { color: var(--brand); }
.hero-copy > p { max-width: 620px; margin-bottom: 30px; color: var(--muted); font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn, .home-cta .btn { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 54px; padding: 13px 24px; border-radius: 13px; font-weight: 700; }
.hero-actions .btn:hover, .home-cta .btn:hover { transform: translateY(-2px); }
.btn-outline-brand { color: var(--brand); border: 1px solid rgba(86,50,210,.28); background: rgba(255,255,255,.72); }
.btn-outline-brand:hover { color: var(--brand-dark); border-color: var(--brand); background: #fff; }
.hero-benefits { display: flex; flex-wrap: wrap; gap: 12px 25px; margin: 24px 0 0; padding: 0; color: var(--muted); list-style: none; font-size: 14px; }
.hero-benefits li { display: flex; align-items: center; gap: 8px; }
.hero-benefits i { display: grid; place-items: center; width: 21px; height: 21px; color: #fff; background: var(--success); border-radius: 50%; font-size: 10px; }
.hero-visual { position: relative; max-width: 570px; margin-left: auto; }
.hero-image-card { padding: 28px; overflow: hidden; background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.9); border-radius: 36px; box-shadow: var(--shadow); }
.hero-image-card img { display: block; width: 100%; height: auto; object-fit: contain; }
.floating-trust { position: absolute; left: -30px; bottom: 35px; display: flex; align-items: center; gap: 12px; padding: 14px 17px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 14px 40px rgba(23,20,45,.15); }
.floating-trust > span { display: grid; place-items: center; width: 42px; height: 42px; color: #fff; background: var(--success); border-radius: 12px; }
.floating-trust strong, .floating-trust small { display: block; }
.floating-trust strong { color: var(--ink); font-size: 14px; }
.floating-trust small { margin-top: 2px; color: var(--muted); font-size: 11px; }

.stats-section { position: relative; z-index: 2; margin-top: -34px; padding-bottom: 90px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 18px 55px rgba(38,27,87,.1); }
.stat-card { display: flex; align-items: center; gap: 15px; padding: 28px 25px; border-right: 1px solid var(--line); }
.stat-card:last-child { border: 0; }
.stat-icon { display: grid; flex: 0 0 auto; place-items: center; width: 48px; height: 48px; color: var(--brand); background: var(--brand-soft); border-radius: 14px; font-size: 19px; }
.stat-card strong, .stat-card span { display: block; }
.stat-card strong { color: var(--ink); font-size: 26px; line-height: 1.15; }
.stat-card div > span { margin-top: 4px; color: var(--muted); font-size: 13px; }

.process-section { padding: 75px 0 110px; background: #fff; }
.section-heading { max-width: 680px; margin: 0 auto 48px; }
.section-heading h2, .home-cta h2 { color: var(--ink); font-size: clamp(32px, 4vw, 46px); letter-spacing: -.035em; }
.section-heading p { margin: 15px 0 0; color: var(--muted); font-size: 17px; }
.process-grid { counter-reset: process; }
.process-card { position: relative; height: 100%; padding: 34px 30px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); }
.process-card:hover { border-color: rgba(86,50,210,.32); box-shadow: var(--shadow); transform: translateY(-5px); }
.process-card > i { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 26px; color: var(--brand); background: var(--brand-soft); border-radius: 16px; font-size: 23px; }
.process-card h3 { margin-bottom: 13px; color: var(--ink); font-size: 21px; }
.process-card p { margin: 0; color: var(--muted); line-height: 1.7; }
.step-number { position: absolute; top: 24px; right: 26px; color: #e5e0f8; font-size: 36px; font-weight: 800; }

.home-cta { padding: 0 0 110px; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 54px 60px; color: #fff; background: linear-gradient(125deg, var(--brand-dark), #7957e5); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.cta-card .eyebrow { color: #fff; background: rgba(255,255,255,.14); }
.cta-card h2 { max-width: 720px; margin-bottom: 12px; color: #fff; }
.cta-card p { max-width: 680px; margin: 0; color: rgba(255,255,255,.78); font-size: 16px; }
.cta-card .btn { flex: 0 0 auto; color: var(--brand-dark); white-space: nowrap; }

.footer { border-top: 1px solid var(--line); }
.primary-footer { padding-top: 75px; }
.footer-logo img { max-height: 46px; }
.footer-list a:hover { color: var(--brand); }

@media (max-width: 991px) {
  .navbar { min-height: 68px; }
  .navbar-collapse { margin-top: 10px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
  .navbar-nav .nav-link.active::after { display: none; }
  .home-hero { padding: 70px 0 80px; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .hero-copy { text-align: center; }
  .hero-copy > p { margin-right: auto; margin-left: auto; }
  .hero-actions, .hero-benefits { justify-content: center; }
  .floating-trust { left: 10px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card:nth-child(2) { border-right: 0; }
  .stat-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cta-card { align-items: flex-start; flex-direction: column; padding: 45px; }
}

@media (max-width: 575px) {
  .home-hero { padding: 48px 0 64px; }
  .hero-copy h1 { font-size: 39px; }
  .hero-copy > p { font-size: 16px; line-height: 1.65; }
  .hero-image-card { padding: 14px; border-radius: 24px; }
  .floating-trust { position: relative; left: auto; bottom: auto; width: calc(100% - 28px); margin: -20px auto 0; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-benefits { align-items: flex-start; flex-direction: column; width: max-content; max-width: 100%; margin-right: auto; margin-left: auto; }
  .stats-section { padding-bottom: 60px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card, .stat-card:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat-card:last-child { border-bottom: 0; }
  .process-section { padding: 55px 0 75px; }
  .section-heading { margin-bottom: 32px; }
  .process-card { padding: 28px 24px; }
  .home-cta { padding-bottom: 75px; }
  .cta-card { padding: 34px 25px; border-radius: 22px; }
  .cta-card .btn { width: 100%; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
