/* ==========================================================================
   BANSYNE FINTECH FRONTEND - STYLES.CSS
   ========================================================================== */

/* ===== 1. CSS VARIABLES & DESIGN SYSTEM ===== */
:root {
  /* Brand Colors */
  --h-primary: #e63946;         /* Primary Accent Red/Coral */
  --h-secondary: #0b132b;       /* Deep Navy / Dark Background */
  --h-accent: #ffd166;          /* Gold / Accent Highlight */
  --h-text: #1f2937;            /* Primary Body Text (Dark Charcoal) */
  --h-muted: #64748b;           /* Muted Text (Slate Gray) */
  
  /* Additional UI Colors */
  --h-bg-light: #f8f9fa;        /* Light Section Background */
  --h-border-light: rgba(255, 255, 255, 0.1);
  --h-success: #4ade80;         /* Success / Positive Rate Green */

  /* Easing & Animations */
  --h-ease: cubic-bezier(.22, .8, .26, 1);
  
  /* Typography */
  --f-display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --f-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ===== 2. GLOBAL RESET & BASE STYLES ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--h-secondary);
  color: var(--h-text);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: var(--f-body);
  line-height: 1.6;
  background-color: #ffffff;
  color: var(--h-text);
}

/* Images & Media */
img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Links & Focus States */
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.25s var(--h-ease);
}

:focus-visible {
  outline: 3px solid var(--h-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== 3. LAYOUT & CONTAINERS ===== */
.inf {
  font-family: var(--f-body);
  width: 100%;
}

/* The .wrap class centers content inside full-width sections */
.inf .wrap {
  width: min(1200px, 100% - 40px);
  margin-inline: auto;
}

.inf section.block {
  width: 100%;
  padding: clamp(64px, 9vw, 110px) 0;
}

/* Typography Helpers */
.display, .h2, .inf h1 {
  font-family: var(--f-display);
}

.eyebrow {
  color: var(--h-primary);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.h2 {
  font-size: clamp(2.4rem, 6.5vw, 4.2rem);
  font-weight: 900;
  line-height: 0.98;
  text-transform: uppercase;
  color: var(--h-secondary);
  margin: 10px 0 20px;
  letter-spacing: -0.5px;
}

.lead {
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  line-height: 1.8;
  color: var(--h-text);
  max-width: 62ch;
}

.center {
  text-align: center;
}

.center .lead {
  margin-inline: auto;
}

.pill {
  display: inline-block;
  background: var(--h-accent);
  color: #000;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 7px 16px;
  border-radius: 999px;
  letter-spacing: 1px;
}

.dark {
  background: linear-gradient(135deg, #0b132b, #1c2a4a);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.dark .h2 {
  color: #fff;
}

.dark .lead {
  color: #cbd5e0;
}

/* ===== 4. BUTTONS & CTAS ===== */
.inf .cta {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 0;
  font-family: var(--f-body);
  transition: transform 0.25s var(--h-ease), box-shadow 0.25s;
}

.inf .cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
}

.inf .cta:hover::after {
  left: 130%;
  transition: left 0.7s var(--h-ease);
}

.cta-solid {
  background: var(--h-primary);
  color: #fff;
  box-shadow: 0 12px 28px -10px var(--h-primary);
}

.cta-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
}

.cta-outline {
  border: 2px solid var(--h-secondary);
  color: var(--h-secondary);
  background: transparent;
}

.cta-outline:hover {
  background: var(--h-secondary);
  color: #fff;
}

/* ===== 5. HEADER & FOOTER LAYOUT (RESPONSIVE) ===== */
.desktop-nav {
  display: flex;
}

#hamburgerBtn {
  display: none;
}

@media (max-width: 992px) {
  .desktop-nav {
    display: none !important;
  }
  
  #hamburgerBtn {
    display: block !important;
  }
}

/* ===== 6. REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--h-ease), transform 0.9s var(--h-ease);
  transition-delay: var(--d, 0s);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ===== 7. ACCESSIBILITY & MOTION PREFERENCES ===== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   HEADER & FOOTER COMPONENT STYLES
   ========================================================================== */

/* Header Styles */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(11, 19, 43, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.3s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  color: var(--h-primary);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.desktop-nav a {
  color: #cbd5e0;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.desktop-nav a:hover {
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.fraud-link {
  color: #ff6b78 !important;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.header-cta {
  padding: 10px 22px;
  font-size: 0.9rem;
}

#hamburgerBtn {
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  display: none;
  padding: 4px;
}

.mobile-menu {
  display: none;
  background: #0b132b;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu a {
  color: #cbd5e0;
  font-weight: 500;
  font-size: 1.1rem;
}

.header-spacer {
  height: 80px;
}

/* Footer Styles */
.site-footer {
  background: #070d1f;
  color: #fff;
  padding: 70px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h3, .footer-col h4 {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: #fff;
}

.footer-col h4 {
  color: var(--h-accent);
  font-size: 1.1rem;
  font-weight: 800;
}

.footer-col p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-col ul li a {
  color: #cbd5e0;
  font-size: 0.95rem;
}

.footer-cta-btn {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: #64748b;
  font-size: 0.85rem;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  color: #64748b;
}

/* Responsive Header */
@media (max-width: 992px) {
  .desktop-nav {
    display: none !important;
  }
  #hamburgerBtn {
    display: block !important;
  }
}

/* ===== HEADER & FOOTER SPACING FIXES ===== */

/* Ensure the header and footer use the .wrap container properly */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(11, 19, 43, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.3s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding-inline: 20px; /* Adds safe breathing room on left and right */
}

/* Footer side padding and grid adjustments */
.site-footer {
  background: #070d1f;
  color: #fff;
  padding: 70px 20px 30px; /* Adds side padding so footer text doesn't touch screen edges */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
  max-width: 1200px;
  margin-inline: auto;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: #64748b;
  font-size: 0.85rem;
  max-width: 1200px;
  margin-inline: auto;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px; /* Spacing between the logo image and text */
  text-decoration: none;
}

.logo-img {
  height: 32px; /* Adjust height to match your header's design */
  width: auto;  /* Maintains aspect ratio */
  object-fit: contain;
}