/* ============================================================
   BizUpNow — Ultra-Premium Platform Stylesheet
   Pure custom CSS · No frameworks
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* ---- Brand ---- */
  --color-primary:       #C4F500;
  --color-primary-dark:  #a8d100;
  --color-primary-rgb:   196, 245, 0;
  --color-dark:          #1a1a2e;
  --color-dark-deep:     #0f0f23;
  --color-dark-rgb:      26, 26, 46;

  /* ---- Credit (Green) ---- */
  --color-credit-dark:   #2E7D32;
  --color-credit:        #4CAF50;
  --color-credit-light:  #81C784;

  /* ---- Corporation (Blue + Red) ---- */
  --color-corp-blue:     #1565C0;
  --color-corp-blue-md:  #2196F3;
  --color-corp-red:      #C62828;

  /* ---- Business Loans (Blues) ---- */
  --color-loans-dark:    #01579B;
  --color-loans:         #0277BD;
  --color-loans-light:   #0288D1;

  /* ---- Trust & Will (Browns) ---- */
  --color-trust-dark:    #5D4037;
  --color-trust:         #795548;
  --color-trust-light:   #8D6E63;

  /* ---- Neutral ---- */
  --color-white:         #ffffff;
  --color-light:         #f8f9fa;
  --color-light-alt:     #f8faf5;
  --color-gray-100:      #f1f3f5;
  --color-gray-200:      #e9ecef;
  --color-gray-300:      #dee2e6;
  --color-gray-400:      #ced4da;
  --color-gray-500:      #adb5bd;
  --color-gray-600:      #868e96;
  --color-gray-700:      #495057;
  --color-gray-800:      #343a40;
  --color-gray-900:      #212529;
  --color-body-text:     #4a4a5a;

  /* ---- Feedback ---- */
  --color-success:       #2E7D32;
  --color-error:         #d32f2f;
  --color-warning:       #f9a825;
  --color-info:          #0277BD;

  /* ---- Typography ---- */
  --ff-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.5rem;
  --fs-2xl:  2rem;
  --fs-3xl:  2.5rem;
  --fs-4xl:  3rem;
  --fs-5xl:  3.5rem;
  --fs-6xl:  4.5rem;
  --fw-light:     300;
  --fw-regular:   400;
  --fw-medium:    500;
  --fw-semibold:  600;
  --fw-bold:      700;
  --fw-extrabold: 800;
  --lh-tight:   1.2;
  --lh-snug:    1.35;
  --lh-normal:  1.6;
  --lh-relaxed: 1.75;

  /* ---- Spacing ---- */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 5rem;
  --space-5xl: 6rem;
  --space-section: 5rem;

  /* ---- Radius ---- */
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-2xl:  32px;
  --radius-pill: 50px;
  --radius-full: 50%;

  /* ---- Shadows ---- */
  --shadow-xs:    0 1px 2px rgba(0,0,0,.04);
  --shadow-sm:    0 2px 8px rgba(0,0,0,.06);
  --shadow-md:    0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:    0 8px 32px rgba(0,0,0,.10);
  --shadow-xl:    0 16px 48px rgba(0,0,0,.12);
  --shadow-2xl:   0 24px 64px rgba(0,0,0,.16);
  --shadow-glow:  0 0 30px rgba(var(--color-primary-rgb), .25);
  --shadow-card:  0 4px 20px rgba(0,0,0,.07);
  --shadow-card-hover: 0 12px 40px rgba(0,0,0,.12);

  /* ---- Transitions ---- */
  --ease-out:     cubic-bezier(.25, .46, .45, .94);
  --ease-in-out:  cubic-bezier(.645, .045, .355, 1);
  --ease-spring:  cubic-bezier(.175, .885, .32, 1.275);
  --transition-fast:   .2s var(--ease-out);
  --transition-base:   .3s var(--ease-out);
  --transition-slow:   .5s var(--ease-in-out);
  --transition-spring: .4s var(--ease-spring);

  /* ---- Z-index layers ---- */
  --z-dropdown:  100;
  --z-sticky:    200;
  --z-fixed:     300;
  --z-overlay:   400;
  --z-modal:     500;
  --z-toast:     600;

  /* ---- Layout ---- */
  --container-max: 1200px;
  --container-narrow: 800px;
  --header-height: 80px;
}


/* ============================================================
   2. CSS RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--ff-primary);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--color-body-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--color-gray-900);
}

h1 { font-size: var(--fs-5xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl);  }
h5 { font-size: var(--fs-lg);  }
h6 { font-size: var(--fs-md);  }

p {
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

::selection {
  background: rgba(var(--color-primary-rgb), .3);
  color: var(--color-dark);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}


/* ============================================================
   3. LAYOUT UTILITIES
   ============================================================ */

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--wide {
  max-width: 1400px;
}

/* ---- Grid ---- */
.grid {
  display: grid;
  gap: var(--space-xl);
}

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

.grid-auto-fit {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-auto-fill {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* ---- Flex ---- */
.flex             { display: flex; }
.flex-col         { flex-direction: column; }
.flex-wrap        { flex-wrap: wrap; }
.flex-center      { justify-content: center; align-items: center; }
.flex-between     { justify-content: space-between; align-items: center; }
.flex-start       { align-items: flex-start; }
.flex-end         { align-items: flex-end; }
.gap-sm           { gap: var(--space-sm); }
.gap-md           { gap: var(--space-md); }
.gap-lg           { gap: var(--space-lg); }
.gap-xl           { gap: var(--space-xl); }
.gap-2xl          { gap: var(--space-2xl); }

/* ---- Spacing ---- */
.mt-sm  { margin-top: var(--space-sm);  }
.mt-md  { margin-top: var(--space-md);  }
.mt-lg  { margin-top: var(--space-lg);  }
.mt-xl  { margin-top: var(--space-xl);  }
.mt-2xl { margin-top: var(--space-2xl); }
.mt-3xl { margin-top: var(--space-3xl); }

.mb-sm  { margin-bottom: var(--space-sm);  }
.mb-md  { margin-bottom: var(--space-md);  }
.mb-lg  { margin-bottom: var(--space-lg);  }
.mb-xl  { margin-bottom: var(--space-xl);  }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }

.pt-sm  { padding-top: var(--space-sm);  }
.pt-md  { padding-top: var(--space-md);  }
.pt-lg  { padding-top: var(--space-lg);  }
.pt-xl  { padding-top: var(--space-xl);  }
.pt-2xl { padding-top: var(--space-2xl); }
.pt-3xl { padding-top: var(--space-3xl); }

.pb-sm  { padding-bottom: var(--space-sm);  }
.pb-md  { padding-bottom: var(--space-md);  }
.pb-lg  { padding-bottom: var(--space-lg);  }
.pb-xl  { padding-bottom: var(--space-xl);  }
.pb-2xl { padding-bottom: var(--space-2xl); }
.pb-3xl { padding-bottom: var(--space-3xl); }

.px-md  { padding-inline: var(--space-md); }
.px-lg  { padding-inline: var(--space-lg); }
.px-xl  { padding-inline: var(--space-xl); }

.py-md  { padding-block: var(--space-md); }
.py-lg  { padding-block: var(--space-lg); }
.py-xl  { padding-block: var(--space-xl); }

/* ---- Text ---- */
.text-center  { text-align: center; }
.text-left    { text-align: left;   }
.text-right   { text-align: right;  }
.text-muted   { color: var(--color-gray-600); }
.text-small   { font-size: var(--fs-sm); }
.text-large   { font-size: var(--fs-lg); }
.text-white   { color: var(--color-white); }
.text-dark    { color: var(--color-dark); }
.text-primary { color: var(--color-primary); }
.text-uppercase { text-transform: uppercase; letter-spacing: .08em; }
.text-balance { text-wrap: balance; }

.fw-light     { font-weight: var(--fw-light);     }
.fw-regular   { font-weight: var(--fw-regular);   }
.fw-medium    { font-weight: var(--fw-medium);    }
.fw-semibold  { font-weight: var(--fw-semibold);  }
.fw-bold      { font-weight: var(--fw-bold);      }
.fw-extrabold { font-weight: var(--fw-extrabold); }

/* ---- Visibility ---- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.hidden { display: none !important; }


/* ============================================================
   4. HEADER / NAVIGATION
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .35s ease,
              box-shadow .35s ease,
              border-color .35s ease,
              backdrop-filter .35s ease;
}

.header--scrolled {
  background: linear-gradient(135deg, #15803d 0%, #166534 100%);
  border-bottom-color: transparent;
  box-shadow: 0 4px 30px rgba(0,0,0,.18);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 14px var(--space-lg);
}

.header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.header__logo img {
  height: 38px;
  width: auto;
}

.header__logo-text {
  font-size: var(--fs-xl);
  font-weight: var(--fw-extrabold);
  color: var(--color-white);
  letter-spacing: -.02em;
}

.header__logo-text span {
  color: var(--color-primary);
}

/* ---- Desktop Navigation ---- */
.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.header__nav-link {
  position: relative;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,.75);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast),
              background var(--transition-fast);
}

.header__nav-link:hover,
.header__nav-link--active {
  color: var(--color-white);
  background: rgba(255,255,255,.08);
}

