/* 
===================================================
 PAYBLOOM.APP - FUTURISTIC PREMIUM DESIGN SYSTEM
 Apple, Stripe & Linear Luxury fintech Aesthetics
===================================================
*/

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

/* 2. DESIGN SYSTEM & ROOT VARIABLES */
:root {
  /* Colors - Deep Dark Luxury Palette */
  --bg-color: #000000;
  --bg-card: rgba(10, 11, 22, 0.45);
  --bg-card-hover: rgba(18, 20, 38, 0.65);
  --border-color: rgba(255, 255, 255, 0.05);
  --border-color-hover: rgba(255, 255, 255, 0.12);
  
  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;
  --text-muted: #4b5563;
  
  /* Brand Gradients (Soft liquid highlights) */
  --accent-purple: #8b5cf6;
  --accent-pink: #ec4899;
  --accent-emerald: #10b981;
  --accent-blue: #3b82f6;

  --grad-bloom: linear-gradient(135deg, #7c3aed 0%, #db2777 50%, #2563eb 100%);
  --grad-paytrack: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --grad-fintrack: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --grad-liquid: #000000;
  
  /* Glassmorphism Settings */
  --glass-blur: blur(20px);
  --glass-saturate: saturate(200%);
  --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  --inner-glow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.08);
  
  /* Springs & Curves */
  --spring-transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --linear-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  
  /* Fonts */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --max-width: 1200px;
  --header-height: 80px;
}

/* 3. RESET & BASE ELEMENTS */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background-color: #000;
}

body {
  color: var(--text-primary);
  background: transparent;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Premium Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.15);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 92, 246, 0.35);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  letter-spacing: -0.03em;
}

p {
  color: var(--text-secondary);
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--linear-transition);
}

/* 4. LAYOUT UTILITIES & GLASSMORPHISM */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur) var(--glass-saturate);
  -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
  box-shadow: var(--inner-glow), var(--glass-shadow);
  transition: var(--spring-transition);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255,255,255,0.06), transparent 40%);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.glass-card:hover::before {
  opacity: 1;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color-hover);
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 25px rgba(124, 58, 237, 0.15);
}

/* Ambient liquid drifting glow nodes */
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  opacity: 0.35;
  pointer-events: none;
  animation: liquidDrift 25s infinite alternate ease-in-out;
}

@keyframes liquidDrift {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  33% { transform: translate(60px, -80px) scale(1.2) rotate(120deg); }
  66% { transform: translate(-80px, 40px) scale(0.8) rotate(240deg); }
  100% { transform: translate(30px, 50px) scale(1.1) rotate(360deg); }
}

/* Text Gradients */
.text-grad-bloom {
  background: var(--grad-bloom);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 99px;
  font-family: var(--font-headings);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-bloom {
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.25);
  color: #a78bfa;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.15);
}

.badge-paytrack {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #fbbd23;
}

.badge-fintrack {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34d399;
}

/* Buttons (With Spring Actions) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 14px;
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--spring-transition);
  border: none;
  outline: none;
}

.btn-primary {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 4px 25px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  background: #f0f0f0;
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25);
}

.btn-paytrack {
  background: var(--grad-paytrack);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

.btn-paytrack:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
}

.btn-fintrack {
  background: var(--grad-fintrack);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.btn-fintrack:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px) scale(1.03);
}

/* 5. STICKY GLASS HEADER */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  background: rgba(3, 4, 11, 0.7);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  transition: var(--linear-transition);
}

header.nav-open {
  background: #0d0d0d;
  height: auto;
}

header.scrolled {
  height: 68px;
  background: rgba(3, 4, 11, 0.85);
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

header .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-headings);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.06), 0 0 28px rgba(0, 255, 136, 0.12);
  transform: rotate(-10deg);
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-link:hover .logo-icon {
  transform: rotate(350deg) scale(1.1);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}

nav ul li a {
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

nav ul li a:hover {
  color: var(--text-primary);
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--linear-transition);
}

.lang-selector:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* 6. HERO SECTION */
.hero {
  position: relative;
  padding: calc(var(--header-height) + 80px) 0 100px 0;
  overflow: hidden;
  text-align: center;
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  background: rgba(0, 210, 100, 0.38);
  top: -100px;
  left: 20%;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(110, 0, 255, 0.28);
  bottom: 0px;
  right: 15%;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto 60px auto;
}

