/* ============================================
   NEXBOND CRM — Global Styles
   ============================================ */

@import url('./variables.css');

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text-primary);
  background-color: var(--color-surface);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ── Section Spacing ── */
.section {
  padding: var(--space-24) 0;
}

.section-sm {
  padding: var(--space-16) 0;
}

.section-lg {
  padding: var(--space-32) 0;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
}

.heading-xl {
  font-size: clamp(2.5rem, 5vw, var(--font-size-7xl));
  font-weight: var(--font-weight-extrabold);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.heading-lg {
  font-size: clamp(2rem, 4vw, var(--font-size-5xl));
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.02em;
}

.heading-md {
  font-size: clamp(1.5rem, 3vw, var(--font-size-3xl));
  font-weight: var(--font-weight-semibold);
}

.heading-sm {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
}

.text-lg { font-size: var(--font-size-lg); }
.text-base { font-size: var(--font-size-base); }
.text-sm { font-size: var(--font-size-sm); }
.text-xs { font-size: var(--font-size-xs); }

.text-secondary { color: var(--color-text-secondary); }
.text-tertiary { color: var(--color-text-tertiary); }
.text-primary-color { color: var(--color-primary); }
.text-center { text-align: center; }

.overline {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-widest);
  text-transform: uppercase;
  color: var(--color-primary);
}

.subtitle {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-secondary);
  max-width: 640px;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-header .overline {
  margin-bottom: var(--space-4);
  display: block;
}

.section-header .heading-lg {
  margin-bottom: var(--space-6);
}

.section-header .subtitle {
  margin: 0 auto;
}

/* ── Gradient Text ── */
.gradient-text {
  background: var(--gradient-hero-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons (Pure Electric Blue & ClosingFox Layout) ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--disp);
  font-weight: 800;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 14px;
  border: 0;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
  position: relative;
  min-height: 48px;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 10px 26px -8px rgba(37, 99, 235, 0.6);
}

.btn-primary:hover {
  background: var(--blue-d);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -8px rgba(37, 99, 235, 0.7);
}

.btn-dark {
  background: var(--ink);
  color: #ffffff;
}

.btn-dark:hover {
  background: var(--ink-2);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1.5px solid var(--line);
  color: var(--tx);
  background: #ffffff;
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.btn-outline-dark {
  border: 1.5px solid var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn-outline-dark:hover {
  background: var(--ink);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-light {
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  background: transparent;
}

.btn-outline-light:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--blue);
  background: transparent;
}

.btn-ghost:hover {
  background: var(--blue-pale);
}

.btn-xl {
  padding: 16px 28px;
  font-size: 16px;
  border-radius: 16px;
  min-height: 54px;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 15px;
  border-radius: 14px;
}

.btn-md {
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 12px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  min-height: 36px;
  border-radius: 10px;
}

.btn-icon {
  width: 18px;
  height: 18px;
}

/* ── Cards ── */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--color-surface-200);
  transition: all var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  border-color: var(--color-primary-100);
}

.card-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
}

.card-glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-wide);
}

