/* ============================================================
   NEXUS TERMINAL — Luxury FinTech Overrides
   Inspired by cinematic luxury and minimalism.
   ============================================================ */

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

:root {
  --accent: #ffffff;
  --accent-violet: #a3a3a3;
  --green: #e5e5e5;
  --red: #737373;
  --orange: #525252;
  
  --bg: #000000;
  --bg2: #050505;
  --bg3: #0a0a0a;
  
  --border: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(255, 255, 255, 0.3);
  
  --muted1: #262626;
  --muted2: #737373;
  --muted3: #a3a3a3;
  --text: #ffffff;
  
  --nav-h: 80px;
  --mono: 'JetBrains Mono', 'Consolas', monospace;
  --sans: 'Plus Jakarta Sans', 'Inter', sans-serif;
  
  --gradient-primary: linear-gradient(135deg, #ffffff 0%, #a3a3a3 100%);
  --gradient-text: linear-gradient(135deg, #ffffff 30%, #737373 100%);
  --glow-shadow: none; /* No cheap glowing */
}

/* Base Body */
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Remove the cyber grid from before */
body::before, body::after {
  display: none !important;
}

/* Massive Cinematic Spacing */
section {
  padding: 160px 0 !important;
}

/* Cinematic Nav */
.nav {
  height: var(--nav-h);
  background: rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  box-shadow: none;
}
.nav-logo {
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #fff;
  text-transform: uppercase;
}
.nav-logo span {
  font-weight: 300;
  color: var(--muted3);
}
.nav-links a {
  color: var(--muted3) !important;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.4s ease;
}
.nav-links a:hover {
  color: #fff !important;
}

/* Hero Section Editorial Overhaul */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 120px !important;
  padding-bottom: 80px !important;
}

.hero-content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted3);
  margin-bottom: 24px;
}

/* Massive Typography */
.hero-headline {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 6rem !important; /* Huge text */
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--text);
  margin-bottom: 32px;
  max-width: 1000px;
  background: none;
  -webkit-text-fill-color: var(--text);
}
.hero-hl-main em {
  font-style: normal;
  color: var(--muted3);
  font-weight: 300;
  text-shadow: none;
}

.section-title {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 4rem !important;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 24px;
  background: none;
  -webkit-text-fill-color: var(--text);
}

.hero-sub, .section-sub, .module-desc {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--muted3);
  max-width: 600px;
  margin: 0 auto 48px auto;
  line-height: 1.8;
}

/* Luxury Buttons */
.btn-primary {
  background: #ffffff !important;
  color: #000000 !important;
  border-radius: 0px !important; /* Sharp elegant edges */
  font-family: var(--sans) !important;
  font-weight: 500 !important;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em !important;
  padding: 16px 32px !important;
  border: 1px solid #ffffff !important;
  box-shadow: none !important;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.btn-primary:hover {
  background: transparent !important;
  color: #ffffff !important;
  transform: none !important;
}

.btn-ghost {
  border-radius: 0px !important;
  font-family: var(--sans) !important;
  font-weight: 500 !important;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em !important;
  padding: 16px 32px !important;
  background: transparent !important;
  border: 1px solid var(--border) !important;
  color: var(--muted3) !important;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.btn-ghost:hover {
  border-color: #ffffff !important;
  color: #ffffff !important;
  background: rgba(255,255,255,0.02) !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Refined Cards & Glassmorphism */
.feat-card, .card, .pricing-card, .why-item, .faq-item {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid var(--border) !important;
  border-radius: 0px !important; /* Sharp corners */
  padding: 40px !important;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
  overflow: hidden;
}
.feat-card::before, .card::before, .pricing-card::before {
  display: none !important;
}
.feat-card:hover, .card:hover, .pricing-card:hover, .why-item:hover, .faq-item:hover {
  background: rgba(255,255,255,0.02) !important;
  border-color: rgba(255,255,255,0.15) !important;
  transform: translateY(-8px) !important;
  box-shadow: 0 32px 64px rgba(0,0,0,0.5) !important;
}

/* Feature specific grid */
.features-grid, .why-grid, .pricing-grid {
  border: none !important;
  gap: 24px !important;
}
.feat-card, .why-item, .pricing-card {
  border: 1px solid var(--border) !important;
}

/* Clean Terminal Box */
.terminal-box {
  background: #000000 !important;
  border-radius: 0px !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 40px 100px rgba(0,0,0,0.8) !important;
}

/* Ticker Strip / Stats */
.ticker-wrap, .stats-strip, .nl-strip {
  background: var(--bg2) !important;
  backdrop-filter: none !important;
  border-top: 1px solid var(--border) !important;
  border-bottom: 1px solid var(--border) !important;
}

/* Scroll Animations (Locomotive / GSAP style) */
.reveal-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-in {
  opacity: 0;
  transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
}
.is-revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Interactive Hero Terminal Simulator container */
.interactive-terminal-wrapper {
  margin-top: 60px;
  width: 100%;
  max-width: 1000px;
  perspective: none; /* Flattening the 3d rotation for minimal look */
}
.interactive-terminal {
  background: #020202;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.9);
  display: flex;
  flex-direction: column;
  height: 540px;
  transform: none; /* No rotation */
  transition: none;
}
.it-header {
  display: flex;
  align-items: center;
  padding: 16px 24px;
  background: #050505;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  gap: 12px;
}
.it-dot { width: 8px; height: 8px; border-radius: 50%; background: #333 !important; } /* Muted dots */
.it-tabs { display: flex; gap: 16px; margin-left: auto; }
.it-tab { 
  font-family: var(--sans); font-size: 0.7rem; color: var(--muted3); 
  text-transform: uppercase; letter-spacing: 0.1em; cursor: pointer;
  transition: color 0.4s; border: none; padding: 0;
}
.it-tab.active { 
  background: transparent; color: #fff; border: none; box-shadow: none;
  font-weight: 600;
}
.it-body {
  flex: 1;
  padding: 32px;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted2);
  overflow-y: auto;
  position: relative;
}

/* Cinematic Film Grain Overlay */
.film-grain {
  position: fixed;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
  animation: grain 8s steps(10) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -10%); }
  20% { transform: translate(-15%, 5%); }
  30% { transform: translate(7%, -25%); }
  40% { transform: translate(-5%, 25%); }
  50% { transform: translate(-15%, 10%); }
  60% { transform: translate(15%, 0%); }
  70% { transform: translate(0%, 15%); }
  80% { transform: translate(3%, 35%); }
  90% { transform: translate(-10%, 10%); }
}

/* Parallax Marquee Typography */
.bg-marquee-wrapper {
  position: absolute;
  top: 100px;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-marquee {
  font-family: var(--sans);
  font-size: 20vw;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
  letter-spacing: -0.05em;
}

/* Ensure content stays above the marquee */
#main-content, section {
  position: relative;
  z-index: 10;
}


@media (max-width: 1100px) {
  .hero-headline { font-size: 3.5rem !important; }
  .section-title { font-size: 2.5rem !important; }
  .interactive-terminal { height: 400px; }
  section { padding: 80px 0 !important; }
}