.hero-mission-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-mission-badge span {
  color: #fff;
  font-weight: 600;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 800;
  background: linear-gradient(180deg, #ffffff 0%, #888888 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.hero-subtitle {
  font-size: 1.35rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 36px auto;
  line-height: 1.5;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* Hero Showcase Mockup */
.showcase-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.showcase-dashboard {
  padding: 24px;
  transform: perspective(1000px) rotateX(10deg);
  box-shadow: 0 40px 120px rgba(0,0,0,0.9);
  border-radius: 24px;
}

.showcase-dashboard:hover {
  transform: perspective(1000px) rotateX(2deg);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 18px;
  margin-bottom: 20px;
}

.dash-dots {
  display: flex;
  gap: 6px;
}

.dash-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dash-dot:nth-child(1) { background: #ef4444; }
.dash-dot:nth-child(2) { background: #eab308; }
.dash-dot:nth-child(3) { background: #22c55e; }

.dash-title {
  font-family: var(--font-headings);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.dash-currency-badge {
  background: rgba(255,255,255,0.04);
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.8rem;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 6px;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.dash-card {
  padding: 20px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: 16px;
}

.dash-card-header {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
  font-weight: 500;
}

.dash-card-val {
  font-family: var(--font-headings);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.dash-card-trend {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.dash-card-trend.up { color: #10b981; }
.dash-card-trend.down { color: #ef4444; }

/* ===================================================
 7. ELITE BENTO GRID LAYOUT SECTION & SKELETON LOADERS
=================================================== */
.products-section {
  padding: 100px 0;
  position: relative;
}

.prod-glow-1 {
  width: 450px;
  height: 450px;
  background: rgba(0, 200, 180, 0.22);
  left: -200px;
  top: 30%;
}

.prod-glow-2 {
  width: 450px;
  height: 450px;
  background: rgba(0, 80, 255, 0.20);
  right: -200px;
  bottom: 20%;
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-intro h2 {
  font-size: 3rem;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #fff 0%, #888 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-cell-large {
  grid-column: span 2;
}

.bento-cell-small {
  grid-column: span 1;
}

.product-card {
  padding: 36px;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
}

/* PayTrack — amber accent */
#prod-paytrack {
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.07) 0%, var(--bg-card) 45%);
  border-color: rgba(245, 158, 11, 0.18);
  box-shadow: inset 0 1px 0 rgba(245, 158, 11, 0.25), var(--inner-glow), var(--glass-shadow);
}

#prod-paytrack:hover {
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: inset 0 1px 0 rgba(245, 158, 11, 0.4), 0 30px 70px rgba(0,0,0,0.85), 0 0 45px rgba(245, 158, 11, 0.15);
}

/* FinTrack — emerald accent */
#prod-fintrack {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.07) 0%, var(--bg-card) 45%);
  border-color: rgba(16, 185, 129, 0.18);
  box-shadow: inset 0 1px 0 rgba(16, 185, 129, 0.25), var(--inner-glow), var(--glass-shadow);
}

#prod-fintrack:hover {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: inset 0 1px 0 rgba(16, 185, 129, 0.4), 0 30px 70px rgba(0,0,0,0.85), 0 0 45px rgba(16, 185, 129, 0.15);
}

.product-card h3 {
  font-size: 2rem;
  margin-bottom: 8px;
  font-weight: 800;
}

.product-card .url-badge {
  font-size: 0.8rem;
  font-family: var(--font-headings);
  color: var(--text-muted);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 4px 10px;
  border-radius: 99px;
  transition: var(--linear-transition);
}

.product-card .url-badge:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
}

.product-card p.description {
  font-size: 1rem;
  margin-bottom: 24px;
}

/* Bento Sandbox Visualizers */
.sandbox-visualizer {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 28px;
  flex-grow: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), inset 0 -1px 0 rgba(0,0,0,0.3);
}

/* Slider Controls Styling */
.fintrack-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 99px;
  background: rgba(255,255,255,0.06);
  outline: none;
  transition: var(--linear-transition);
}

.fintrack-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-purple);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
  transition: var(--spring-transition);
}

.fintrack-slider::-webkit-slider-thumb:hover {
  transform: scale(1.3);
}

/* Dynamic line chart and details */
.chart-container {
  height: 100px;
  width: 100%;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  padding: 8px 0;
}

.chart-svg {
  width: 100%;
  height: 100%;
}

.chart-line {
  fill: none;
  stroke: url(#chart-gradient);
  stroke-width: 3px;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: d 0.5s ease;
}

.chart-fill {
  fill: url(#chart-fill-gradient);
  transition: d 0.5s ease;
}

.chart-networth-badge {
  position: absolute;
  top: 10px;
  right: 12px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 2px 8px;
  border-radius: 6px;
  font-family: var(--font-headings);
  font-size: 0.75rem;
  font-weight: 700;
  color: #34d399;
}

/* SKELETON SHIMMER LOADERS */
.skeleton-loading {
  position: relative;
}

.skeleton-loading * {
  visibility: hidden;
}

.skeleton-loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
                rgba(255,255,255,0.01) 25%, 
                rgba(255,255,255,0.05) 50%, 
                rgba(255,255,255,0.01) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  z-index: 10;
  border-radius: inherit;
}

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

/* Bento Extra Widgets styling */
.bento-extra-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  cursor: pointer;
}

.bento-extra-card h4 {
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.live-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981, 0 0 5px #10b981;
  animation: liveBlink 1.2s infinite alternate ease-in-out;
}

@keyframes liveBlink {
  0% { opacity: 0.35; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1.15); }
}