.header__nav-link--active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

/* ---- Header Actions ---- */
.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.header__phone {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
  margin-right: var(--space-md);
  transition: opacity var(--transition-fast);
}

.header__phone:hover {
  opacity: .8;
}

.header__phone svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.btn-login {
  padding: 10px 22px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}

.btn-login:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.35);
}

.btn-register {
  padding: 10px 22px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-dark);
  background: var(--color-primary);
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}

.btn-register:hover {
  background: var(--color-primary-dark);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

/* ---- Hamburger ---- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: calc(var(--z-overlay) + 10);
}

.hamburger span,
.hamburger__line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition-base),
              opacity var(--transition-fast);
}

.hamburger span + span,
.hamburger__line + .hamburger__line {
  margin-top: 6px;
}

.hamburger--active span:nth-child(1),
.hamburger--active .hamburger__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger--active span:nth-child(2),
.hamburger--active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger--active span:nth-child(3),
.hamburger--active .hamburger__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


/* ============================================================
   5. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, var(--color-dark) 0%, var(--color-dark-deep) 100%);
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero__bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__shape {
  position: absolute;
  border-radius: var(--radius-full);
  opacity: .06;
  filter: blur(80px);
}

.hero__shape--1 {
  width: 600px; height: 600px;
  background: var(--color-primary);
  top: -10%; right: -5%;
  animation: floatShape 20s ease-in-out infinite;
}

.hero__shape--2 {
  width: 400px; height: 400px;
  background: var(--color-corp-blue-md);
  bottom: 5%; left: -5%;
  animation: floatShape 25s ease-in-out infinite reverse;
}

.hero__shape--3 {
  width: 300px; height: 300px;
  background: var(--color-primary);
  top: 40%; left: 30%;
  animation: floatShape 18s ease-in-out infinite 5s;
}

.hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 850px;
  padding: var(--space-2xl) var(--space-lg);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 20px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), .1);
  border: 1px solid rgba(var(--color-primary-rgb), .2);
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-xl);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.hero__badge-dot {
  width: 6px; height: 6px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  animation: pulse 2s ease-in-out infinite;
}

.hero__title {
  font-size: clamp(var(--fs-3xl), 5vw, var(--fs-6xl));
  font-weight: var(--fw-extrabold);
  color: var(--color-white);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-lg);
  letter-spacing: -.03em;
}

.hero__title .gradient-text {
  background: linear-gradient(135deg, var(--color-primary) 0%, #e8ff6b 50%, var(--color-primary) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 4s ease-in-out infinite;
}

.hero__subtitle {
  font-size: clamp(var(--fs-md), 2vw, var(--fs-xl));
  font-weight: var(--fw-regular);
  color: rgba(255,255,255,.6);
  line-height: var(--lh-relaxed);
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--space-2xl);
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

.hero__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  letter-spacing: .02em;
}

.hero__phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: rgba(var(--color-primary-rgb), .15);
  border-radius: var(--radius-full);
  animation: pulse 2s ease-in-out infinite;
}

.hero__phone-icon svg {
  width: 20px; height: 20px;
  fill: var(--color-primary);
}

.hero__trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,.08);
}

.hero__trust-item {
  text-align: center;
}

.hero__trust-number {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-extrabold);
  color: var(--color-white);
}

.hero__trust-label {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ---- Scroll indicator ---- */
.hero__scroll {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255,255,255,.3);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: .15em;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.3), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}


/* ============================================================
   6. SECTIONS
   ============================================================ */
.section {
  padding: var(--space-section) 0;
}

.section--dark {
  background: var(--color-dark);
  color: var(--color-white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-white);
}

.section--light {
  background: var(--color-white);
}

.section--alt {
  background: var(--color-light-alt);
}

.section--gray {
  background: var(--color-light);
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: var(--space-3xl);
}

.section__label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.section--dark .section__label {
  color: var(--color-primary);
}

.section__title {
  font-size: clamp(var(--fs-2xl), 3.5vw, var(--fs-4xl));
  font-weight: var(--fw-extrabold);
  letter-spacing: -.02em;
  margin-bottom: var(--space-md);
  position: relative;
}

.section__title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 3px;
  margin: var(--space-lg) auto 0;
}

.section--dark .section__title::after {
  background: var(--color-primary);
}

.section__subtitle {
  font-size: var(--fs-md);
  color: var(--color-gray-600);
  line-height: var(--lh-relaxed);
}

.section--dark .section__subtitle {
  color: rgba(255,255,255,.55);
}

/* ---- Service Category Accent Overrides ---- */
.section--credit .section__label  { color: var(--color-credit); }
.section--credit .section__title::after { background: var(--color-credit); }

.section--corp .section__label    { color: var(--color-corp-blue-md); }
.section--corp .section__title::after   { background: var(--color-corp-blue-md); }

.section--loans .section__label   { color: var(--color-loans); }
.section--loans .section__title::after  { background: var(--color-loans); }

.section--trust .section__label   { color: var(--color-trust); }
.section--trust .section__title::after  { background: var(--color-trust); }


/* ============================================================
   7. CARDS
   ============================================================ */

/* ---- Service Card ---- */
.service-card {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-card);
  border-top: 3px solid var(--color-primary);
  transition: transform var(--transition-base),
              box-shadow var(--transition-base);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  border-radius: var(--radius-md);
  background: rgba(var(--color-primary-rgb), .1);
  margin-bottom: var(--space-lg);
  transition: background var(--transition-base),
              transform var(--transition-base);
}

.service-card:hover .service-card__icon {
  background: var(--color-primary);
  transform: scale(1.05);
}

.service-card__icon svg,
.service-card__icon i {
  font-size: 28px;
  color: var(--color-primary);
  transition: color var(--transition-base);
}

.service-card:hover .service-card__icon svg,
.service-card:hover .service-card__icon i {
  color: var(--color-dark);
}

.service-card__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-sm);
}

.service-card__text {
  font-size: var(--fs-sm);
  color: var(--color-gray-600);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-lg);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-primary-dark);
  transition: gap var(--transition-fast);
}

.service-card__link:hover {
  gap: var(--space-sm);
}

.service-card__link svg {
  width: 16px; height: 16px;
  transition: transform var(--transition-fast);
}

.service-card__link:hover svg {
  transform: translateX(4px);
}

/* Color Variants */
.service-card--credit { border-top-color: var(--color-credit); }
.service-card--credit .service-card__icon { background: rgba(46,125,50,.1); }
.service-card--credit .service-card__icon svg { color: var(--color-credit); }
.service-card--credit:hover .service-card__icon { background: var(--color-credit); }
.service-card--credit:hover .service-card__icon svg { color: var(--color-white); }
.service-card--credit .service-card__link { color: var(--color-credit-dark); }

.service-card--corp { border-top-color: var(--color-corp-blue-md); }
.service-card--corp .service-card__icon { background: rgba(33,150,243,.1); }
.service-card--corp .service-card__icon svg { color: var(--color-corp-blue-md); }
.service-card--corp:hover .service-card__icon { background: var(--color-corp-blue-md); }
.service-card--corp:hover .service-card__icon svg { color: var(--color-white); }
.service-card--corp .service-card__link { color: var(--color-corp-blue); }

.service-card--loans { border-top-color: var(--color-loans); }
.service-card--loans .service-card__icon { background: rgba(2,119,189,.1); }
.service-card--loans .service-card__icon svg { color: var(--color-loans); }
.service-card--loans:hover .service-card__icon { background: var(--color-loans); }
.service-card--loans:hover .service-card__icon svg { color: var(--color-white); }
.service-card--loans .service-card__link { color: var(--color-loans-dark); }

.service-card--trust { border-top-color: var(--color-trust); }
.service-card--trust .service-card__icon { background: rgba(121,85,72,.1); }
.service-card--trust .service-card__icon svg { color: var(--color-trust); }
.service-card--trust:hover .service-card__icon { background: var(--color-trust); }
.service-card--trust:hover .service-card__icon svg { color: var(--color-white); }
.service-card--trust .service-card__link { color: var(--color-trust-dark); }

/* ---- Feature Card ---- */
.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  transition: all var(--transition-base);
}

.feature-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px; height: 72px;
  border-radius: var(--radius-lg);
  background: var(--color-light);
  margin-bottom: var(--space-lg);
  font-size: 32px;
  color: var(--color-primary-dark);
  transition: all var(--transition-base);
}

.feature-card:hover .feature-card__icon {
  background: var(--color-primary);
  color: var(--color-dark);
  transform: rotateY(180deg);
}

.feature-card__title {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-sm);
}

.feature-card__text {
  font-size: var(--fs-sm);
  color: var(--color-gray-600);
  line-height: var(--lh-relaxed);
}

/* ---- Stat Card ---- */
.stat-card {
  position: relative;
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-deep) 100%);
  color: var(--color-white);
  overflow: hidden;
  text-align: center;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: -30%; right: -20%;
  width: 200px; height: 200px;
  background: rgba(var(--color-primary-rgb), .06);
  border-radius: var(--radius-full);
  filter: blur(40px);
}

.stat-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  margin-inline: auto;
  margin-bottom: var(--space-md);
  color: var(--color-primary);
  font-size: 24px;
}

