/* ============================================
   BANKLIFY SUGGESTION — GLOBAL STYLES
   ============================================ */

:root {
  --navy: #080912;
  --navy-mid: #0d1020;
  --navy-light: #111428;
  --surface: #f6f8fc;
  --surface-alt: #edf0f8;
  --accent: #4f8cff;
  --accent-dim: rgba(79, 140, 255, 0.15);
  --accent-glow: rgba(79, 140, 255, 0.25);
  --cyan: #38c8e8;
  --cyan-dim: rgba(56, 200, 232, 0.12);
  --text-white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.55);
  --text-dark: #1a1d2e;
  --text-mid: #5a5d72;
  --text-light: #8b8ea3;
  --border: rgba(255, 255, 255, 0.07);
  --border-light: rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  background: var(--navy);
  color: var(--text-white);
  overflow-x: hidden;
  cursor: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ============================================
   LOADER
   ============================================ */
#loader {
  position: fixed;
  inset: 0;
  background: #080912;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.6s ease 0.3s,
    visibility 0.6s ease 0.3s;
}
#loader.done {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  text-align: center;
  position: relative;
}

.loader-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(79, 140, 255, 0.18) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.loader-wordmark {
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  font-size: 32px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}
.loader-wordmark span {
  color: var(--accent);
}

.loader-bar {
  width: 180px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 24px auto 0;
  overflow: hidden;
}
.loader-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  animation: loaderFill 1.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.2s;
}
@keyframes loaderFill {
  to {
    width: 100%;
  }
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: background 0.3s;
}
.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(79, 140, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  transition:
    width 0.3s,
    height 0.3s,
    border-color 0.3s;
}
body.cursor-hover .cursor-ring {
  width: 48px;
  height: 48px;
  border-color: var(--accent);
}

/* ============================================
   NAV
   ============================================ */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 24px 0;
  transition:
    padding 0.4s ease,
    background 0.4s ease,
    border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  padding: 14px 0;
  background: rgba(8, 9, 18, 0.92);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
#nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img {
  height: 28px;
  width: auto;
  display: block;
}
.logo-dark {
  display: none;
}
.logo-white {
  display: block;
}
#nav.scrolled .logo-dark {
  display: block;
}
#nav.scrolled .logo-white {
  display: none;
}

.nav-cta {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--navy);
  background: var(--accent);
  padding: 10px 22px;
  border-radius: 100px;
  text-decoration: none;
  transition:
    background 0.25s,
    transform 0.2s;
}
.nav-cta:hover {
  background: var(--cyan);
  transform: translateY(-1px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  padding: 140px 0 100px;
}

/* Dot grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(79, 140, 255, 0.12) 1px,
    transparent 1px
  );
  background-size: 48px 48px;
  opacity: 0.5;
  pointer-events: none;
}

/* Ribbon canvas — right side */
#hero-ribbons {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Particle network */
#hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

/* Fade mask so ribbons fade out on the left */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(to right, var(--navy) 0%, transparent 40%);
  pointer-events: none;
  z-index: 3;
}

.hero .container {
  position: relative;
  z-index: 4;
}

.hero-content {
  max-width: 620px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(79, 140, 255, 0.25);
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s ease 2.4s forwards;
}
.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}

.hero h1 {
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-white);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.9s ease 2.6s forwards;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.9s ease 2.8s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 64px;
  opacity: 0;
  animation: fadeUp 0.9s ease 3s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, #3a7be0 100%);
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  border: none;
  cursor: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 0 24px rgba(79, 140, 255, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(79, 140, 255, 0.45);
}

.btn-secondary {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  cursor: none;
}
.btn-secondary:hover {
  color: #fff;
}

.hero-stats {
  display: flex;
  gap: 48px;
  opacity: 0;
  animation: fadeUp 0.9s ease 3.2s forwards;
}
.hero-stat .number {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #fff;
  background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat .label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

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

/* ============================================
   SECTION LABELS
   ============================================ */
.section-label {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ============================================
   SUPPORTED BANKS
   ============================================ */
.supported-section {
  padding: 64px 0;
  background: #fff;
  text-align: center;
}
.supported-sub {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 40px;
  font-weight: 300;
}
.bank-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: nowrap;
}
.bank-logos img {
  height: 36px;
  max-width: 110px;
  width: auto;
  object-fit: contain;
  background: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.supported-note {
  font-size: 13px;
  color: var(--text-mid);
  margin-top: 32px;
  font-weight: 300;
}

/* ============================================
   PAIN SECTION
   ============================================ */
.pain-section {
  padding: 120px 0;
  background: var(--surface);
}
.pain-section .section-label {
  color: var(--accent);
}
.pain-section h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 300;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 72px;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-light);
}
.pain-card {
  padding: 40px 32px 40px 0;
  border-right: 1px solid var(--border-light);
  position: relative;
  transition:
    box-shadow 0.35s ease,
    background 0.35s ease;
}
.pain-card:hover {
  background: rgba(79, 140, 255, 0.04);
  box-shadow:
    0 8px 40px rgba(79, 140, 255, 0.13),
    0 2px 12px rgba(56, 200, 232, 0.07);
}
.pain-card:last-child {
  border-right: none;
  padding-right: 0;
}
.pain-card:first-child {
  padding-left: 32px;
}
.pain-card + .pain-card {
  padding-left: 32px;
}