.credit-progress-bar {
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* ===================================================
 8. CROSS-BORDER CALCULATOR SECTION
=================================================== */
.calc-section {
  padding: 100px 0;
  position: relative;
}

.calc-glow-1 {
  width: 500px;
  height: 500px;
  background: rgba(0, 220, 120, 0.18);
  left: 30%;
  top: 10%;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.calc-info h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.calc-info p {
  font-size: 1.1rem;
  margin-bottom: 28px;
}

.calc-highlight {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.calc-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.calc-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  margin-top: 2px;
}

.calc-highlight-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.calc-highlight-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.calc-card {
  padding: 36px;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.calc-row-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-row-header label {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
}

.calc-row-header span {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.15rem;
}

.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 99px;
  background: rgba(255,255,255,0.06);
  outline: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-purple);
  cursor: pointer;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.5);
  transition: var(--spring-transition);
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.3);
}

.calc-divider {
  height: 1px;
  background: var(--border-color);
  margin-bottom: 24px;
}

.calc-outputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.calc-out-box {
  padding: 16px;
  background: rgba(255,255,255,0.01);
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: 14px;
  text-align: left;
}

.calc-out-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
  font-weight: 500;
}

.calc-out-val {
  font-family: var(--font-headings);
  font-size: 1.45rem;
  font-weight: 700;
}

.calc-out-box.highlighted {
  border-color: rgba(139, 92, 246, 0.2);
  background: rgba(139, 92, 246, 0.03);
}

.calc-out-box.highlighted .calc-out-val {
  color: #c084fc;
}

/* 9. STATS & KEY METRICS */
.stats-section {
  padding: 80px 0;
  text-align: center;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stats-card {
  padding: 30px 20px;
}

.stats-num {
  font-family: var(--font-headings);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 6px;
  background: var(--grad-bloom);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stats-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.stats-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 10. TESTIMONIALS SLIDER SECTION */
.testimonials-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.test-glow {
  width: 400px;
  height: 400px;
  background: rgba(120, 0, 255, 0.15);
  right: 10%;
  bottom: 0%;
}

.testimonial-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  min-height: 280px;
}

.testimonial-card {
  padding: 40px;
  text-align: center;
  display: none;
  animation: fadeIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.testimonial-card.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.testimonial-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid var(--accent-purple);
  margin: 0 auto 20px auto;
  object-fit: cover;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.testimonial-quote {
  font-size: 1.35rem;
  color: var(--text-primary);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
}

.testimonial-quote::before {
  content: '“';
  font-size: 4rem;
  position: absolute;
  top: -40px;
  left: -20px;
  opacity: 0.15;
  color: var(--accent-purple);
}

.testimonial-author {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.carousel-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  cursor: pointer;
  transition: var(--spring-transition);
}

.carousel-indicator.active {
  background: var(--accent-purple);
  width: 24px;
  border-radius: 4px;
}

/* 11. FAQ ACCORDION SECTION */
.faq-section {
  padding: 100px 0;
  position: relative;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.01);
  transition: var(--spring-transition);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.faq-header {
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 600;
}

.faq-icon {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-secondary);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 28px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-content p {
  padding-bottom: 22px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active {
  border-color: rgba(139, 92, 246, 0.3);
  background: rgba(139, 92, 246, 0.02);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-purple);
}

.faq-item.active .faq-content {
  max-height: 150px;
}

/* ===================================================
 12. FLOATING ACTION GLASSMORPHIC AI CHATBOT PANEL
=================================================== */
.chatbot-fab {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  transition: var(--spring-transition);
}

.chatbot-fab:hover {
  transform: scale(1.1) rotate(15deg);
  background: #1a1a1a;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.chatbot-fab-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #111;
}

.chatbot-window {
  position: fixed;
  bottom: 105px;
  right: 30px;
  width: 380px;
  height: 500px;
  border-radius: 24px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
  background: rgba(12, 13, 29, 0.75);
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur) var(--glass-saturate);
  -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
  box-shadow: var(--inner-glow), var(--glass-shadow);
  transform: translateY(20px) scale(0.9);
  opacity: 0;
  pointer-events: none;
  transition: var(--spring-transition);
}

.chatbot-window.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

.chat-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-header-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}