.badge-primary {
  background: var(--color-primary-50);
  color: var(--color-primary);
  border: 1px solid var(--color-primary-100);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-amber {
  background: rgba(245, 158, 11, 0.1);
  color: var(--color-accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-violet {
  background: rgba(124, 58, 237, 0.1);
  color: var(--color-accent-violet);
  border: 1px solid rgba(124, 58, 237, 0.2);
}

/* ── Icon Boxes ── */
.icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-box-primary {
  background: var(--color-primary-50);
  color: var(--color-primary);
}

.icon-box-dark {
  background: rgba(59, 130, 246, 0.15);
  color: var(--color-primary-light);
}

.icon-box svg {
  width: 24px;
  height: 24px;
}

/* ── Grid Utilities ── */
.grid { display: grid; gap: var(--space-8); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { flex-direction: column; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* ══════════════════════════════════════════
   NAVBAR (Always Visible & Crisp Glassmorphic)
   ══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 68px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line, #e2e8f0);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all var(--transition-base);
  box-sizing: border-box;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-wide, 1280px);
  margin: 0 auto;
  padding: 0 var(--container-padding, 24px);
  height: 100%;
  box-sizing: border-box;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  z-index: 1001;
}

.nav-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-lg, 12px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.nav-logo-img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-lg, 12px);
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: var(--disp, 'Plus Jakarta Sans', sans-serif);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--tx, #0f172a);
  letter-spacing: -0.02em;
  transition: color var(--transition-base);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 12px;
  color: var(--tx-mute, #475569);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-md, 8px);
  transition: all var(--transition-base);
  text-decoration: none;
}

.nav-link:hover {
  color: var(--blue, #2563eb);
  background: var(--blue-pale, #eff6ff);
}

.nav-link.active {
  color: var(--blue, #2563eb);
  background: var(--blue-pale, #eff6ff);
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  z-index: 1001;
}

.nav-btn-login {
  padding: 7px 16px;
  color: var(--tx, #0f172a);
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: 10px;
  transition: all var(--transition-base);
  border: 1.5px solid var(--line, #e2e8f0);
  background: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-btn-login:hover {
  color: var(--blue, #2563eb);
  border-color: var(--blue, #2563eb);
  background: var(--blue-pale, #eff6ff);
}

.nav-btn-demo {
  padding: 8px 18px;
  background: var(--blue, #2563eb);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
  border-radius: 10px;
  transition: all var(--transition-base);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-btn-demo:hover {
  background: var(--blue-d, #1d4ed8);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.45);
}

/* ── Mobile Menu Hamburger ── */
.nav-hamburger {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--line, #e2e8f0);
  background: #ffffff;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  z-index: 1002;
  transition: all var(--transition-base);
  box-sizing: border-box;
}

.nav-hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--tx, #0f172a);
  border-radius: 2px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-hamburger.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ── Mobile Menu Overlay ── */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100vh - 56px);
  height: calc(100dvh - 56px);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 14px 16px 32px;
  gap: 6px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 1px solid var(--line, #e2e8f0);
  box-sizing: border-box;
}

.nav-mobile-overlay.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.nav-mobile-overlay .nav-link {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--tx, #0f172a);
  padding: 10px 14px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.15s ease;
}

.nav-mobile-overlay .nav-link:hover,
.nav-mobile-overlay .nav-link.active {
  background: #eff6ff;
  color: #2563eb;
  border-color: #bfdbfe;
}

.nav-mobile-overlay .btn {
  margin-top: 8px;
  padding: 12px 16px;
  font-size: 0.92rem;
  border-radius: 12px;
  text-align: center;
  font-weight: 800;
  width: 100%;
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.footer {
  background: var(--color-navy-800);
  color: var(--color-text-inverse-secondary);
  padding: var(--space-20) 0 var(--space-8);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footer-logo {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  background: #ffffff;
}

.footer-logo-img {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-lg);
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  background: #ffffff;
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer-brand-name {
  color: var(--color-text-inverse);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
}

.footer-brand p {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.footer-social-link:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-col h4 {
  color: var(--color-text-inverse);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col a {
  font-size: var(--font-size-sm);
  color: var(--color-text-inverse-secondary);
  transition: all var(--transition-base);
}

.footer-col a:hover {
  color: var(--color-text-inverse);
  padding-left: var(--space-2);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--font-size-sm);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-6);
}

.footer-bottom-links a:hover {
  color: var(--color-text-inverse);
}

/* ══════════════════════════════════════════
   SCROLL ANIMATIONS
   ══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0.05s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.15s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.25s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.3s; }
.stagger-children .reveal:nth-child(7) { transition-delay: 0.35s; }
.stagger-children .reveal:nth-child(8) { transition-delay: 0.4s; }

/* ══════════════════════════════════════════
   CTA BANNER
   ══════════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, var(--color-navy-900) 0%, #0c122c 100%);
  padding: var(--space-20) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  opacity: 0.5;
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: var(--color-text-inverse);
  margin-bottom: var(--space-6);
}

.cta-banner p {
  color: var(--color-text-inverse-secondary);
  font-size: var(--font-size-lg);
  max-width: 600px;
  margin: 0 auto var(--space-10);
}

.cta-banner .btn-group {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 16px;
    --nav-height: 56px;
  }

  .container, .container-wide, .container-narrow {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Fixed Clean Mobile Header */
  .navbar {
    height: 56px !important;
    min-height: 56px !important;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid var(--line, #e2e8f0) !important;
  }
  .nav-inner {
    height: 56px !important;
    padding: 0 16px !important;
  }
  .nav-brand {
    gap: 8px !important;
  }
  .nav-logo, .nav-logo-img {
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
  }
  .nav-logo-text {
    font-size: 1.12rem !important;
  }
  
  .nav-links { 
    display: none !important; 
  }

  .nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-left: auto !important;
    margin-right: 8px !important;
  }
  .nav-actions .nav-btn-demo { 
    display: none !important; 
  }
  .nav-actions .nav-btn-login {
    padding: 5px 12px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
  }

  .nav-hamburger { 
    display: flex !important; 
  }

  .nav-mobile-overlay {
    top: 56px !important;
    height: calc(100vh - 56px) !important;
    height: calc(100dvh - 56px) !important;
  }

  h1, .heading-xl { font-size: 1.85rem !important; line-height: 1.2 !important; letter-spacing: -0.02em !important; }
  h2, .heading-lg { font-size: 1.5rem !important; line-height: 1.22 !important; letter-spacing: -0.02em !important; }
  h3, .heading-md { font-size: 1.2rem !important; line-height: 1.25 !important; }
  p, .subtitle { font-size: 0.9rem !important; line-height: 1.5 !important; }
  .section-header { margin-bottom: 28px !important; }
  .overline { font-size: 0.7rem !important; padding: 3px 8px !important; margin-bottom: 8px !important; }

  .section { padding: 40px 0 !important; }
  .section-sm { padding: 24px 0 !important; }
  .section-lg { padding: 48px 0 !important; }

  .grid-4 { grid-template-columns: 1fr; gap: 16px; }
  .grid-3 { grid-template-columns: 1fr; gap: 16px; }
  .grid-2 { grid-template-columns: 1fr; gap: 16px; }

  .footer { padding: 40px 0 20px !important; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; margin-bottom: 24px; }
  .footer-col h4 { margin-bottom: 10px; font-size: 0.8rem; }
  .footer-col ul { gap: 8px; }
  .footer-bottom { padding-top: 16px; flex-direction: column; gap: 10px; text-align: center; font-size: 0.78rem; }
  .footer-bottom-links { justify-content: center; gap: 14px; }
}

@media (max-width: 480px) {
  .btn-lg, .btn-xl {
    padding: 11px 18px !important;
    font-size: 0.88rem !important;
  }
}

/* ── Keyframe Animations ── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.3); }
  50% { box-shadow: 0 0 40px rgba(59, 130, 246, 0.5); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-in-right {
  from { transform: translateX(100px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

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

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ── ClosingFox Reference Styles ── */
.checklist-box {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-top: var(--space-6);
  margin-bottom: var(--space-8);
  max-width: 500px;
}

.checklist-box-title {
  color: var(--color-accent-emerald);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-3);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2.5);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

.checklist-item:last-child {
  margin-bottom: 0;
}

.checklist-item svg {
  color: var(--color-accent-emerald);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.transition-comparison-box {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-surface-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-4);
  background: var(--color-surface-50);
  transition: border-color var(--transition-base);
}

.transition-comparison-box:hover {
  border-color: var(--color-primary-light);
}

.comparison-panel {
  padding: var(--space-3) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.panel-old {
  background: rgba(244, 63, 94, 0.015);
  border-bottom: 1px dashed var(--color-surface-200);
}

.panel-new {
  background: rgba(16, 185, 129, 0.02);
}

.comparison-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1px;
}

.label-old {
  color: var(--color-accent-rose);
}

.label-new {
  color: var(--color-accent-emerald);
}

.comparison-text {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-normal);
}

.text-old {
  text-decoration: line-through;
  color: var(--color-text-tertiary);
  opacity: 0.9;
}

.text-new {
  color: var(--color-text-primary);
  font-weight: 600;
}

/* ══════════════════════════════════════════
   FLOATING WHATSAPP WIDGET & POPUP (NEXBOND BRAND THEME)
   ================================══════════════════════════════════ */
.nb-wa-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  font-family: var(--disp, 'Plus Jakarta Sans', sans-serif);
}

/* Floating Launcher Button */
.nb-wa-trigger-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: 0 10px 25px -4px rgba(37, 211, 102, 0.45), 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.nb-wa-trigger-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 14px 32px -4px rgba(37, 211, 102, 0.55);
}

.nb-wa-trigger-btn:active {
  transform: scale(0.95);
}

.nb-wa-badge-pulse {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
  animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

.nb-wa-icon-chat,
.nb-wa-icon-close {
  transition: all 0.25s ease;
  position: absolute;
}

.nb-wa-icon-close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
}

.nb-wa-widget.active .nb-wa-icon-chat {
  opacity: 0;
  transform: rotate(90deg) scale(0.6);
}

.nb-wa-widget.active .nb-wa-icon-close {
  opacity: 1;
  transform: rotate(0) scale(1);
}

/* WhatsApp Popup Card (100% Light NexBond Theme) */
.nb-wa-popup {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 360px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  border: 1.5px solid var(--line, #e2e8f0);
  box-shadow: 0 24px 60px -12px rgba(15, 23, 42, 0.18), 0 4px 16px rgba(0, 0, 0, 0.04);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.96);
  transform-origin: bottom right;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.nb-wa-widget.active .nb-wa-popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Header (NexBond Pure Blue / Brand Gradient) */
.nb-wa-header {
  background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 60%, #3B82F6 100%);
  padding: 18px 18px 16px;
  color: #ffffff;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nb-wa-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.nb-wa-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nb-wa-header-info {
  flex: 1;
}

.nb-wa-brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

.nb-wa-status-text {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 5px;
}

.nb-wa-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.3);
  display: inline-block;
}

.nb-wa-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nb-wa-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Body / Options List */
.nb-wa-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #ffffff;
  max-height: 380px;
  overflow-y: auto;
}

.nb-wa-option-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  text-decoration: none;
  color: #1e293b;
  transition: all 0.2s ease;
  cursor: pointer;
}

.nb-wa-option-card:hover {
  background: #ffffff;
  border-color: #2563EB;
  box-shadow: 0 6px 16px -4px rgba(37, 99, 235, 0.12);
  transform: translateY(-1px);
}

.nb-wa-option-card.highlight {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.nb-wa-option-card.highlight:hover {
  background: #ffffff;
  border-color: #2563EB;
}

.nb-wa-opt-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.opt-icon-demo { background: rgba(37, 99, 235, 0.08); color: #2563EB; }
.opt-icon-support { background: rgba(16, 185, 129, 0.08); color: #059669; }
.opt-icon-req { background: rgba(249, 115, 22, 0.08); color: #ea580c; }
.opt-icon-quote { background: rgba(124, 58, 237, 0.08); color: #7c3aed; }

.nb-wa-opt-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.nb-wa-opt-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}

.nb-wa-opt-sub {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.35;
  margin-top: 1px;
}

.nb-wa-opt-arrow {
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.nb-wa-option-card:hover .nb-wa-opt-arrow {
  color: #2563EB;
  transform: translateX(3px);
}

/* ── Interactive Requirement View ── */
.nb-wa-req-view {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  background: #ffffff;
}

.nb-wa-req-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #64748b;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-bottom: 2px;
}

.nb-wa-req-back:hover {
  color: #2563EB;
}

.nb-wa-req-title {
  font-size: 0.94rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
}

.nb-wa-req-subtitle {
  font-size: 0.72rem;
  color: #64748b;
  margin: 0 0 2px 0;
}

.nb-wa-form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nb-wa-form-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #334155;
}

.nb-wa-select,
.nb-wa-textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 7px 10px;
  font-size: 0.82rem;
  font-family: inherit;
  color: #0f172a;
  background: #f8fafc;
  outline: none;
  transition: all 0.2s ease;
}

.nb-wa-select:focus,
.nb-wa-textarea:focus {
  border-color: #2563EB;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.nb-wa-textarea {
  resize: none;
  height: 56px;
}

/* Team Size Pill Selector */
.nb-wa-pills-row {
  display: flex;
  gap: 6px;
}

.nb-wa-size-pill {
  flex: 1;
  text-align: center;
  padding: 5px 0;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nb-wa-size-pill.active {
  background: #2563EB;
  color: #ffffff;
  border-color: #2563EB;
}

.nb-wa-send-btn {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.84rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: all 0.2s ease;
  margin-top: 2px;
}

.nb-wa-send-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

/* Footer */
.nb-wa-footer {
  padding: 9px 16px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  text-align: center;
  font-size: 0.68rem;
  color: #94a3b8;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

@media (max-width: 480px) {
  .nb-wa-widget {
    bottom: 16px;
    right: 16px;
  }
  .nb-wa-popup {
    bottom: 68px;
    right: 0;
    width: calc(100vw - 32px);
  }
}