.stat-card__number {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-extrabold);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-card__label {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ---- Testimonial Card ---- */
.testimonial-card {
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-gray-100);
  transition: transform var(--transition-base),
              box-shadow var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  color: #f9a825;
  font-size: var(--fs-md);
  margin-bottom: var(--space-md);
}

.testimonial-card__quote {
  font-size: var(--fs-base);
  font-style: italic;
  color: var(--color-gray-700);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-lg);
  position: relative;
  padding-left: var(--space-lg);
}

.testimonial-card__quote::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -4px;
  font-size: var(--fs-3xl);
  color: var(--color-primary);
  font-style: normal;
  line-height: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-card__avatar {
  width: 48px; height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--color-gray-200);
}

.testimonial-card__name {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-gray-900);
}

.testimonial-card__role {
  font-size: var(--fs-xs);
  color: var(--color-gray-500);
}

/* ---- Pricing Card ---- */
.pricing-card {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--color-gray-200);
  text-align: center;
  transition: all var(--transition-base);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pricing-card--featured {
  border: 2px solid var(--color-primary);
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
  z-index: 2;
}

.pricing-card--featured:hover {
  transform: scale(1.05) translateY(-6px);
}

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 24px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-dark);
  background: var(--color-primary);
  border-radius: var(--radius-pill);
}

.pricing-card__name {
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  color: var(--color-gray-700);
  margin-bottom: var(--space-md);
}

.pricing-card__price {
  font-size: var(--fs-5xl);
  font-weight: var(--fw-extrabold);
  color: var(--color-gray-900);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.pricing-card__price sup {
  font-size: var(--fs-xl);
  vertical-align: super;
  font-weight: var(--fw-bold);
}

.pricing-card__period {
  font-size: var(--fs-sm);
  color: var(--color-gray-500);
  margin-bottom: var(--space-xl);
}

.pricing-card__features {
  text-align: left;
  margin-bottom: var(--space-xl);
}

.pricing-card__feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-size: var(--fs-sm);
  color: var(--color-gray-700);
}

.pricing-card__feature::before {
  content: '\2713';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  font-size: 11px;
  font-weight: var(--fw-bold);
  color: var(--color-white);
  background: var(--color-credit);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}


/* ============================================================
   8. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: scale(.97);
}

/* Primary */
.btn-primary {
  color: var(--color-dark);
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0) scale(.97);
}

/* Secondary */
.btn-secondary {
  color: var(--color-white);
  background: var(--color-dark);
  border-color: var(--color-dark);
}

.btn-secondary:hover {
  background: var(--color-dark-deep);
  border-color: var(--color-dark-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Outline */
.btn-outline {
  color: var(--color-white);
  background: transparent;
  border-color: rgba(255,255,255,.3);
}

.btn-outline:hover {
  color: var(--color-dark);
  background: var(--color-white);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline--dark {
  color: var(--color-dark);
  border-color: var(--color-gray-300);
}

.btn-outline--dark:hover {
  color: var(--color-white);
  background: var(--color-dark);
  border-color: var(--color-dark);
}

/* Call Button */
.btn-call {
  color: var(--color-white);
  background: linear-gradient(135deg, #2E7D32 0%, #4CAF50 100%);
  border-color: transparent;
}

.btn-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46,125,50,.35);
}

.btn-call svg {
  width: 18px; height: 18px;
  fill: currentColor;
  animation: pulse 2s ease-in-out infinite;
}

/* Sizes */
.btn-sm {
  padding: 8px 20px;
  font-size: var(--fs-xs);
}

.btn-lg {
  padding: 18px 42px;
  font-size: var(--fs-base);
}

/* Icon only */
.btn-icon {
  width: 48px; height: 48px;
  padding: 0;
  border-radius: var(--radius-full);
}

/* ---- Section-themed buttons ---- */
.btn--credit {
  background: var(--color-credit);
  border-color: var(--color-credit);
  color: var(--color-white);
}
.btn--credit:hover { background: var(--color-credit-dark); border-color: var(--color-credit-dark); }

.btn--corp {
  background: var(--color-corp-blue-md);
  border-color: var(--color-corp-blue-md);
  color: var(--color-white);
}
.btn--corp:hover { background: var(--color-corp-blue); border-color: var(--color-corp-blue); }

.btn--loans {
  background: var(--color-loans);
  border-color: var(--color-loans);
  color: var(--color-white);
}
.btn--loans:hover { background: var(--color-loans-dark); border-color: var(--color-loans-dark); }

.btn--trust {
  background: var(--color-trust);
  border-color: var(--color-trust);
  color: var(--color-white);
}
.btn--trust:hover { background: var(--color-trust-dark); border-color: var(--color-trust-dark); }


/* ============================================================
   9. FORMS
   ============================================================ */
.form-group {
  position: relative;
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-gray-700);
  margin-bottom: var(--space-sm);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  font-size: var(--fs-base);
  color: var(--color-gray-900);
  background: var(--color-white);
  border: 1.5px solid var(--color-gray-300);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast),
              box-shadow var(--transition-fast);
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-gray-400);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), .15);
}

.form-input--error,
.form-textarea--error,
.form-select--error {
  border-color: var(--color-error);
}

.form-input--error:focus,
.form-textarea--error:focus {
  box-shadow: 0 0 0 4px rgba(211,47,47,.15);
}

.form-error {
  font-size: var(--fs-xs);
  color: var(--color-error);
  margin-top: var(--space-xs);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ---- Floating label ---- */
.form-floating {
  position: relative;
}

.form-floating .form-input {
  padding-top: 22px;
  padding-bottom: 8px;
}

.form-floating .form-floating-label {
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  font-size: var(--fs-base);
  color: var(--color-gray-400);
  pointer-events: none;
  transition: all var(--transition-fast);
  transform-origin: left top;
}

.form-floating .form-input:focus ~ .form-floating-label,
.form-floating .form-input:not(:placeholder-shown) ~ .form-floating-label {
  top: 14px;
  transform: translateY(0) scale(.75);
  color: var(--color-primary-dark);
  font-weight: var(--fw-medium);
}

/* ---- Select ---- */
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8.825L.375 3.2l.85-.85L6 7.125 10.775 2.35l.85.85z' fill='%23495057'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

/* ---- Custom Checkbox ---- */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  cursor: pointer;
  margin-bottom: var(--space-md);
}

.form-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border: 2px solid var(--color-gray-300);
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all var(--transition-fast);
  position: relative;
  cursor: pointer;
}

.form-check input[type="checkbox"]:checked {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.form-check input[type="checkbox"]:checked::after {
  content: '\2713';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  font-weight: var(--fw-bold);
  color: var(--color-dark);
}

.form-check input[type="checkbox"]:focus-visible {
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), .3);
}

.form-check-label {
  font-size: var(--fs-sm);
  color: var(--color-gray-700);
  line-height: var(--lh-normal);
}

/* ---- Custom Radio ---- */
.form-radio {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  cursor: pointer;
  margin-bottom: var(--space-md);
}

.form-radio input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border: 2px solid var(--color-gray-300);
  border-radius: var(--radius-full);
  flex-shrink: 0;
  margin-top: 2px;
  transition: all var(--transition-fast);
  cursor: pointer;
  position: relative;
}

.form-radio input[type="radio"]:checked {
  border-color: var(--color-primary);
  border-width: 6px;
}

.form-radio input[type="radio"]:focus-visible {
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), .3);
}


/* ============================================================
   10. FAQ ACCORDION
   ============================================================ */
.accordion {
  max-width: var(--container-narrow);
  margin-inline: auto;
}

.accordion__item {
  border-bottom: 1px solid var(--color-gray-200);
}

.accordion__item:first-child {
  border-top: 1px solid var(--color-gray-200);
}

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-xl) 0;
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  color: var(--color-gray-900);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--transition-fast);
}

.accordion__trigger:hover {
  color: var(--color-primary-dark);
}

.accordion__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: var(--radius-full);
  background: var(--color-light);
  flex-shrink: 0;
  transition: transform var(--transition-base),
              background var(--transition-base);
}

.accordion__icon::before {
  content: '+';
  font-size: var(--fs-lg);
  font-weight: var(--fw-light);
  color: var(--color-gray-700);
  line-height: 1;
  transition: transform var(--transition-base);
}

.accordion__item--active .accordion__icon {
  background: var(--color-primary);
  transform: rotate(45deg);
}

.accordion__item--active .accordion__icon::before {
  color: var(--color-dark);
}

.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.accordion__item--active .accordion__body {
  max-height: 500px;
}

.accordion__content {
  padding-bottom: var(--space-xl);
  font-size: var(--fs-base);
  color: var(--color-gray-600);
  line-height: var(--lh-relaxed);
}


/* ============================================================
   11. FOOTER
   ============================================================ */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,.7);
  padding-top: var(--space-5xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.footer__logo img {
  height: 32px;
  width: auto;
}

.footer__logo-text {
  font-size: var(--fs-xl);
  font-weight: var(--fw-extrabold);
  color: var(--color-white);
}

.footer__logo-text span {
  color: var(--color-primary);
}

.footer__brand-text {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-xl);
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.6);
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  background: var(--color-primary);
  color: var(--color-dark);
  transform: translateY(-2px);
}