.pain-card-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  transition: width 0.6s ease;
}
.pain-card.in-view .pain-card-line {
  width: calc(100% - 32px);
}

.step-num {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-light);
  margin-bottom: 20px;
  margin-top: 20px;
}
.pain-card h3 {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.pain-card p {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ============================================
   ORB FEATURE SECTION
   ============================================ */
.orb-section {
  padding: 140px 0;
  background: var(--navy-mid);
  position: relative;
  overflow: hidden;
}
.orb-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
#orb-canvas {
  width: 100%;
  aspect-ratio: 1;
  display: block;
}
.orb-content h2 {
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 28px;
}
.orb-quote {
  border-left: 2px solid var(--accent);
  padding-left: 20px;
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: normal;
}
.orb-content p {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
  padding: 120px 0;
  background: var(--surface);
}
.features-header {
  margin-bottom: 80px;
}
.features-section .section-label {
  color: var(--accent);
}
.features-header h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 300;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-light);
  border-left: 1px solid var(--border-light);
}
.feature-card {
  padding: 48px 40px;
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease;
}
.feature-card:hover {
  background: rgba(79, 140, 255, 0.04);
  box-shadow:
    0 8px 48px rgba(79, 140, 255, 0.15),
    0 2px 16px rgba(56, 200, 232, 0.08);
}

.feature-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  transition: width 0.7s ease;
}
.feature-card.in-view .feature-line {
  width: 100%;
}

.feature-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 24px;
}
.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ============================================
   NUMBERS SECTION
   ============================================ */
.numbers-section {
  padding: 100px 0;
  background: var(--navy);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.numbers-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.number-item {
  text-align: center;
}
.number-value {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 300;
  letter-spacing: -0.03em;
  background: linear-gradient(
    135deg,
    #fff 0%,
    var(--accent) 60%,
    var(--cyan) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.number-value span {
  font-size: 0.5em;
  letter-spacing: -0.01em;
}
.number-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
  font-weight: 300;
  letter-spacing: 0.04em;
}
.number-divider {
  width: 1px;
  height: 80px;
  background: var(--border);
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-section {
  padding: 120px 0;
  background: var(--navy);
  border-top: 1px solid var(--border);
}
.pricing-header {
  text-align: center;
  margin-bottom: 72px;
}
.pricing-header h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.pricing-header p {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition:
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.pricing-card:hover {
  border-color: rgba(79, 140, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(79, 140, 255, 0.1);
}
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(79, 140, 255, 0.15);
}
.pricing-card.featured:hover {
  box-shadow: 0 8px 48px rgba(79, 140, 255, 0.25);
}
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent) 0%, #3a7be0 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  padding: 4px 18px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-card-header {
  text-align: center;
  margin-bottom: 32px;
}
.pricing-plan-name {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 4px;
}
.pricing-plan-desc {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 20px;
}
.pricing-amount {
  font-size: 48px;
  font-weight: 300;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.pricing-amount span {
  font-size: 16px;
  letter-spacing: 0;
  -webkit-text-fill-color: var(--text-muted);
}
.pricing-features {
  list-style: none;
  flex: 1;
  margin-bottom: 32px;
}
.pricing-features li {
  padding: 10px 0;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-features li:last-child {
  border-bottom: none;
}
.pricing-features li.included::before {
  content: "\2713";
  color: var(--cyan);
  font-weight: 600;
  font-size: 13px;
  flex-shrink: 0;
}
.pricing-card .btn-primary,
.pricing-card .btn-outline {
  text-align: center;
  justify-content: center;
  width: 100%;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: transparent;
  border: 1px solid rgba(79, 140, 255, 0.35);
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  cursor: none;
  transition:
    background 0.25s,
    transform 0.2s,
    border-color 0.25s;
}
.btn-outline:hover {
  background: rgba(79, 140, 255, 0.08);
  border-color: var(--accent);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 120px 0;
  background: var(--navy-mid);
  position: relative;
  overflow: hidden;
}
.cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(
    ellipse,
    rgba(79, 140, 255, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.cta-inner h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 20px;
}
.cta-inner p {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: #050609;
  padding: 80px 0 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}
.footer-logo img {
  height: 24px;
  width: auto;
  margin-bottom: 20px;
  opacity: 0.7;
}
.footer-tagline {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}
.footer-location {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.04em;
}
.footer-links {
  display: flex;
  gap: 60px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-col-title {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: #fff;
}
.footer-bottom {
  padding: 24px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.03em;
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