.chat-close {
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 1.25rem;
}

.chat-close:hover {
  color: var(--text-primary);
}

.chat-messages {
  flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chat-msg {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.85rem;
  line-height: 1.4;
  animation: msgPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes msgPop {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.chat-msg.bot {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-color);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-msg.user {
  background: var(--grad-bloom);
  align-self: flex-end;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-quick-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.chat-action-btn {
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: #a78bfa;
  font-size: 0.8rem;
  text-align: left;
  cursor: pointer;
  transition: var(--linear-transition);
}

.chat-action-btn:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.4);
}

.typing-indicator {
  display: none;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-color);
  padding: 10px 16px;
  border-radius: 16px;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  background: var(--text-secondary);
  border-radius: 50%;
  display: inline-block;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

.chat-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}

.chat-input-row input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 9px 16px;
  color: #fff;
  font-size: 0.875rem;
  outline: none;
  font-family: var(--font-body);
  transition: border-color 0.2s;
}

.chat-input-row input::placeholder { color: rgba(255,255,255,0.35); }
.chat-input-row input:focus { border-color: rgba(255,255,255,0.3); }

#chat-send-btn {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s;
}

#chat-send-btn svg path { fill: #000; }
#chat-send-btn:hover { background: #e0e0e0; transform: scale(1.08); }
#chat-send-btn:disabled { background: rgba(255,255,255,0.2); cursor: not-allowed; transform: none; }

/* 13. MULTI-STEP ONBOARDING WIZARD MODAL */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 4, 11, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  width: 100%;
  max-width: 520px;
  padding: 40px;
  border-radius: 28px;
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: var(--spring-transition);
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--linear-transition);
}

.modal-close:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-primary);
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: flex;
  flex-direction: column;
  animation: stepEnter 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

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

.wizard-header {
  text-align: center;
  margin-bottom: 28px;
}

.wizard-header h3 {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.wizard-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.wizard-dot {
  width: 30px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.08);
  transition: var(--linear-transition);
}

.wizard-dot.active {
  background: var(--accent-purple);
}

.wizard-dot.completed {
  background: rgba(139, 92, 246, 0.5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  text-align: left;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 16px;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: var(--linear-transition);
}

.form-input:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent-purple);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.25);
}

.error-text {
  font-size: 0.75rem;
  color: var(--error-color);
  margin-top: -12px;
  margin-bottom: 12px;
  display: none;
}

.wizard-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.wizard-option {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: rgba(255,255,255,0.01);
  cursor: pointer;
  text-align: center;
  transition: var(--spring-transition);
}

.wizard-option:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255, 255, 255, 0.15);
}

.wizard-option.selected {
  border-color: var(--accent-purple);
  background: rgba(139, 92, 246, 0.04);
}