.footer__social-link svg {
  width: 18px; height: 18px;
  fill: currentColor;
}

.footer__heading {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: var(--space-xl);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.55);
  transition: color var(--transition-fast),
              padding-left var(--transition-fast);
}

.footer__link:hover {
  color: var(--color-primary);
  padding-left: 6px;
}

/* Newsletter */
.footer__newsletter {
  margin-top: var(--space-md);
}

.footer__newsletter-form {
  display: flex;
  gap: var(--space-sm);
}

.footer__newsletter-input {
  flex: 1;
  padding: 12px 16px;
  font-size: var(--fs-sm);
  color: var(--color-white);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast),
              box-shadow var(--transition-fast);
}

.footer__newsletter-input::placeholder {
  color: rgba(255,255,255,.35);
}

.footer__newsletter-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), .15);
}

.footer__newsletter-btn {
  padding: 12px 20px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-dark);
  background: var(--color-primary);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition-fast);
}

.footer__newsletter-btn:hover {
  background: var(--color-primary-dark);
}

/* Copyright */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl) 0;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.35);
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer__bottom-link {
  color: rgba(255,255,255,.35);
  transition: color var(--transition-fast);
}

.footer__bottom-link:hover {
  color: var(--color-primary);
}


/* ============================================================
   12. ANIMATIONS & KEYFRAMES
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25%      { transform: translate(30px, -20px) rotate(5deg); }
  50%      { transform: translate(-20px, 30px) rotate(-3deg); }
  75%      { transform: translate(15px, 15px) rotate(4deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .7; transform: scale(1.05); }
}

@keyframes gradientShift {
  0%   { background-position: 0% center; }
  50%  { background-position: 100% center; }
  100% { background-position: 0% center; }
}

@keyframes scrollLine {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; transform: scaleY(1); transform-origin: top; }
  51%  { transform-origin: bottom; }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease-out),
              transform .8s var(--ease-out);
}

.reveal--left {
  transform: translateX(-30px);
}

.reveal--right {
  transform: translateX(30px);
}

.reveal--scale {
  transform: scale(.9);
}

.reveal.revealed {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Stagger delays for child elements */
.reveal-stagger > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger > *:nth-child(2) { transition-delay: .1s; }
.reveal-stagger > *:nth-child(3) { transition-delay: .15s; }
.reveal-stagger > *:nth-child(4) { transition-delay: .2s; }
.reveal-stagger > *:nth-child(5) { transition-delay: .25s; }
.reveal-stagger > *:nth-child(6) { transition-delay: .3s; }

/* ---- Loading Spinner ---- */
.spinner {
  display: inline-block;
  width: 40px; height: 40px;
  border: 3px solid var(--color-gray-200);
  border-top-color: var(--color-primary);
  border-radius: var(--radius-full);
  animation: spin .7s linear infinite;
}

.spinner--sm { width: 20px; height: 20px; border-width: 2px; }
.spinner--lg { width: 56px; height: 56px; border-width: 4px; }

/* ---- Skeleton Loader ---- */
.skeleton {
  background: linear-gradient(90deg, var(--color-gray-100) 25%, var(--color-gray-200) 50%, var(--color-gray-100) 75%);
  background-size: 400% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

.skeleton--text {
  height: 16px;
  margin-bottom: var(--space-sm);
}

.skeleton--title {
  height: 28px;
  width: 60%;
  margin-bottom: var(--space-md);
}

.skeleton--avatar {
  width: 48px; height: 48px;
  border-radius: var(--radius-full);
}

.skeleton--card {
  height: 200px;
  border-radius: var(--radius-lg);
}


/* ============================================================
   13. MOBILE HAMBURGER MENU (Overlay)
   ============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: rgba(var(--color-dark-rgb), .97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  transition: opacity .4s var(--ease-out),
              visibility .4s var(--ease-out),
              transform .5s var(--ease-spring);
}

.mobile-menu--open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu__close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  color: var(--color-white);
  font-size: var(--fs-xl);
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.mobile-menu__close:hover {
  background: rgba(255,255,255,.15);
  transform: rotate(90deg);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.mobile-menu__link {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-xl);
  position: relative;
  transition: color var(--transition-fast);
}

.mobile-menu__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-base),
              left var(--transition-base);
}

.mobile-menu__link:hover {
  color: var(--color-primary);
}

.mobile-menu__link:hover::after {
  width: 100%;
  left: 0;
}

.mobile-menu__actions {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.mobile-menu__social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-3xl);
}

.mobile-menu__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.5);
  transition: all var(--transition-fast);
}

.mobile-menu__social-link:hover {
  background: var(--color-primary);
  color: var(--color-dark);
}

.mobile-menu__social-link svg {
  width: 20px; height: 20px;
  fill: currentColor;
}


/* ============================================================
   14. MOBILE BOTTOM NAVIGATION
   ============================================================ */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-fixed);
  width: calc(100% - var(--space-2xl));
  max-width: 420px;
  background: rgba(var(--color-dark-rgb), .88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: 30px;
  padding: 8px 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.08);
}

.bottom-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 4px;
  color: rgba(255,255,255,.5);
  font-size: 10px;
  font-weight: 500;
  border-radius: 12px;
  transition: all .2s ease;
  min-width: 56px;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.bottom-nav__item svg {
  width: 22px; height: 22px;
  transition: transform .2s ease;
}

.bottom-nav__item.active,
.bottom-nav__item:hover {
  color: #22c55e;
}

.bottom-nav__item.active svg {
  transform: scale(1.15);
}


/* ============================================================
   15. LOGIN / REGISTER (Kamion-style split)
   ============================================================ */
.auth-page .header,
.auth-page .footer,
.auth-page .bottom-nav {
  display: none !important;
}

.auth-split {
  display: flex;
  min-height: 100vh;
  background: #f8f9fb;
}

.auth-split__visual {
  flex: 1;
  position: relative;
  overflow: hidden;
  margin: 16px;
  border-radius: 24px;
  display: flex;
  align-items: flex-end;
}

.auth-split__visual-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-split__visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.15) 50%, rgba(0,0,0,.25) 100%);
}

.auth-split__visual-content {
  position: relative;
  z-index: 2;
  padding: 48px 40px;
  color: #fff;
  width: 100%;
}

.auth-split__visual-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 16px;
}

.auth-split__visual-title {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 12px;
  color: #fff;
}

.auth-split__visual-subtitle {
  font-size: 15px;
  color: rgba(255,255,255,.65);
  line-height: 1.5;
  max-width: 420px;
  margin-bottom: 32px;
}

.auth-split__visual-stats {
  display: flex;
  gap: 32px;
}

.auth-split__visual-stat {
  text-align: left;
}

