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

:root {
  --finex-blue: #0869d8;
  --finex-blue-dark: #061a38;
  --finex-navy: #071b3a;
  --finex-gold: #e9ad32;
  --finex-light: #f6f8fb;
  --finex-border: #e6eaf0;
  --finex-text: #162033;
  --finex-muted: #687386;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--finex-text);
  background: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

.finex-navbar {
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(7, 27, 58, .07);
  padding: 13px 0;
}

.brand-logo {
  width: 150px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
}

.navbar .nav-link {
  color: #4d5869;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 15px !important;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--finex-blue);
}

.btn-finex {
  color: #fff;
  background: linear-gradient(135deg, #0869d8, #064da7);
  border: 0;
  box-shadow: 0 10px 25px rgba(8, 105, 216, .22);
  transition: .25s ease;
}

.btn-finex:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(8, 105, 216, .28);
}

.btn-dark-soft {
  color: #fff;
  background: #0b1c38;
  border: 1px solid #0b1c38;
}

.btn-dark-soft:hover {
  color: #fff;
  background: #132a4f;
}

/* HERO */
.hero-section {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  padding: 145px 0 90px;
  background:
    radial-gradient(circle at 82% 42%, rgba(10, 110, 220, .11), transparent 29%),
    linear-gradient(180deg, #fbfcfe 0%, #f3f7fb 100%);
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(8, 105, 216, .09);
  border-radius: 50%;
  right: -180px;
  top: 80px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(5px);
  pointer-events: none;
}

.hero-glow-one {
  width: 170px;
  height: 170px;
  background: rgba(233, 173, 50, .10);
  top: 120px;
  left: -70px;
}

.hero-glow-two {
  width: 130px;
  height: 130px;
  background: rgba(8, 105, 216, .10);
  bottom: 80px;
  right: 45%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid #dbe4ee;
  border-radius: 50px;
  background: rgba(255,255,255,.7);
  color: #45536a;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 19px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #18b66a;
  box-shadow: 0 0 0 5px rgba(24, 182, 106, .10);
}

.hero-title {
  max-width: 600px;
  margin: 0;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.06;
  letter-spacing: -2.6px;
  font-weight: 800;
  color: var(--finex-navy);
}

.hero-title span {
  display: block;
  color: var(--finex-blue);
}

.hero-text {
  max-width: 530px;
  color: var(--finex-muted);
  font-size: 16px;
  line-height: 1.75;
  margin: 22px 0 28px;
}

.hero-actions .btn {
  font-size: 14px;
  font-weight: 700;
  padding: 13px 20px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 18px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-item strong {
  font-size: 14px;
  color: var(--finex-navy);
}

.trust-item span {
  font-size: 10px;
  color: #7c8797;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.trust-divider {
  width: 1px;
  height: 28px;
  background: #d7dde6;
}

/* HERO VISUAL */
.hero-visual {
  min-height: 475px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dashboard-card {
  position: relative;
  z-index: 3;
  width: min(100%, 485px);
  padding: 25px;
  color: #fff;
  border-radius: 25px;
  background: linear-gradient(145deg, #0d254b, #06152d);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 30px 65px rgba(6, 25, 54, .22);
}

.dashboard-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.eyebrow {
  color: #8291aa;
  font-size: 9px;
  letter-spacing: 1.4px;
  font-weight: 700;
}

.dashboard-header h3 {
  margin: 6px 0 0;
  font-size: 30px;
  letter-spacing: -.8px;
}

.icon-btn {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.06);
  color: #dce7f7;
  border-radius: 10px;
}

.chart-area {
  height: 200px;
  position: relative;
  margin-top: 15px;
  overflow: hidden;
}

.chart-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 25% 25%;
}

.growth-chart {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
}

.chart-fill {
  fill: url(#chartFill);
}

.chart-line {
  fill: none;
  stroke: #25a4ff;
  stroke-width: 4;
  stroke-linecap: round;
}

.dashboard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
}

.dashboard-footer span {
  display: block;
  color: #8390a5;
  font-size: 11px;
}

.dashboard-footer strong {
  font-size: 14px;
}

.positive {
  color: #43d48c;
}

.period-pill {
  padding: 8px 11px;
  border-radius: 10px;
  background: rgba(255,255,255,.07);
  color: #bdc8d9 !important;
  font-size: 10px !important;
}

.period-pill i {
  margin-left: 5px;
}

.floating-card {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 15px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 15px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 35px rgba(19, 40, 70, .14);
}

.card-top {
  right: -15px;
  top: 45px;
}

.card-bottom {
  left: -20px;
  bottom: 40px;
}

.mini-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--finex-blue);
  background: #eaf4ff;
  font-size: 17px;
}

.mini-icon.gold {
  color: #b87b05;
  background: #fff6df;
}

.floating-card small {
  display: block;
  color: #7a8493;
  font-size: 9px;
  margin-bottom: 2px;
}

.floating-card strong {
  display: block;
  color: var(--finex-navy);
  font-size: 12px;
}

.floating-card .text-success {
  font-size: 14px;
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(8, 105, 216, .10);
  border-radius: 50%;
}

.orbit-one {
  width: 520px;
  height: 520px;
}

.orbit-two {
  width: 390px;
  height: 390px;
  border-color: rgba(233, 173, 50, .12);
}

/* TRUST BAR */
.trust-bar {
  padding: 22px 0;
  background: #fff;
  border-bottom: 1px solid var(--finex-border);
}

.trust-heading {
  font-size: 13px;
  color: #6d7787;
}

.trust-heading strong {
  color: var(--finex-navy);
}

.trust-logos {
  display: flex;
  justify-content: flex-end;
  gap: 40px;
  color: #8590a0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
}

.trust-logos i {
  color: var(--finex-blue);
  margin-right: 5px;
}

/* GENERAL SECTIONS */
.section-padding {
  padding: 105px 0;
}

.section-heading {
  max-width: 650px;
}

.section-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--finex-blue);
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 800;
}