.wizard-option-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.wizard-option-title {
  font-family: var(--font-headings);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.wizard-option-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.success-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 24px;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.25);
  animation: popScale 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popScale {
  from { transform: scale(0.3); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.success-visual h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.confetti-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  border-radius: 28px;
}

/* 14. FOOTER SECTION */
footer {
  padding: 80px 0 40px 0;
  border-top: 1px solid var(--border-color);
  background: rgba(2, 4, 10, 0.5);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand p {
  max-width: 250px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-links-col h4 {
  font-family: var(--font-headings);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.footer-links-col ul li a {
  color: var(--text-secondary);
}

.footer-links-col ul li a:hover {
  color: var(--text-primary);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 20px;
}

.footer-socials a {
  color: var(--text-secondary);
}

.footer-socials a:hover {
  color: var(--text-primary);
}

/* 15. RESPONSIVENESS MEDIA QUERIES */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3.2rem; }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-cell-large, .bento-cell-small {
    grid-column: span 1;
  }
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Hamburger button — hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  order: 3;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-hamburger { display: flex; }

  header .nav-container {
    flex-wrap: wrap;
    gap: 0;
  }

  /* Logo stays left, hamburger goes right */
  .logo-link { order: 1; flex: 1; }
  .nav-hamburger { order: 2; margin-left: auto; }

  /* Hide entire nav-actions on mobile to prevent overlap */
  .nav-actions { display: none; }

  /* Fullscreen mobile nav drawer */
  header nav {
    display: block;
    width: 100%;
    order: 4;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 0;
    border-top: 0px solid transparent;
  }
  header nav.mobile-open {
    max-height: 300px;
    padding: 16px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: #0d0d0d;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  header nav ul {
    flex-direction: column;
    gap: 0;
  }
  header nav ul li a {
    display: block;
    padding: 12px 4px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  header nav ul li:last-child a { border-bottom: none; }

  .hero { padding: calc(var(--header-height) + 50px) 0 60px 0; }
  .hero h1 { font-size: 2.5rem; }
  .hero p.hero-subtitle { font-size: 1.1rem; }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  .dash-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .section-intro h2 { font-size: 2.2rem; }
  .product-card { padding: 24px; }
  .stats-grid { grid-template-columns: 1fr; }
  .calc-outputs { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ===================================================
 AURORA BACKGROUND SYSTEM
=================================================== */
#aurora-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  background: #000;
}

.aurora-band {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.aurora-green {
  width: 140%;
  height: 45%;
  top: -12%;
  left: -20%;
  background: radial-gradient(ellipse at 50% 60%, rgba(0, 255, 120, 0.85) 0%, rgba(0, 180, 80, 0.45) 35%, transparent 70%);
  opacity: 0.42;
  animation: auroraFloat 24s infinite alternate ease-in-out;
}

.aurora-violet {
  width: 95%;
  height: 38%;
  top: -8%;
  left: 25%;
  background: radial-gradient(ellipse at 50% 55%, rgba(130, 0, 255, 0.9) 0%, rgba(80, 0, 180, 0.45) 35%, transparent 70%);
  opacity: 0.30;
  animation: auroraFloat 30s infinite alternate ease-in-out;
  animation-delay: -9s;
}

.aurora-teal {
  width: 110%;
  height: 32%;
  top: 4%;
  left: 5%;
  background: radial-gradient(ellipse at 50% 55%, rgba(0, 220, 255, 0.8) 0%, rgba(0, 140, 200, 0.35) 35%, transparent 70%);
  opacity: 0.22;
  animation: auroraFloat 27s infinite alternate ease-in-out;
  animation-delay: -16s;
}

.aurora-magenta {
  width: 65%;
  height: 28%;
  top: 0%;
  left: 65%;
  background: radial-gradient(ellipse at 50% 55%, rgba(255, 0, 160, 0.8) 0%, rgba(180, 0, 100, 0.35) 35%, transparent 70%);
  opacity: 0.16;
  animation: auroraFloat 35s infinite alternate ease-in-out;
  animation-delay: -6s;
}

.aurora-cyan {
  width: 85%;
  height: 30%;
  top: 10%;
  left: -8%;
  background: radial-gradient(ellipse at 50% 55%, rgba(0, 255, 200, 0.75) 0%, rgba(0, 160, 130, 0.30) 35%, transparent 70%);
  opacity: 0.20;
  animation: auroraFloat 22s infinite alternate ease-in-out;
  animation-delay: -12s;
}

@keyframes auroraFloat {
  0%   { transform: translateY(0px) translateX(0px) scaleX(1) scaleY(1); }
  20%  { transform: translateY(-18px) translateX(12px) scaleX(1.04) scaleY(0.96); }
  40%  { transform: translateY(10px) translateX(-8px) scaleX(0.97) scaleY(1.04); }
  60%  { transform: translateY(-22px) translateX(18px) scaleX(1.05) scaleY(0.95); }
  80%  { transform: translateY(14px) translateX(-14px) scaleX(0.98) scaleY(1.03); }
  100% { transform: translateY(-8px) translateX(6px) scaleX(1.02) scaleY(0.98); }
}