.auth-split__visual-stat-num {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.auth-split__visual-stat span:last-child {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  font-weight: 500;
}

.auth-split__form {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 48px;
  position: relative;
  max-width: 560px;
  min-width: 400px;
}

.auth-form-wrapper {
  width: 100%;
  max-width: 420px;
}

.auth-form__top-link {
  position: absolute;
  top: 28px;
  right: 40px;
  font-size: 14px;
  color: #6b7280;
}

.auth-form__top-link a {
  color: var(--color-primary-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-form__logo {
  display: inline-block;
  margin-bottom: 32px;
}

.auth-form__logo img {
  height: 36px;
}

.auth-form__header {
  margin-bottom: 32px;
}

.auth-form__header h1 {
  font-size: 28px;
  font-weight: 800;
  color: #111827;
  line-height: 1.15;
  margin-bottom: 8px;
}

.auth-form__header p {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.5;
}

.auth-form .form-group {
  margin-bottom: 20px;
}

.auth-form .form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.auth-form .input-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-form .input-icon svg {
  position: absolute;
  right: 14px;
  color: #9ca3af;
  pointer-events: none;
}
.auth-form .input-icon--password svg { display: none; }
.password-toggle {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; padding: 4px 6px;
  border-radius: 6px; transition: background .2s ease;
  display: flex; align-items: center; justify-content: center;
}
.password-toggle:hover { background: rgba(0,0,0,.05); }

.auth-form .input-icon input {
  width: 100%;
  padding: 14px 44px 14px 16px;
  font-size: 15px;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  color: #111827;
  transition: border-color .2s, box-shadow .2s;
}

.auth-form .input-icon input:focus {
  outline: none;
  border-color: var(--color-primary-dark);
  box-shadow: 0 0 0 3px rgba(45,106,79,.1);
}

.auth-form .input-icon input.error {
  border-color: #ef4444;
}

.auth-form .form-group__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.auth-form .form-group__header label {
  margin-bottom: 0;
}

.auth-form .form-link {
  font-size: 13px;
  color: var(--color-primary-dark);
  font-weight: 600;
}

.auth-form .form-group--inline {
  display: flex;
  align-items: center;
}

.auth-form .checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #4b5563;
  cursor: pointer;
}

.auth-form .checkbox input { width: auto; }

.auth-form .form-grid--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.auth-form .btn-block {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  background: var(--color-primary-dark);
  color: #fff;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.auth-form .btn-block:hover {
  background: #1a5232;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45,106,79,.25);
}

.auth-form .btn-block:disabled {
  opacity: .6;
  pointer-events: none;
  transform: none;
}

.auth-form .btn-block .spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: auth-spin .6s linear infinite;
}

@keyframes auth-spin {
  to { transform: rotate(360deg); }
}

.auth-form__footer {
  text-align: center;
  margin-top: 28px;
  font-size: 14px;
  color: #6b7280;
}

.auth-form__footer a {
  color: var(--color-primary-dark);
  font-weight: 600;
}

/* Alert (auth pages) */
.alert {
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert--error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.alert--success {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.alert__close {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: inherit;
  opacity: .6;
}

/* ---- Multi-step register ---- */
.reg-steps-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}

.reg-step-dot {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: #e5e7eb;
  transition: background .3s, width .3s;
}

.reg-step-dot.active {
  background: var(--color-primary-dark);
  width: 48px;
}

.reg-step-dot.completed {
  background: #86efac;
}

.reg-step {
  display: none;
}

.reg-step.active {
  display: block;
  animation: regStepIn .3s ease;
}

@keyframes regStepIn {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

.reg-summary {
  background: #f9fafb;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}

.reg-summary__title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.reg-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 14px;
}

.reg-summary__row:last-child {
  border-bottom: none;
}

.reg-summary__label {
  color: #6b7280;
  font-weight: 500;
}

.reg-summary__value {
  color: #111827;
  font-weight: 600;
}

.auth-form .btn-outline {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  color: #374151;
  cursor: pointer;
  transition: all .2s;
}

.auth-form .btn-outline:hover {
  border-color: #d1d5db;
  background: #f9fafb;
}

.auth-form .btn-row {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.auth-form .btn-row > * {
  flex: 1;
}

/* ---- Processing Modal ---- */
.processing-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(4px);
}

.processing-modal.active {
  display: flex;
}

.processing-modal__card {
  background: #fff;
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  max-width: 340px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
  animation: procIn .3s ease;
}

@keyframes procIn {
  from { opacity: 0; transform: scale(.9); }
  to { opacity: 1; transform: scale(1); }
}

.processing-modal__spinner {
  width: 48px; height: 48px;
  border: 3px solid #e5e7eb;
  border-top-color: var(--color-primary-dark);
  border-radius: 50%;
  animation: auth-spin .7s linear infinite;
  margin: 0 auto 20px;
}

.processing-modal__title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}

.processing-modal__text {
  font-size: 14px;
  color: #6b7280;
}

/* ---- Auth centered (forgot/reset password) ---- */
.auth-centered {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: #f8f9fb;
}

.auth-centered__card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

.auth-centered__card .auth-form__logo {
  display: block;
  text-align: center;
  margin-bottom: 28px;
}

.auth-centered__card .auth-form__header {
  text-align: center;
  margin-bottom: 28px;
}

.auth-centered__card .auth-form__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(45,106,79,.08);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.auth-centered__card .auth-form__footer {
  text-align: center;
  margin-top: 24px;
}

.auth-centered__card .auth-form__footer a {
  color: var(--color-primary-dark);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

@media (max-width: 480px) {
  .auth-centered__card {
    padding: 32px 20px;
  }
}

/* ---- Auth responsive ---- */
@media (max-width: 900px) {
  .auth-split__visual {
    display: none;
  }

  .auth-split__form {
    max-width: 100%;
    min-width: 0;
    padding: 32px 24px;
  }

  .auth-form__top-link {
    top: 20px;
    right: 24px;
  }
}

@media (max-width: 480px) {
  .auth-split__form {
    padding: 24px 16px;
  }

  .auth-form .form-grid--2 {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   16. SERVICE PAGE SECTIONS (Themed)
   ============================================================ */

/* ---- Credit Page ---- */
.page-credit .hero {
  background: linear-gradient(165deg, #1a3c1e 0%, #0f2612 100%);
}

.page-credit .hero__badge {
  color: var(--color-credit-light);
  background: rgba(76,175,80,.12);
  border-color: rgba(76,175,80,.25);
}

.page-credit .hero__title .gradient-text {
  background: linear-gradient(135deg, var(--color-credit-light) 0%, #a5d6a7 50%, var(--color-credit-light) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-credit .section__title::after { background: var(--color-credit); }
.page-credit .section__label { color: var(--color-credit); }

/* ---- Corporation Page ---- */
.page-corp .hero {
  background: linear-gradient(165deg, #0d2744 0%, #0a1929 100%);
}

.page-corp .hero__badge {
  color: var(--color-corp-blue-md);
  background: rgba(33,150,243,.12);
  border-color: rgba(33,150,243,.25);
}

.page-corp .hero__title .gradient-text {
  background: linear-gradient(135deg, var(--color-corp-blue-md) 0%, #64b5f6 50%, var(--color-corp-blue-md) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-corp .section__title::after { background: var(--color-corp-blue-md); }
.page-corp .section__label { color: var(--color-corp-blue-md); }

/* ---- Business Loans Page ---- */
.page-loans .hero {
  background: linear-gradient(165deg, #01344e 0%, #011e30 100%);
}

.page-loans .hero__badge {
  color: var(--color-loans-light);
  background: rgba(2,119,189,.12);
  border-color: rgba(2,119,189,.25);
}

.page-loans .hero__title .gradient-text {
  background: linear-gradient(135deg, var(--color-loans-light) 0%, #4fc3f7 50%, var(--color-loans-light) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-loans .section__title::after { background: var(--color-loans); }
.page-loans .section__label { color: var(--color-loans); }

/* ---- Trust & Will Page ---- */
.page-trust .hero {
  background: linear-gradient(165deg, #3e2723 0%, #1b1210 100%);
}

.page-trust .hero__badge {
  color: var(--color-trust-light);
  background: rgba(121,85,72,.15);
  border-color: rgba(121,85,72,.3);
}

.page-trust .hero__title .gradient-text {
  background: linear-gradient(135deg, var(--color-trust-light) 0%, #bcaaa4 50%, var(--color-trust-light) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-trust .section__title::after { background: var(--color-trust); }
.page-trust .section__label { color: var(--color-trust); }


/* ============================================================
   17. MISCELLANEOUS COMPONENTS
   ============================================================ */

/* ---- Breadcrumbs ---- */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-lg) 0;
  font-size: var(--fs-sm);
  color: var(--color-gray-500);
}

.breadcrumbs__separator {
  color: var(--color-gray-400);
  font-size: var(--fs-xs);
}

.breadcrumbs__link {
  color: var(--color-gray-600);
  transition: color var(--transition-fast);
}

.breadcrumbs__link:hover {
  color: var(--color-primary-dark);
}

.breadcrumbs__current {
  color: var(--color-gray-900);
  font-weight: var(--fw-medium);
}

/* Dark breadcrumbs */
.breadcrumbs--dark .breadcrumbs__link { color: rgba(255,255,255,.5); }
.breadcrumbs--dark .breadcrumbs__link:hover { color: var(--color-primary); }
.breadcrumbs--dark .breadcrumbs__current { color: var(--color-white); }
.breadcrumbs--dark .breadcrumbs__separator { color: rgba(255,255,255,.3); }

/* ---- Badges / Tags ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-pill);
  line-height: 1.5;
}

.badge--primary {
  color: var(--color-dark);
  background: var(--color-primary);
}

.badge--success {
  color: var(--color-white);
  background: var(--color-success);
}

.badge--error {
  color: var(--color-white);
  background: var(--color-error);
}

.badge--warning {
  color: var(--color-dark);
  background: var(--color-warning);
}

.badge--info {
  color: var(--color-white);
  background: var(--color-info);
}

.badge--outline {
  color: var(--color-gray-700);
  background: transparent;
  border: 1px solid var(--color-gray-300);
}

/* ---- Alert / Notification Boxes ---- */
.alert {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
  border-left: 4px solid;
}

.alert__icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
}

.alert--success {
  background: rgba(46,125,50,.06);
  border-color: var(--color-success);
  color: #1b5e20;
}

.alert--error {
  background: rgba(211,47,47,.06);
  border-color: var(--color-error);
  color: #b71c1c;
}

.alert--warning {
  background: rgba(249,168,37,.06);
  border-color: var(--color-warning);
  color: #e65100;
}

.alert--info {
  background: rgba(2,119,189,.06);
  border-color: var(--color-info);
  color: #01579b;
}

/* ---- Progress Bars ---- */
.progress {
  width: 100%;
  height: 8px;
  background: var(--color-gray-200);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress__bar {
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--color-primary-dark), var(--color-primary));
  transition: width .6s var(--ease-out);
}

.progress--lg { height: 12px; }

.progress__bar--credit  { background: linear-gradient(90deg, var(--color-credit-dark), var(--color-credit-light)); }
.progress__bar--corp    { background: linear-gradient(90deg, var(--color-corp-blue), var(--color-corp-blue-md)); }
.progress__bar--loans   { background: linear-gradient(90deg, var(--color-loans-dark), var(--color-loans-light)); }
.progress__bar--trust   { background: linear-gradient(90deg, var(--color-trust-dark), var(--color-trust-light)); }

/* ---- Tooltips ---- */
.tooltip {
  position: relative;
  cursor: help;
}

.tooltip__content {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 8px 14px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--color-white);
  background: var(--color-gray-800);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast),
              transform var(--transition-fast),
              visibility var(--transition-fast);
  pointer-events: none;
  z-index: var(--z-tooltip, 500);
}

.tooltip__content::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--color-gray-800);
}

.tooltip:hover .tooltip__content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ---- Image Styling ---- */
.img-rounded {
  border-radius: var(--radius-lg);
}

.img-shadow {
  box-shadow: var(--shadow-lg);
}

.img-bordered {
  border: 4px solid var(--color-white);
  box-shadow: var(--shadow-md);
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Back to Top ---- */
.back-to-top {
  position: fixed;
  bottom: var(--space-2xl);
  right: var(--space-xl);
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-dark);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  z-index: var(--z-sticky);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  cursor: pointer;
}

.back-to-top svg {
  width: 20px; height: 20px;
  fill: currentColor;
}

.back-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-primary-dark);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

/* ---- Divider ---- */
.divider {
  width: 100%;
  height: 1px;
  background: var(--color-gray-200);
  margin: var(--space-xl) 0;
}

.divider--dark {
  background: rgba(255,255,255,.08);
}

/* ---- Pill Tabs ---- */
.pill-tabs {
  display: inline-flex;
  background: var(--color-light);
  border-radius: var(--radius-pill);
  padding: 4px;
  gap: 2px;
}

.pill-tab {
  padding: 10px 24px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-gray-600);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  background: none;
}

.pill-tab:hover {
  color: var(--color-gray-900);
}

.pill-tab--active {
  color: var(--color-dark);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  font-weight: var(--fw-semibold);
}

/* ---- CTA Banner ---- */
.cta-banner {
  position: relative;
  padding: var(--space-4xl) var(--space-2xl);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-deep) 100%);
  text-align: center;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: rgba(var(--color-primary-rgb), .08);
  border-radius: var(--radius-full);
  top: -30%; right: -5%;
  filter: blur(80px);
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: rgba(var(--color-primary-rgb), .05);
  border-radius: var(--radius-full);
  bottom: -20%; left: -5%;
  filter: blur(60px);
  pointer-events: none;
}

.cta-banner__title {
  position: relative;
  z-index: 2;
  font-size: clamp(var(--fs-2xl), 3vw, var(--fs-4xl));
  font-weight: var(--fw-extrabold);
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.cta-banner__text {
  position: relative;
  z-index: 2;
  font-size: var(--fs-md);
  color: rgba(255,255,255,.6);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
}

.cta-banner__actions {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ---- Icon Box (alternative to feature card) ---- */
.icon-box {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-xl);
}

.icon-box__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: rgba(var(--color-primary-rgb), .1);
  flex-shrink: 0;
}

.icon-box__icon svg,
.icon-box__icon i {
  font-size: 24px;
  color: var(--color-primary-dark);
}

.icon-box__title {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-xs);
}

.icon-box__text {
  font-size: var(--fs-sm);
  color: var(--color-gray-600);
  line-height: var(--lh-relaxed);
}

/* ---- Steps / Process ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-xl);
  counter-reset: step;
}

.step {
  text-align: center;
  counter-increment: step;
  position: relative;
}

.step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  margin-inline: auto;
  margin-bottom: var(--space-lg);
  font-size: var(--fs-xl);
  font-weight: var(--fw-extrabold);
  color: var(--color-dark);
  background: var(--color-primary);
  border-radius: var(--radius-full);
}

.step__title {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-sm);
}

.step__text {
  font-size: var(--fs-sm);
  color: var(--color-gray-600);
  line-height: var(--lh-relaxed);
}

/* connector line between steps (desktop) */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(50% + 36px);
  width: calc(100% - 72px);
  height: 2px;
  background: var(--color-gray-200);
}

/* ---- Partners / Logos strip ---- */
.partners-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
  padding: var(--space-xl) 0;
  flex-wrap: wrap;
}

.partners-strip img {
  height: 36px;
  width: auto;
  opacity: .4;
  filter: grayscale(100%);
  transition: all var(--transition-base);
}

.partners-strip img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ---- Marquee (infinite scroll logos) ---- */
.marquee {
  overflow: hidden;
  position: relative;
}

.marquee__track {
  display: flex;
  gap: var(--space-3xl);
  animation: marquee 30s linear infinite;
  width: max-content;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ============================================================
   18. RESPONSIVE DESIGN
   ============================================================ */

/* ---- Tablet (max-width: 992px) ---- */
@media (max-width: 992px) {
  :root {
    --space-section: 4rem;
  }

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .footer__brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  /* Auth rules now in section 15 */

  .step:not(:last-child)::after {
    display: none;
  }

  .pricing-card--featured {
    transform: none;
  }

  .pricing-card--featured:hover {
    transform: translateY(-6px);
  }
}

/* ---- Tablet (max-width: 768px) ---- */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --space-section: 3.5rem;
  }

  h1 { font-size: var(--fs-3xl); }
  h2 { font-size: var(--fs-2xl); }
  h3 { font-size: var(--fs-xl);  }

  /* Header */
  .header__nav {
    display: none;
  }

  .header__phone {
    display: none;
  }

  .header__actions .btn-login,
  .header__actions .btn-register {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Hero */
  .hero {
    min-height: 85vh;
  }

  .hero__trust-bar {
    gap: var(--space-lg);
  }

  .hero__trust-number {
    font-size: var(--fs-xl);
  }

  /* Grids */
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  /* Section */
  .section__header {
    margin-bottom: var(--space-2xl);
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  /* Bottom Nav */
  .bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }

  .back-to-top {
    bottom: calc(80px + var(--space-md));
  }

  /* Cards */
  .stat-card__number {
    font-size: var(--fs-3xl);
  }

  /* Steps */
  .steps {
    grid-template-columns: 1fr;
  }

  /* Pill tabs */
  .pill-tabs {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* CTA */
  .cta-banner {
    padding: var(--space-2xl) var(--space-lg);
    border-radius: var(--radius-lg);
  }

  /* Newsletter */
  .footer__newsletter-form {
    flex-direction: column;
  }

  /* Partners */
  .partners-strip {
    gap: var(--space-xl);
  }

  .partners-strip img {
    height: 28px;
  }
}

/* ---- Mobile (max-width: 480px) ---- */
@media (max-width: 480px) {
  :root {
    --space-section: 3rem;
  }

  body {
    font-size: 15px;
  }

  h1 { font-size: var(--fs-2xl); }
  h2 { font-size: var(--fs-xl);  }

  .container {
    padding-inline: var(--space-md);
  }

  /* Hero */
  .hero {
    min-height: 80vh;
  }

  .hero__content {
    padding: var(--space-lg) var(--space-md);
  }

  .hero__badge {
    font-size: 10px;
    padding: 6px 14px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__trust-bar {
    flex-direction: column;
    gap: var(--space-md);
  }

  .hero__phone {
    font-size: var(--fs-md);
  }

  /* Cards */
  .service-card,
  .feature-card,
  .testimonial-card,
  .pricing-card {
    padding: var(--space-xl);
  }

  .stat-card {
    padding: var(--space-xl);
  }

  .stat-card__number {
    font-size: var(--fs-2xl);
  }

  /* Buttons */
  .btn {
    padding: 12px 24px;
    font-size: var(--fs-sm);
  }

  .btn-lg {
    padding: 14px 32px;
  }

  /* Forms */
  .form-input,
  .form-textarea,
  .form-select {
    padding: 12px 14px;
    font-size: var(--fs-sm);
  }

  /* Accordion */
  .accordion__trigger {
    padding: var(--space-lg) 0;
    font-size: var(--fs-base);
  }

  /* Mobile menu */
  .mobile-menu__link {
    font-size: var(--fs-xl);
  }

  /* Bottom nav */
  .bottom-nav {
    width: calc(100% - var(--space-lg));
  }

  .bottom-nav__item {
    font-size: 9px;
    min-width: 48px;
  }

  .bottom-nav__item svg {
    width: 20px; height: 20px;
  }

  /* Auth rules now in section 15 */

  /* Section title */
  .section__title::after {
    margin-top: var(--space-md);
  }

  /* CTA Banner */
  .cta-banner__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ---- Hover effects only on non-touch ---- */
@media (hover: hover) and (pointer: fine) {
  .service-card:hover { transform: translateY(-6px); }
  .feature-card:hover { transform: translateY(-4px); }
  .testimonial-card:hover { transform: translateY(-4px); }
  .pricing-card:hover { transform: translateY(-6px); }
}

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

  .reveal { opacity: 1; transform: none; }
  .hero__shape { animation: none; }
}

/* ---- Dark mode support ---- */
@media (prefers-color-scheme: dark) {
  .section--light {
    background: var(--color-gray-900);
    color: var(--color-gray-200);
  }

  .section--light h2,
  .section--light h3,
  .section--light h4 {
    color: var(--color-white);
  }
}


/* ============================================================
   19. PRINT STYLES
   ============================================================ */
@media print {
  .header,
  .hamburger,
  .bottom-nav,
  .mobile-menu,
  .back-to-top,
  .hero__bg-shapes,
  .hero__scroll {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
    background: #fff !important;
  }

  .hero__title,
  .hero__subtitle {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
  }

  a {
    text-decoration: underline;
  }

  .section {
    padding: 1.5rem 0;
    break-inside: avoid;
  }

  .service-card,
  .feature-card,
  .testimonial-card,
  .pricing-card {
    box-shadow: none;
    border: 1px solid #ddd;
    break-inside: avoid;
  }
}

/* ================================================
   TOAST NOTIFICATIONS
   ================================================ */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
  width: calc(100% - 40px);
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  pointer-events: auto;
  border-left: 4px solid #888;
  transform: translateX(120%);
  opacity: 0;
  transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .35s ease;
}

.toast--visible {
  transform: translateX(0);
  opacity: 1;
}

.toast--success { border-left-color: #2d6a4f; }
.toast--error   { border-left-color: #d32f2f; }
.toast--warning { border-left-color: #f9a825; }
.toast--info    { border-left-color: #1565c0; }

.toast__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.toast--success .toast__icon { color: #2d6a4f; }
.toast--error   .toast__icon { color: #d32f2f; }
.toast--warning .toast__icon { color: #f9a825; }
.toast--info    .toast__icon { color: #1565c0; }

.toast__message {
  flex: 1;
  font-size: 14px;
  color: #333;
  line-height: 1.4;
}

.toast__close {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #aaa;
  padding: 0 0 0 8px;
  line-height: 1;
}

.toast__close:hover { color: #333; }

/* ============================================
   INTERNAL PAGES - Hero, Cards, Sections
   ============================================ */

/* Page Hero */
.page-hero {
  position: relative; min-height: 520px;
  display: flex; align-items: center; overflow: hidden;
  padding: 140px 0 80px;
}
.page-hero--compact { min-height: 460px; padding: 130px 0 70px; }
.page-hero__bg {
  position: absolute; inset: 0; z-index: 1;
}
.page-hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
}
.page-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,.88) 0%, rgba(10,22,40,.65) 50%, rgba(10,22,40,.75) 100%);
}
.page-hero__content {
  position: relative; z-index: 2; max-width: 680px;
}
.page-hero__content h1 {
  font-size: clamp(32px, 4.5vw, 52px); font-weight: 800; color: #fff;
  line-height: 1.1; margin-bottom: 18px;
}
.page-hero__content p {
  font-size: 17px; color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 28px;
}
.page-hero__actions {
  display: flex; gap: 12px; flex-wrap: wrap;
}

/* Section variants */
.section { padding: 80px 0; }
.section--light { background: #f8fafc; }
.section--dark { background: #0a1628; color: #fff; }
.section--credit { }
.section--corp { }
.section--loans { }
.section--trust { }
.section__header { margin-bottom: 48px; }
.section__header--center { text-align: center; }
.section__header--center h2 {
  font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; color: #0a1628;
  margin-bottom: 16px;
}
.section__header--center p {
  font-size: 17px; color: #64748b; max-width: 640px; margin: 0 auto; line-height: 1.7;
}
.section--dark .section__header--center h2 { color: #fff; }
.section--dark .section__header--center p { color: rgba(255,255,255,.5); }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 50px;
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 16px;
}
.badge--credit { background: rgba(46,125,50,.12); color: #2E7D32; }
.badge--corp { background: rgba(21,101,192,.12); color: #1565C0; }
.badge--loans { background: rgba(2,119,189,.12); color: #0277BD; }
.badge--trust { background: rgba(93,64,55,.12); color: #5D4037; }
.page-hero .badge {
  background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.25);
  color: #86efac; font-size: 13px; font-weight: 600;
  letter-spacing: .05em;
}

/* Pricing Cards */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px;
}
.pricing-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 20px;
  padding: 36px 28px; position: relative; overflow: hidden;
  transition: all .35s ease;
}
.pricing-card:hover {
  transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,.08);
}
.pricing-card--featured {
  border-color: #22c55e; box-shadow: 0 8px 32px rgba(34,197,94,.12);
}
.pricing-card--featured::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #22c55e, #86efac);
}
.pricing-card__badge {
  display: inline-block; background: #dcfce7; color: #15803d;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: 4px 12px; border-radius: 50px; margin-bottom: 16px;
}
.pricing-card h3 {
  font-size: 22px; font-weight: 700; color: #0a1628; margin-bottom: 8px;
}
.pricing-card p {
  font-size: 14px; color: #64748b; line-height: 1.6; margin-bottom: 20px;
}
.pricing-card__price {
  display: flex; align-items: baseline; gap: 4px; margin-bottom: 24px;
}
.pricing-card__price .currency {
  font-size: 20px; font-weight: 700; color: #64748b;
}
.pricing-card__price .amount {
  font-size: 48px; font-weight: 800; color: #0a1628; line-height: 1;
}
.pricing-card__features {
  list-style: none; padding: 0; margin: 0 0 28px;
}
.pricing-card__features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: #475569; padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}
.pricing-card__features li:last-child { border-bottom: none; }
.pricing-card__features li::before {
  content: ''; width: 20px; height: 20px; border-radius: 50%;
  background: #dcfce7; flex-shrink: 0; margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.pricing-card__btn {
  display: block; width: 100%; padding: 14px; text-align: center;
  background: #0a1628; color: #fff; font-size: 15px; font-weight: 600;
  border: none; border-radius: 12px; cursor: pointer; text-decoration: none;
  transition: all .3s ease;
}
.pricing-card__btn:hover { background: #15803d; }
.pricing-card--featured .pricing-card__btn {
  background: #22c55e;
}
.pricing-card--featured .pricing-card__btn:hover { background: #16a34a; }

/* Info Cards / Feature Cards (internal pages) */
.info-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px;
}
.info-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 16px;
  padding: 32px 24px; transition: all .35s ease;
}
.info-card:hover {
  transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.06);
}
.info-card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(34,197,94,.08); color: #22c55e;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-size: 22px;
}
.info-card h3, .info-card h4 {
  font-size: 18px; font-weight: 700; color: #0a1628; margin-bottom: 10px;
}
.info-card p {
  font-size: 14px; color: #64748b; line-height: 1.65;
}

/* Process Steps */
.process-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px;
}
.process-step {
  text-align: center; position: relative;
}
.process-step__number {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #15803d);
  color: #fff; font-size: 22px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.process-step h3, .process-step h4 {
  font-size: 18px; font-weight: 700; color: #0a1628; margin-bottom: 10px;
}
.process-step p {
  font-size: 14px; color: #64748b; line-height: 1.65;
}

/* Comparison Table */
.comparison-table {
  width: 100%; border-collapse: collapse; border-radius: 16px; overflow: hidden;
  background: #fff; box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.comparison-table th {
  background: #0a1628; color: #fff; padding: 16px 20px;
  font-size: 14px; font-weight: 600; text-align: left;
}
.comparison-table td {
  padding: 14px 20px; border-bottom: 1px solid #f1f5f9;
  font-size: 14px; color: #475569;
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: #f8fafc; }

/* CTA Sections */
.cta-section {
  padding: 80px 0; text-align: center;
}
.cta-section h2 {
  font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; margin-bottom: 18px;
}
.cta-section p {
  font-size: 17px; line-height: 1.7; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto;
}
.section--dark .cta-section h2 { color: #fff; }
.section--dark .cta-section p { color: rgba(255,255,255,.5); }

/* FAQ on internal pages */
.faq-grid {
  display: grid; gap: 12px; max-width: 800px; margin: 0 auto;
}

/* Buttons */
.btn { 
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 10px; font-size: 15px; font-weight: 600;
  text-decoration: none; transition: all .3s ease; cursor: pointer; border: none;
  font-family: inherit;
}
.btn-primary { background: #22c55e; color: #fff; }
.btn-primary:hover { background: #16a34a; transform: translateY(-2px); }
.btn-outline { background: transparent; border: 1px solid #cbd5e1; color: #0a1628; }
.btn-outline:hover { border-color: #22c55e; background: rgba(34,197,94,.04); }
.btn-outline--light { border-color: rgba(255,255,255,.25); color: #fff; }
.btn-outline--light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in {
  animation: fadeInUp .6s ease forwards;
  opacity: 0;
}
.page-hero__content { animation: fadeInUp .8s ease .2s forwards; opacity: 0; }
.page-hero__content .badge { animation: fadeInUp .6s ease .1s forwards; opacity: 0; }
.page-hero__content h1 { animation: fadeInUp .7s ease .25s forwards; opacity: 0; }
.page-hero__content p { animation: fadeInUp .7s ease .35s forwards; opacity: 0; }
.page-hero__actions { animation: fadeInUp .7s ease .45s forwards; opacity: 0; }

/* Responsive for internal pages */
@media(max-width:768px){
  .page-hero { min-height: 400px; padding: 120px 0 50px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .info-cards { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
}

/* ============================================
   ADDITIONAL INTERNAL PAGE COMPONENTS
   ============================================ */

/* Grid layouts */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media(max-width:1024px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width:640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* Icon box enhancements for internal pages */
.icon-box {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 16px;
  padding: 32px 24px; transition: all .35s ease;
  flex-direction: column;
}
.icon-box:hover {
  transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.06);
}
.icon-box__icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.icon-box--credit .icon-box__icon { background: rgba(46,125,50,.08); color: #2E7D32; }
.icon-box--corp .icon-box__icon { background: rgba(21,101,192,.08); color: #1565C0; }
.icon-box--loans .icon-box__icon { background: rgba(2,119,189,.08); color: #0277BD; }
.icon-box--trust .icon-box__icon { background: rgba(93,64,55,.08); color: #5D4037; }
.icon-box h3 {
  font-size: 18px; font-weight: 700; color: #0a1628; margin-bottom: 10px;
}
.icon-box p {
  font-size: 14px; color: #64748b; line-height: 1.65;
}

/* Steps with numbers and connectors */
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px; counter-reset: step-counter;
}
.steps__item {
  text-align: center; position: relative;
}
.steps__number {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #15803d);
  color: #fff; font-size: 24px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; box-shadow: 0 8px 24px rgba(34,197,94,.25);
}
.steps__connector {
  display: none;
}
.steps__item h3 {
  font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px;
}
.steps__item p {
  font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.65;
}
.section--light .steps__item h3 { color: #0a1628; }
.section--light .steps__item p { color: #64748b; }

/* FAQ accordion for internal pages */
.faq {
  display: flex; flex-direction: column; gap: 12px;
}
.faq__item {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
  overflow: hidden; transition: all .3s ease;
}
.faq__item[open] {
  border-color: #22c55e;
  box-shadow: 0 4px 20px rgba(34,197,94,.08);
}
.faq__question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; font-size: 16px; font-weight: 600; color: #0a1628;
  cursor: pointer; list-style: none; gap: 16px;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question svg {
  flex-shrink: 0; color: #94a3b8;
  transition: transform .3s ease;
}
.faq__item[open] .faq__question svg {
  transform: rotate(180deg); color: #22c55e;
}
.faq__answer {
  padding: 0 24px 20px;
}
.faq__answer p {
  font-size: 15px; color: #64748b; line-height: 1.7;
}

/* CTA Box */
.cta-box {
  background: linear-gradient(135deg, #15803d, #0a5c2d);
  border-radius: 24px; padding: 64px 48px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(163,230,53,.12), transparent 60%);
  pointer-events: none;
}
.cta-box__content {
  position: relative; z-index: 2;
}
.cta-box__content h2 {
  font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; color: #fff; margin-bottom: 16px;
}
.cta-box__content p {
  font-size: 17px; color: rgba(255,255,255,.6); line-height: 1.7;
  max-width: 600px; margin: 0 auto 32px;
}
.cta-box__actions {
  display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
}
.cta-box__actions .btn-primary {
  background: #fff; color: #15803d;
}
.cta-box__actions .btn-primary:hover {
  background: #f0fdf4; transform: translateY(-2px);
}
.cta-box__actions .btn-outline {
  border-color: rgba(255,255,255,.3); color: #fff;
}
.cta-box__actions .btn-outline:hover {
  background: rgba(255,255,255,.1);
}

/* Pricing card icon & sub-elements */
.pricing-card__icon {
  width: 64px; height: 64px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; background: rgba(34,197,94,.06); color: #22c55e;
}
.pricing-card__title {
  font-size: 20px; font-weight: 700; color: #0a1628; margin-bottom: 8px;
}
.pricing-card__desc {
  font-size: 14px; color: #64748b; line-height: 1.6; margin-bottom: 20px;
}
.pricing-card__currency {
  font-size: 20px; font-weight: 700; color: #64748b;
}
.pricing-card__amount {
  font-size: 48px; font-weight: 800; color: #0a1628; line-height: 1;
}

/* Comparison table for corp page */
.section table {
  width: 100%; border-collapse: collapse; border-radius: 16px; overflow: hidden;
  background: #fff; box-shadow: 0 4px 24px rgba(0,0,0,.06); margin-top: 24px;
}
.section table th {
  background: #0a1628; color: #fff; padding: 16px 20px;
  font-size: 14px; font-weight: 600; text-align: left;
}
.section table td {
  padding: 14px 20px; border-bottom: 1px solid #f1f5f9;
  font-size: 14px; color: #475569;
}
.section table tr:last-child td { border-bottom: none; }
.section table tr:hover td { background: #f8fafc; }

/* Btn block */
.btn-block { display: block; width: 100%; text-align: center; }

/* Badge primary (generic) */
.badge--primary { background: rgba(34,197,94,.1); color: #15803d; }

/* Button secondary */
.btn-secondary {
  background: #e2e8f0; color: #475569; padding: 12px 24px; border-radius: 10px;
  font-size: 15px; font-weight: 600; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .3s ease; font-family: inherit; text-decoration: none;
}
.btn-secondary:hover { background: #cbd5e1; }

/* Form grid */
.form-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.form-group--full { grid-column: 1 / -1; }
.form-group label {
  display: block; font-size: 14px; font-weight: 600; color: #0a1628; margin-bottom: 8px;
}
.form-group .required { color: #ef4444; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid #e2e8f0; border-radius: 10px;
  font-size: 15px; font-family: inherit; color: #0a1628; background: #fff;
  transition: border-color .2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.1);
}
@media(max-width:640px){ .form-grid { grid-template-columns: 1fr; } }

/* Application form (resources page) */
.app-form {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 20px;
  padding: 32px; box-shadow: 0 8px 32px rgba(0,0,0,.04);
}
.app-form__tabs {
  display: flex; gap: 8px; margin-bottom: 32px;
  border-bottom: 2px solid #f1f5f9; padding-bottom: 16px;
}
.app-form__tab {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px; border: none; background: transparent;
  font-size: 14px; font-weight: 600; color: #94a3b8; cursor: pointer;
  border-radius: 8px; transition: all .2s ease; font-family: inherit;
}
.app-form__tab.active { background: #dcfce7; color: #15803d; }
.app-form__tab-num {
  width: 26px; height: 26px; border-radius: 50%;
  background: #f1f5f9; color: #94a3b8;
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.app-form__tab.active .app-form__tab-num {
  background: #15803d; color: #fff;
}
.app-form__panel { display: none; }
.app-form__panel.active { display: block; }
.app-form__actions {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 28px; padding-top: 20px; border-top: 1px solid #f1f5f9;
}
.app-form__success {
  display: none; flex-direction: column; align-items: center; text-align: center;
  padding: 48px 24px; gap: 16px;
}
.app-form__success svg { color: #22c55e; }
.app-form__success h3 { font-size: 24px; font-weight: 800; color: #0a1628; }
.app-form__success p { font-size: 15px; color: #64748b; max-width: 480px; line-height: 1.7; }

/* Resource cards */
.resource-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 16px;
  padding: 28px 24px; transition: all .35s ease;
}
.resource-card:hover {
  transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.06);
}
.resource-card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; background: rgba(34,197,94,.08); color: #22c55e;
}
.resource-card__icon.icon-box--credit { background: rgba(46,125,50,.08); color: #2E7D32; }
.resource-card__icon.icon-box--corp { background: rgba(21,101,192,.08); color: #1565C0; }
.resource-card__icon.icon-box--loans { background: rgba(2,119,189,.08); color: #0277BD; }
.resource-card__icon.icon-box--trust { background: rgba(93,64,55,.08); color: #5D4037; }
.resource-card h3 { font-size: 18px; font-weight: 700; color: #0a1628; margin-bottom: 10px; }
.resource-card p { font-size: 14px; color: #64748b; line-height: 1.65; margin-bottom: 16px; }
.resource-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: #22c55e; text-decoration: none;
  transition: gap .2s ease;
}
.resource-card__link:hover { gap: 10px; }

/* Contact cards */
.contact-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 16px;
  padding: 32px 24px; text-align: center;
  transition: all .35s ease;
}
.contact-card:hover {
  transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.06);
}
.contact-card svg { color: #22c55e; margin-bottom: 16px; }
.contact-card h4 { font-size: 16px; font-weight: 700; color: #0a1628; margin-bottom: 8px; }
.contact-card a, .contact-card p {
  font-size: 15px; color: #64748b; text-decoration: none; line-height: 1.6;
}
.contact-card a:hover { color: #22c55e; }

/* Comparison table wrapper */
.comparison-table { border-radius: 16px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,.06); }

/* Text utility */
.text-success { color: #22c55e; }

/* Header base background for internal pages (not transparent on non-landing) */
/* Header link styles (used in main layout) */
.header__link {
  color: rgba(255,255,255,.75); font-size: 14px; font-weight: 500;
  padding: 8px 16px; border-radius: 8px;
  transition: all .25s ease; text-decoration: none;
}
.header__link:hover,
.header__link.active {
  color: #fff; background: rgba(255,255,255,.08);
}
.header__actions .btn-outline {
  color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.2);
}
.header__actions .btn-outline:hover {
  background: rgba(255,255,255,.1); color: #fff;
}
.header__actions .btn-primary {
  background: #22c55e; color: #fff;
}
.header__actions .btn-primary:hover { background: #16a34a; }

body.auth-page .header {
  background: #0a1628;
}
body.auth-page .header.header--scrolled {
  background: #15803d;
}