.section-heading h2,
.section-title {
  color: var(--finex-navy);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -1.8px;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-heading h2 span,
.section-title span {
  color: var(--finex-blue);
}

.section-heading p,
.section-side-text {
  color: var(--finex-muted);
  line-height: 1.7;
  font-size: 14px;
}

/* FEATURE CARDS */
.feature-card {
  height: 100%;
  padding: 29px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--finex-border);
  box-shadow: 0 10px 35px rgba(17, 38, 68, .045);
  transition: .25s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(8, 105, 216, .20);
  box-shadow: 0 18px 45px rgba(17, 38, 68, .09);
}

.feature-card.featured-card {
  background: #0b1c38;
  color: #fff;
  border-color: #0b1c38;
  box-shadow: 0 18px 45px rgba(7, 27, 58, .18);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--finex-blue);
  background: #edf5ff;
  font-size: 21px;
  margin-bottom: 25px;
}

.featured-card .feature-icon {
  background: rgba(255,255,255,.08);
  color: #4eb3ff;
}

.feature-card h4 {
  font-size: 18px;
  font-weight: 750;
  margin-bottom: 12px;
}

.feature-card p {
  color: #707b8b;
  font-size: 13px;
  line-height: 1.75;
  margin-bottom: 22px;
}

.featured-card p {
  color: #aab6c8;
}

.feature-card a {
  color: var(--finex-blue);
  font-size: 12px;
  font-weight: 750;
}

.featured-card a {
  color: #69bcff;
}

/* DARK SECTION */
.dark-section {
  padding: 0 0 105px;
}

.dark-panel {
  position: relative;
  overflow: hidden;
  padding: 70px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 90% 20%, rgba(8,105,216,.26), transparent 32%),
    linear-gradient(135deg, #071a36, #030d1e);
  color: #fff;
}

.dark-panel::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 50%;
  right: -120px;
  bottom: -180px;
}

.light-label {
  color: #55b4ff;
}

.dark-panel h2 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -1.8px;
  font-weight: 800;
  margin-bottom: 18px;
}

.dark-panel h2 span {
  color: #4eb3ff;
}

.dark-panel > .row > .col-lg-6:first-child > p {
  color: #a7b3c5;
  font-size: 14px;
  line-height: 1.8;
  max-width: 500px;
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 25px 0 7px;
  color: #d7dfeb;
  font-size: 13px;
}

.check-list i {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  border-radius: 50%;
  background: rgba(41, 175, 111, .15);
  color: #4bd28c;
}

/* STATS */
.stats-card {
  position: relative;
  z-index: 2;
  padding: 25px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px;
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(10px);
}

.stats-card-top {
  display: flex;
  justify-content: space-between;
  color: #7f8da4;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.stats-card-top i {
  color: var(--finex-gold);
  font-size: 16px;
}

.stats-main {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  margin: 35px 0 20px;
}

.stats-main span {
  color: #aeb9ca;
  font-size: 12px;
}

.stats-main strong {
  color: #fff;
  font-size: 27px;
}

.finex-progress {
  height: 7px;
  background: rgba(255,255,255,.08);
}

.finex-progress .progress-bar {
  background: linear-gradient(90deg, #0869d8, #4eb3ff);
  border-radius: 10px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.stats-row div {
  padding: 13px;
  border-radius: 12px;
  background: rgba(255,255,255,.045);
}

.stats-row small {
  display: block;
  color: #7f8da4;
  font-size: 9px;
  margin-bottom: 5px;
}

.stats-row strong {
  font-size: 14px;
  color: #e8eef7;
}

/* SERVICES */
.service-card {
  position: relative;
  min-height: 285px;
  padding: 30px;
  border: 1px solid var(--finex-border);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  transition: .25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(17,38,68,.08);
}

.service-card.dark-service {
  color: #fff;
  background: #0b1c38;
  border-color: #0b1c38;
}

.service-number {
  position: absolute;
  right: 25px;
  top: 22px;
  color: #d8dee8;
  font-size: 11px;
  font-weight: 800;
}

.dark-service .service-number {
  color: #55657e;
}

.service-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #edf5ff;
  color: var(--finex-blue);
  font-size: 20px;
  margin-bottom: 26px;
}

.dark-service .service-icon {
  color: #55b4ff;
  background: rgba(255,255,255,.07);
}

.service-card h3 {
  font-size: 20px;
  font-weight: 750;
  margin-bottom: 11px;
}

.service-card p {
  max-width: 470px;
  color: #727d8c;
  font-size: 13px;
  line-height: 1.75;
}

.dark-service p {
  color: #9eabc0;
}

.service-card a {
  position: absolute;
  bottom: 27px;
  color: var(--finex-blue);
  font-size: 12px;
  font-weight: 750;
}

.dark-service a {
  color: #61baff;
}

/* CTA */
.cta-section {
  padding: 0 0 100px;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 50px 55px;
  border: 1px solid #e0e6ef;
  border-radius: 25px;
  background: linear-gradient(135deg, #f7faff, #fff);
}

.cta-box h2 {
  margin: 0 0 10px;
  color: var(--finex-navy);
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.12;
  letter-spacing: -1.5px;
  font-weight: 800;
}

.cta-box p {
  color: var(--finex-muted);
  margin: 0;
  font-size: 13px;
}

/* FOOTER */
.footer {
  padding: 65px 0 25px;
  color: #9ba8bb;
  background: #06152d;
}

.footer-logo {
  width: 145px;
  height: 50px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
  margin-bottom: 10px;
}

.footer-text {
  color: #8290a5;
  font-size: 12px;
}

.footer h6 {
  color: #fff;
  font-size: 12px;
  margin-bottom: 16px;
}

.footer a {
  display: block;
  color: #8f9caf;
  font-size: 12px;
  margin-bottom: 11px;
  transition: .2s ease;
}

.footer a:hover {
  color: #55b4ff;
}

.social-links {
  display: flex;
  gap: 8px;
}

.social-links a {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  margin: 0;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  background: rgba(255,255,255,.04);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding-top: 25px;
  margin-top: 45px;
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: 10px;
  color: #66758b;
}

/* RESPONSIVE */
@media (max-width: 1199.98px) {
  .hero-section {
    min-height: auto;
  }

  .card-top {
    right: -5px;
  }

  .card-bottom {
    left: -5px;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 12px;
    padding: 15px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 15px 35px rgba(10, 30, 60, .08);
  }

  .hero-section {
    padding-top: 125px;
  }

  .hero-visual {
    min-height: 440px;
  }

  .trust-logos {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 20px 30px;
  }

  .dark-panel {
    padding: 50px 35px;
  }
}

@media (max-width: 767.98px) {
  .brand-logo {
    width: 130px;
  }

  .hero-section {
    padding: 115px 0 65px;
  }

  .hero-title {
    font-size: 42px;
    letter-spacing: -1.8px;
  }

  .hero-text {
    font-size: 14px;
  }

  .hero-trust {
    gap: 12px;
  }

  .trust-item strong {
    font-size: 12px;
  }

  .trust-item span {
    font-size: 8px;
  }

  .hero-visual {
    min-height: 375px;
  }

  .dashboard-card {
    padding: 20px;
    border-radius: 20px;
  }

  .dashboard-header h3 {
    font-size: 25px;
  }

  .chart-area {
    height: 160px;
  }

  .floating-card {
    padding: 9px 11px;
  }

  .card-top {
    right: -2px;
    top: 20px;
  }

  .card-bottom {
    left: -2px;
    bottom: 15px;
  }

  .mini-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .orbit-one {
    width: 390px;
    height: 390px;
  }

  .orbit-two {
    width: 300px;
    height: 300px;
  }

  .section-padding {
    padding: 75px 0;
  }

  .dark-section {
    padding-bottom: 75px;
  }

  .dark-panel {
    padding: 38px 24px;
    border-radius: 22px;
  }

  .stats-card {
    padding: 20px;
  }

  .cta-box {
    align-items: flex-start;
    flex-direction: column;
    padding: 35px 25px;
  }

  .cta-box .btn {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-trust {
    justify-content: space-between;
  }

  .trust-divider {
    height: 24px;
  }

  .trust-bar {
    padding: 20px 0;
  }

  .trust-logos {
    gap: 14px 20px;
  }

  .trust-logos span {
    font-size: 9px;
  }

  .dashboard-card {
    width: 96%;
  }

  .floating-card {
    transform: scale(.88);
  }

  .stats-row {
    gap: 7px;
  }

  .stats-row div {
    padding: 10px 8px;
  }
}
