/**
 * DealX — Modern Sales CRM Production Design System
 * Aesthetic: Minimal + Frosted Glassmorphism + CleanShot Polish
 * Brand Palette: Royal Blue (#4361EE), Carmine Red (#E11D48), Obsidian Black (#08080C)
 */

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

/* ==========================================================================
   Brand Typography (Lufga — Local Font Assets)
   ========================================================================== */
@font-face {
  font-family: "Lufga";
  src: url("../fonts/LufgaThin.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lufga";
  src: url("../fonts/LufgaThinItalic.woff2") format("woff2");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Lufga";
  src: url("../fonts/LufgaExtraLight.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lufga";
  src: url("../fonts/LufgaExtraLightItalic.woff2") format("woff2");
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Lufga";
  src: url("../fonts/LufgaLight.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lufga";
  src: url("../fonts/LufgaLightItalic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Lufga";
  src: url("../fonts/LufgaRegular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lufga";
  src: url("../fonts/LufgaItalic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Lufga";
  src: url("../fonts/LufgaMedium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lufga";
  src: url("../fonts/LufgaMediumItalic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Lufga";
  src: url("../fonts/LufgaSemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lufga";
  src: url("../fonts/LufgaSemiBoldItalic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Lufga";
  src: url("../fonts/LufgaBold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lufga";
  src: url("../fonts/LufgaBoldItalic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Lufga";
  src: url("../fonts/LufgaExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lufga";
  src: url("../fonts/LufgaExtraBoldItalic.woff2") format("woff2");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Lufga";
  src: url("../fonts/LufgaBlack.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lufga";
  src: url("../fonts/LufgaBlackItalic.woff2") format("woff2");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --dealx-blue: #4361ee;
  --dealx-blue-hover: #3451d1;
  --dealx-blue-light: #eef2ff;
  --dealx-blue-glow: rgba(67, 97, 238, 0.35);

  --dealx-red: #e11d48;
  --dealx-red-hover: #be123c;
  --dealx-red-light: #fff1f2;
  --dealx-red-glow: rgba(225, 29, 72, 0.25);

  --dealx-black: #08080c;
  --dealx-black-surface: #0e0e14;
  --dealx-black-card: #12121a;
  --dealx-black-muted: #1b1b26;

  --dealx-canvas: #f8f9fc;
  --dealx-surface: #ffffff;
  --dealx-border: rgba(226, 232, 240, 0.8);
  --dealx-border-glass: rgba(255, 255, 255, 0.12);

  --dealx-emerald: #10b880;
  --dealx-emerald-light: #ecfdf5;
  --dealx-amber: #f59e0b;
  --dealx-amber-light: #fef3c7;

  --dealx-text-main: #0f172a;
  --dealx-text-muted: #64748b;
  --dealx-text-light: #94a3b8;
  --dealx-text-inverse: #ffffff;

  --font-sans:
    "Lufga", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  --font-mono:
    "Source Code Pro", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Global Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

/* Lenis Smooth Momentum Scrolling Integration */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  html,
  html.lenis {
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-sans);
  color: var(--dealx-text-main);
  background-color: var(--dealx-canvas);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.headline {
  letter-spacing: -0.025em;
  font-weight: 700;
  color: inherit;
}

.font-mono {
  font-family: var(--font-mono) !important;
}

/* Typography Gradient Shimmers */
.text-gradient-shimmer {
  background: linear-gradient(135deg, #161618 15%, var(--dealx-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  display: inline-block;
}

.text-gradient-dark-shimmer {
  background: linear-gradient(
    270deg,
    #ffffff,
    #9ceaff 40%,
    #61b0ff 75%,
    var(--dealx-blue) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-red {
  background: linear-gradient(135deg, #e11d48 0%, #fb7185 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-blue {
  background: linear-gradient(135deg, #4361ee 0%, #60a0f8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-dealx {
  background: linear-gradient(90deg, #161618 0%, #161618 62%, #1e3a8a 82%, #315cf2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  display: inline-block;
}

.text-dealx-blue {
  color: var(--dealx-blue) !important;
}

/* CleanShot Light Hero Canvas */
.cs-light-hero-mesh {
  position: relative;
  background-color: #FFFFFF;
  background-image: 
    radial-gradient(circle at 50% 12%, rgba(67, 97, 238, 0.07) 0%, transparent 65%),
    radial-gradient(circle at 10% 45%, rgba(96, 160, 248, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 90% 45%, rgba(67, 97, 238, 0.05) 0%, transparent 45%);
  color: #111827;
  overflow: hidden;
}

/* Hero Section Layout & Breathable Vertical Spacing */
#hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: 160px;
  padding-bottom: 96px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
}

#hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 180px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
  pointer-events: none;
  z-index: 2;
}

@media (max-width: 991.98px) {
  #hero {
    padding-top: 120px;
    padding-bottom: 64px;
  }
}

/* Magic UI + Aceternity Interactive Grid Canvas Layer */
.hero-interactive-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 38%, black 45%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 38%, black 45%, transparent 95%);
}

@keyframes ambientBreathe {
  0% {
    transform: translateX(-50%) translateY(0px) scale(1);
  }
  100% {
    transform: translateX(-50%) translateY(-18px) scale(1.06);
  }
}

/* CleanShot Exact Heading & Badge Styles */
.heading-title {
  max-width: 820px;
  letter-spacing: -0.025em;
  text-align: center;
  background: linear-gradient(90deg, #161618, #161618 55%, #174ef2);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  margin: 0 auto;
  font-size: clamp(34px, 4.8vw, 56px);
  font-weight: 700;
  line-height: 1.18;
}

.heading-title-black {
  max-width: 820px;
  letter-spacing: -0.025em;
  text-align: center;
  color: #161618;
  margin: 0 auto;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.22;
}

@media (max-width: 700px) {
  .heading-title {
    font-size: 38px;
    line-height: 1.2;
  }
  .heading-title-black {
    font-size: 28px;
    line-height: 1.25;
  }
}

.heading-description {
  letter-spacing: 0.01em;
  text-align: center;
  margin-top: 22px;
  margin-bottom: 36px;
  font-size: 18px;
  font-weight: 450;
  line-height: 1.7;
  color: #52525b;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.studio-mode-badge.-dark {
  color: #ffffff;
  background: #0f0f12;
  box-shadow:
    0 2px 6px -1px rgba(22, 22, 24, 0.25),
    0 0 10px rgba(13, 108, 232, 0.3);
  border-radius: 14px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 12px;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.43;
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background-color 0.2s ease;
}

.studio-mode-badge.-dark:hover {
  background-color: #212127;
}

/* CleanShot Dark Atmospheric Mesh Bloom */
.cs-dark-mesh {
  background-color: #08080c;
  background-image:
    radial-gradient(
      circle at 75% 15%,
      rgba(67, 97, 238, 0.4) 0%,
      rgba(8, 8, 12, 0) 55%
    ),
    radial-gradient(
      circle at 25% 10%,
      rgba(37, 99, 235, 0.25) 0%,
      rgba(8, 8, 12, 0) 50%
    ),
    radial-gradient(
      circle at 15% 85%,
      rgba(67, 97, 238, 0.2) 0%,
      rgba(8, 8, 12, 0) 45%
    );
  background-repeat: no-repeat;
  color: #ffffff;
}

.cs-studio-mesh {
  background-color: #0b0b0e;
  background-image:
    radial-gradient(
      circle at 50% 0%,
      rgba(67, 97, 238, 0.35) 0%,
      rgba(11, 11, 14, 0) 65%
    ),
    radial-gradient(
      circle at 85% 75%,
      rgba(67, 97, 238, 0.2) 0%,
      rgba(11, 11, 14, 0) 45%
    ),
    radial-gradient(
      circle at 10% 30%,
      rgba(16, 184, 128, 0.08) 0%,
      rgba(11, 11, 14, 0) 35%
    );
  background-repeat: no-repeat;
  color: #ffffff;
}

.cs-cta-mesh {
  background-color: #08080c;
  background-image:
    radial-gradient(
      circle at 50% 50%,
      rgba(67, 97, 238, 0.45) 0%,
      rgba(8, 8, 12, 0) 70%
    ),
    radial-gradient(
      circle at 15% 20%,
      rgba(37, 99, 235, 0.25) 0%,
      rgba(8, 8, 12, 0) 45%
    );
  background-repeat: no-repeat;
  color: #ffffff;
}

/* Glassmorphism & Cards */
.cs-glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--dealx-border);
}

.cs-glass-dark {
  background: rgba(18, 18, 26, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--dealx-border-glass);
}

/* CleanShot 4-Tier Card Shadow Stack */
.cs-card {
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(22, 22, 24, 0.08);
  box-shadow:
    0 9px 26px -6px rgba(22, 22, 24, 0.04),
    0 29px 47px -4px rgba(22, 22, 24, 0.05),
    0 50px 63px -8px rgba(22, 22, 24, 0.02),
    0 0 0 1px rgba(22, 22, 24, 0.06);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease;
}

.cs-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 16px 36px -6px rgba(22, 22, 24, 0.08),
    0 36px 56px -4px rgba(22, 22, 24, 0.08),
    0 0 0 1px rgba(67, 97, 238, 0.25);
}

.cs-card-dark {
  border-radius: 24px;
  background: var(--dealx-black-card);
  border: 1px solid var(--dealx-border-glass);
  box-shadow:
    0 10px 30px -5px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease;
}

.cs-card-dark:hover {
  transform: translateY(-3px);
  border-color: rgba(67, 97, 238, 0.5);
}

/* Pills & Badges */
.cs-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(22, 22, 24, 0.04);
  border: 1px solid rgba(22, 22, 24, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--dealx-text-main);
  transition: all 0.2s ease;
}

.cs-pill-dark {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.cs-pill-blue {
  background: rgba(67, 97, 238, 0.12);
  border: 1px solid rgba(67, 97, 238, 0.3);
  color: var(--dealx-blue);
}

.cs-pill-red {
  background: rgba(225, 29, 72, 0.12);
  border: 1px solid rgba(225, 29, 72, 0.3);
  color: var(--dealx-red);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--dealx-blue);
  box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.7);
  animation: pulse-ring 2s infinite;
}

.pulse-dot-red {
  background-color: var(--dealx-red);
  box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7);
  animation: pulse-ring-red 2s infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(67, 97, 238, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(67, 97, 238, 0);
  }
}

@keyframes pulse-ring-red {
  0% {
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(225, 29, 72, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0);
  }
}

/* Buttons */
.btn-dealx-primary {
  background: var(--dealx-blue);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(67, 97, 238, 0.35);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-dealx-primary:hover,
.btn-dealx-primary:focus {
  background: var(--dealx-blue-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(67, 97, 238, 0.5);
}

.btn-dealx-blue {
  background: var(--dealx-blue);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(67, 97, 238, 0.35);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-dealx-blue:hover,
.btn-dealx-blue:focus {
  background: var(--dealx-blue-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(67, 97, 238, 0.5);
}

.btn-dealx-ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 600;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-dealx-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Floating Navbar */
.dealx-nav-wrapper {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 1040;
  pointer-events: none;
}

.dealx-nav-wrapper .container {
  pointer-events: none;
}

.dealx-navbar {
  pointer-events: auto;
  width: 100%;
  padding: 10px 24px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow:
    0 10px 30px -5px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(15, 23, 42, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.dealx-brand-logo {
  height: 32px;
  width: auto;
  display: block;
}

.dealx-nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dealx-nav-links a {
  color: #475569;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
  padding: 6px 12px;
  border-radius: 8px;
}

.dealx-nav-links a:hover {
  color: var(--dealx-blue);
  background: rgba(67, 97, 238, 0.06);
}

.dealx-nav-links a.active {
  color: var(--dealx-blue);
  background: rgba(67, 97, 238, 0.08);
  font-weight: 600;
}

/* ==========================================================================
   Mobile Navigation & Animated Hamburger Toggle
   ========================================================================== */
.dealx-menu-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  flex-shrink: 0;
}

.dealx-menu-toggle:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.dealx-menu-toggle:active {
  transform: scale(0.95);
}

.dealx-menu-toggle[aria-expanded="true"],
.dealx-menu-toggle.is-active {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.dealx-menu-toggle:focus-visible {
  outline: 2px solid var(--dealx-blue, #4361ee);
  outline-offset: 2px;
}

.hamburger-box {
  width: 16px;
  height: 12px;
  position: relative;
  display: block;
}

.hamburger-line {
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #1e293b;
  border-radius: 4px;
  left: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.2s ease,
              background-color 0.2s ease;
}

.hamburger-line.line-1 {
  top: 0;
  transform-origin: center;
}

.hamburger-line.line-2 {
  top: 5px;
  transform-origin: center;
}

.hamburger-line.line-3 {
  top: 10px;
  transform-origin: center;
}

/* Open / Active State — Morph into 'X' */
.dealx-menu-toggle[aria-expanded="true"] .hamburger-line.line-1,
.dealx-menu-toggle.is-active .hamburger-line.line-1 {
  transform: translateY(5px) rotate(45deg);
  background-color: var(--dealx-blue, #4361ee);
}

.dealx-menu-toggle[aria-expanded="true"] .hamburger-line.line-2,
.dealx-menu-toggle.is-active .hamburger-line.line-2 {
  opacity: 0;
  transform: scaleX(0);
}

.dealx-menu-toggle[aria-expanded="true"] .hamburger-line.line-3,
.dealx-menu-toggle.is-active .hamburger-line.line-3 {
  transform: translateY(-5px) rotate(-45deg);
  background-color: var(--dealx-blue, #4361ee);
}

/* Mobile Nav Dropdown (Minimal, Frosted Glass) */
.dealx-mobile-nav {
  pointer-events: auto;
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 18px;
  box-shadow: 0 12px 32px -4px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.03);
  padding: 8px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px) scale(0.99);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.25s allow-discrete;
}

.dealx-mobile-nav.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  visibility: visible;
}

.dealx-mobile-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dealx-mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  color: #475569;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dealx-mobile-link:hover,
.dealx-mobile-link:active,
.dealx-mobile-link:focus-visible {
  background: rgba(67, 97, 238, 0.06);
  color: var(--dealx-blue, #4361ee);
  font-weight: 600;
  padding-left: 20px;
}

.dealx-mobile-link.active {
  background: rgba(67, 97, 238, 0.08);
  color: var(--dealx-blue, #4361ee);
  font-weight: 600;
}

.dealx-mobile-arrow {
  font-size: 0.85rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--dealx-blue, #4361ee);
}

.dealx-mobile-link:hover .dealx-mobile-arrow,
.dealx-mobile-link:active .dealx-mobile-arrow {
  opacity: 1;
  transform: translateX(0);
}

.dealx-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1035;
  background: rgba(15, 23, 42, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dealx-nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .dealx-menu-toggle,
  .hamburger-line,
  .dealx-mobile-nav,
  .dealx-mobile-link,
  .dealx-nav-backdrop {
    transition: none !important;
  }
}

/* Mac Browser Chrome Frame */
.mac-frame {
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow:
    0 30px 80px -15px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(15, 23, 42, 0.05);
  position: relative;
}

.mac-titlebar {
  background: #f1f3f8;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.traffic-dots {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

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

.traffic-dot.red {
  background: #ff5f56;
}
.traffic-dot.yellow {
  background: #ffbd2e;
}
.traffic-dot.green {
  background: #27c93f;
}

.mac-tabs-scroller {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  display: flex;
  align-items: center;
  flex: 1;
}

.mac-tabs-scroller::-webkit-scrollbar {
  display: none;
}

.mac-tabs {
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.mac-tab {
  background: transparent;
  border: 1px solid transparent;
  color: #64748b;
  font-size: 0.81rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  line-height: 1.4;
  user-select: none;
}

.mac-tab:hover {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.65);
}

.mac-tab.active {
  background: #ffffff;
  color: #0f172a;
  font-weight: 600;
  border-color: rgba(226, 232, 240, 0.95);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.mac-tab-divider {
  width: 1px;
  height: 14px;
  background-color: rgba(203, 213, 225, 0.7);
  margin: 0 2px;
  display: inline-block;
  vertical-align: middle;
}

.mac-frame-body {
  position: relative;
  background: #ffffff;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.mac-screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, transform 0.28s ease;
  transform: scale(0.995);
  pointer-events: none;
  display: block;
}

.mac-screenshot-img.active {
  opacity: 1;
  visibility: visible;
  position: relative;
  transform: scale(1);
  pointer-events: auto;
}

/* Floating Glass Badges on Hero */
.floating-glass-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 100px;
  padding: 8px 18px;
  color: var(--dealx-text-main);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
  animation: float 4s ease-in-out infinite alternate;
}

.badge-pos-1 {
  top: -20px;
  left: -10px;
}
.badge-pos-2 {
  bottom: 40px;
  left: -30px;
  animation-delay: -1.5s;
}
.badge-pos-3 {
  top: 25%;
  right: -25px;
  animation-delay: -2.5s;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-8px);
  }
}

/* Audio Waveform Simulator */
.waveform-container {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 48px;
  flex: 1;
  padding: 0 8px;
  cursor: pointer;
}

.waveform-bar {
  flex: 1;
  min-width: 3px;
  border-radius: 3px;
  background-color: #cbd5e1;
  transition:
    height 0.15s ease,
    background-color 0.2s ease;
}

.waveform-bar.active {
  background-color: var(--dealx-blue);
  box-shadow: 0 0 8px rgba(67, 97, 238, 0.45);
}

.waveform-bar.played {
  background-color: #3b82f6;
}

/* ==========================================================================
   Multilingual Call Studio — Structured Transcript Table (Matching Pain Points Mockup)
   ========================================================================== */
.cs-preview-window {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow:
    0 10px 30px -5px rgba(15, 23, 42, 0.05),
    0 4px 16px rgba(15, 23, 42, 0.03);
  overflow: hidden;
}

.cs-player-toolbar {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px 12px;
}

.mini-transcript-table {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.mini-transcript-row {
  display: grid;
  grid-template-columns: 52px 105px 1fr;
  gap: 12px;
  padding: 9px 12px;
  font-size: 0.74rem;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s ease;
}

.mini-transcript-row .transcript-time {
  font-size: 0.68rem;
}

.mini-transcript-row .transcript-speaker .badge {
  font-size: 0.65rem;
}

.mini-transcript-row .transcript-text {
  font-size: 0.74rem;
  line-height: 1.45;
}

@media (max-width: 767.98px) {
  .mini-transcript-row {
    grid-template-columns: 40px 78px minmax(0, 1fr);
    gap: 8px;
    padding: 7px 8px;
  }
  .mini-transcript-row .transcript-time {
    font-size: 0.62rem;
  }
  .mini-transcript-row .transcript-speaker .badge {
    font-size: 0.58rem;
    padding: 1px 5px;
  }
  .mini-transcript-row .transcript-text {
    font-size: 0.66rem;
    line-height: 1.35;
  }
}

@media (max-width: 480px) {
  .cs-player-toolbar {
    padding: 6px 8px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  .cs-player-toolbar .waveform-container {
    order: 3 !important;
    width: 100% !important;
    margin: 4px 0 0 0 !important;
    height: 20px !important;
  }
  .transcript-tab-btn {
    font-size: 0.56rem !important;
    padding: 2px 5px !important;
  }
  .mini-transcript-row {
    grid-template-columns: 34px 62px minmax(0, 1fr) !important;
    gap: 5px !important;
    padding: 5px 6px !important;
  }
  .mini-transcript-row .transcript-time {
    font-size: 0.56rem !important;
  }
  .mini-transcript-row .transcript-speaker .badge {
    font-size: 0.52rem !important;
    padding: 1px 3px !important;
  }
  .mini-transcript-row .transcript-text {
    font-size: 0.58rem !important;
    line-height: 1.25 !important;
  }
}

.mini-transcript-row:last-child {
  border-bottom: none;
}

.mini-transcript-row:hover {
  background: #f8fafc;
}

.mini-transcript-row.active {
  background: #eff6ff;
  border-left: 2px solid var(--dealx-blue);
}

.mini-transcript-row.header {
  background: #f8fafc;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  font-family: var(--dealx-font-mono);
  border-bottom: 1px solid #e2e8f0;
}

.transcript-tab-btn {
  border-radius: 100px;
  padding: 3px 12px;
  font-size: 0.70rem;
  font-weight: 500;
  color: var(--dealx-blue);
  background: #ffffff;
  border: 1px solid var(--dealx-blue);
  transition: all 0.2s ease;
}

.transcript-tab-btn:hover {
  background: rgba(67, 97, 238, 0.06);
}

.transcript-tab-btn.active {
  background: var(--dealx-blue) !important;
  color: #ffffff !important;
  border-color: var(--dealx-blue) !important;
}

/* Mini Waveform Bars (Exhibition Card 02) */
.mini-waveform-bars {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 42px;
  padding: 0 8px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #f1f5f9;
}

.mini-waveform-bars .wave-bar {
  flex: 1;
  min-width: 3px;
  background: #cbd5e1;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.mini-waveform-bars .wave-bar.active {
  background: var(--dealx-blue);
  box-shadow: 0 0 6px rgba(67, 97, 238, 0.35);
}

/* ==========================================================================
   DealX Core Feature Cards Grid (Section 3)
   ========================================================================== */
.feature-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  padding: 32px 28px;
  box-shadow:
    0 4px 20px -2px rgba(15, 23, 42, 0.03),
    0 1px 3px rgba(15, 23, 42, 0.02);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(67, 97, 238, 0.35);
  box-shadow:
    0 20px 42px -8px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(67, 97, 238, 0.12);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.feature-card-title {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--dealx-text-main);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}

.feature-card-desc {
  color: var(--dealx-text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.feature-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.feature-tag-pill {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  line-height: 1.35;
}

/* Empty / Placeholder Feature Card */
.feature-card.feature-card-empty {
  background: rgba(248, 250, 252, 0.7);
  border: 1.5px dashed rgba(203, 213, 225, 0.95);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 280px;
  padding: 32px 24px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card.feature-card-empty:hover {
  background: #ffffff;
  border-color: rgba(67, 97, 238, 0.45);
  box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.06);
  transform: translateY(-3px);
}

.feature-card-empty .feature-empty-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 14px;
  transition: all 0.25s ease;
}

.feature-card.feature-card-empty:hover .feature-empty-icon {
  border-color: var(--dealx-blue);
  color: var(--dealx-blue);
  background: rgba(67, 97, 238, 0.08);
}

/* ==========================================================================
   Mini Kanban Board Component (Inside Feature Card 2)
   Recreates CRM Kanban Columns: New Lead, Negotiation, Won
   ========================================================================== */
.mini-kanban-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  flex: 1;
  height: 100%;
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .mini-kanban-board {
    gap: 5px;
    height: auto !important;
    min-height: 200px !important;
  }
  .mini-kanban-col {
    padding: 6px 4px !important;
    height: auto !important;
    min-height: 195px !important;
    max-height: none !important;
    border-radius: 8px !important;
  }
  .mini-kanban-col-header {
    margin-bottom: 5px !important;
    padding: 0 1px !important;
  }
  .mini-kanban-col-title {
    font-size: 0.64rem !important;
    letter-spacing: -0.02em !important;
  }
  .mini-kanban-col-title i {
    font-size: 0.58rem !important;
    margin-right: 2px !important;
  }
  .mini-lead-card {
    padding: 6px 5px !important;
    margin-bottom: 5px !important;
    border-radius: 6px !important;
  }
  .mini-status-pill {
    font-size: 0.50rem !important;
    padding: 1px 3px !important;
    line-height: 1.2 !important;
    border-radius: 4px !important;
  }
  .mini-stage-text {
    font-size: 0.58rem !important;
    line-height: 1.2 !important;
    margin-top: 3px !important;
  }
  .mini-card-sub {
    font-size: 0.50rem !important;
    margin-top: 2px !important;
  }
  .mini-card-sub i {
    font-size: 0.48rem !important;
    margin-right: 2px !important;
  }
  .mini-kanban-cards-wrapper {
    height: 175px !important;
    max-height: 175px !important;
  }
}

@media (max-width: 420px) {
  .mini-kanban-board {
    gap: 3px !important;
  }
  .mini-kanban-col {
    padding: 4px 2px !important;
  }
  .mini-kanban-col-title {
    font-size: 0.55rem !important;
  }
  .mini-lead-card {
    padding: 4px 3px !important;
    margin-bottom: 4px !important;
  }
  .mini-status-pill {
    font-size: 0.46rem !important;
    padding: 1px 2px !important;
  }
  .mini-stage-text {
    font-size: 0.52rem !important;
  }
  .mini-card-sub {
    font-size: 0.45rem !important;
  }
}

/* .mini-kanban-col.col-new-lead {
  border-top: 2.5px solid #3b82f6;
}

.mini-kanban-col.col-negotiation {
  border-top: 2.5px solid #f59e0b;
}

.mini-kanban-col.col-won {
  border-top: 2.5px solid #10b981;
} */

.mini-kanban-col-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding: 0 2px;
  flex-shrink: 0;
}

.mini-kanban-col-title {
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: -0.01em;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
}

.mini-kanban-col-count {
  font-size: 0.60rem;
  color: #94a3b8;
  font-family: var(--dealx-font-mono);
  font-weight: 600;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 0 4px;
  line-height: 1.3;
}

.mini-lead-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 9px 10px;
  margin-bottom: 8px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.35s ease, max-height 0.35s ease, min-height 0.35s ease, margin 0.35s ease, padding 0.35s ease;
  flex-shrink: 0;
  max-height: 100px;
  overflow: hidden;
}

@media (max-width: 576px) {
  .mini-lead-card {
    padding: 6px 7px;
    margin-bottom: 6px;
  }
}

.mini-lead-card:last-child {
  margin-bottom: 0;
}

.mini-lead-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px -2px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.mini-lead-card.card-new-lead {
  border-left: 2.5px solid #3b82f6;
}

.mini-lead-card.card-negotiation {
  border-left: 2.5px solid #f59e0b;
}

.mini-lead-card.card-won {
  border-left: 2.5px solid #10b981;
}

.mini-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.60rem;
  font-weight: 700;
  border-radius: 5px;
  padding: 2px 6px;
  line-height: 1.3;
}

.mini-status-pill.pill-blue {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #dbeafe;
}

.mini-status-pill.pill-amber {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fef3c7;
}

.mini-status-pill.pill-green {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #d1fae5;
}

.mini-stage-text {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 4px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-card-sub {
  font-size: 0.62rem;
  color: #64748b;
  margin-top: 3px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Vertical Scroll / Y-Flow: allows clean scrolling when a column receives a 3rd lead without breaking outer height */
.mini-kanban-cards-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 185px;
  max-height: 185px;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  padding-right: 2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(203, 213, 225, 0.5) transparent;
  scroll-behavior: smooth;
}

.mini-kanban-cards-wrapper::-webkit-scrollbar {
  width: 3.5px;
}

.mini-kanban-cards-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.mini-kanban-cards-wrapper::-webkit-scrollbar-thumb {
  background: rgba(203, 213, 225, 0.6);
  border-radius: 4px;
}

.mini-kanban-cards-wrapper::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.85);
}

/* ==========================================================================
   Mini Kanban Card Animation States
   GPU-Accelerated Floating Flyer, In-Place Ghost & Fluid Collapse
   ========================================================================== */
.mini-lead-card.is-floating-flyer {
  position: absolute !important;
  z-index: 999 !important;
  box-shadow: 0 16px 32px -4px rgba(15, 23, 42, 0.22), 0 6px 12px -2px rgba(15, 23, 42, 0.12) !important;
  border-color: #3b82f6 !important;
  pointer-events: none !important;
  margin: 0 !important;
  transition: transform 0.70s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease !important;
  will-change: transform;
}

.mini-lead-card.is-ghost {
  border: 1.5px dashed #93c5fd !important;
  background: rgba(239, 246, 255, 0.45) !important;
  opacity: 0.55 !important;
  box-shadow: none !important;
}

.mini-lead-card.card-won.is-ghost {
  border-color: #6ee7b7 !important;
  background: rgba(236, 253, 245, 0.45) !important;
}

.mini-lead-card.is-collapsing {
  opacity: 0 !important;
  max-height: 0 !important;
  min-height: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-width: 0 !important;
  overflow: hidden !important;
  transition: opacity 0.35s ease, max-height 0.35s ease, min-height 0.35s ease, margin 0.35s ease, padding 0.35s ease !important;
}

.mini-kanban-col.is-drop-target {
  outline: 1.5px dashed #3b82f6 !important;
  outline-offset: -2px;
  background: rgba(239, 246, 255, 0.55) !important;
  transition: all 0.25s ease;
}

.mini-kanban-col.col-won.is-drop-target {
  outline: 1.5px dashed #10b981 !important;
  background: rgba(236, 253, 245, 0.55) !important;
}

.mini-lead-card.is-sliding-in {
  animation: miniLeadSlideIn 0.40s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes miniLeadSlideIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.ecosystem-canvas {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 24px;
  padding: 32px;
  box-shadow:
    0 16px 40px -10px rgba(15, 23, 42, 0.05),
    0 4px 12px -2px rgba(15, 23, 42, 0.02);
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .ecosystem-canvas {
    padding: 18px;
    border-radius: 18px;
  }
}

.ecosystem-topbar {
  padding-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 28px;
}

.btn-eco-filter {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-eco-filter:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
}

.btn-eco-filter.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: 1fr 44px 1.25fr 44px 1fr;
  align-items: center;
  gap: 12px;
}

@media (max-width: 1199px) {
  .ecosystem-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.ecosystem-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-tag {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  display: inline-block;
}

.ecosystem-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 16px;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.ecosystem-card:hover,
.ecosystem-card.highlighted {
  border-color: var(--dealx-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -4px rgba(67, 97, 238, 0.12);
}

.ecosystem-card.dimmed {
  opacity: 0.35;
  filter: grayscale(0.5);
}

.eco-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ecosystem-hub-card {
  background: #ffffff;
  border: 2px solid rgba(67, 97, 238, 0.35);
  border-radius: 18px;
  padding: 24px;
  box-shadow:
    0 12px 32px -4px rgba(67, 97, 238, 0.08),
    0 0 0 1px rgba(67, 97, 238, 0.1);
  position: relative;
}

.hub-feature-item {
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px dashed #e2e8f0;
  transition: all 0.2s ease;
}

.hub-feature-item.highlighted {
  background: rgba(67, 97, 238, 0.04);
  border-radius: 8px;
  padding: 8px;
}

.hub-feature-item.dimmed {
  opacity: 0.35;
}

.ecosystem-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.connector-line {
  width: 100%;
  height: 2px;
  background: #e2e8f0;
  position: relative;
  overflow: hidden;
}

.connector-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 100%;
  background: var(--dealx-blue);
  animation: connectorFlow 1.8s ease-in-out infinite;
}

@keyframes connectorFlow {
  0% {
    left: -24px;
  }
  100% {
    left: 100%;
  }
}

.connector-arrow {
  color: var(--dealx-blue);
  font-size: 1.1rem;
  margin-left: -6px;
}

/* Kanban Pipeline macOS Window Container */
.kanban-mac-frame {
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow:
    0 16px 40px -10px rgba(15, 23, 42, 0.07),
    0 4px 12px -2px rgba(15, 23, 42, 0.03),
    0 0 0 1px rgba(15, 23, 42, 0.04);
}

.kanban-frame-body {
  background: #f8fafc;
  padding: 20px;
}

@media (max-width: 768px) {
  .kanban-frame-body {
    padding: 12px;
  }
}

/* Kanban Pipeline Board */
.kanban-board-wrapper {
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.kanban-board {
  display: flex;
  gap: 16px;
  min-width: 820px;
}

@media (min-width: 992px) {
  .kanban-board {
    min-width: 100%;
  }
}

.kanban-col {
  flex: 1;
  min-width: 200px;
  background: #ffffff;
  border-radius: 12px;
  padding: 14px;
  border: 1px solid #e9eef5;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kanban-col#kanbanColWon {
  background: #fbfdfb;
  border-color: #d1fae5;
}

.kanban-col-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.82rem;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
  color: var(--dealx-text-main);
}

.kanban-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.kanban-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -4px rgba(15, 23, 42, 0.08);
  border-color: rgba(67, 97, 238, 0.35);
}

.kanban-card.won-highlight {
  border: 1.5px solid var(--dealx-emerald) !important;
  background: #f0fdf4 !important;
  animation: wonGlow 1.5s ease infinite alternate;
}

@keyframes wonGlow {
  0% {
    box-shadow: 0 0 6px rgba(16, 184, 128, 0.25);
  }
  100% {
    box-shadow: 0 0 16px rgba(16, 184, 128, 0.55);
  }
}

/* Won Deal Status Badge & Contrast Guarantee */
.badge-deal-won {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 600;
  background-color: #ecfdf5 !important;
  color: #047857 !important;
  border: 1px solid #a7f3d0 !important;
  line-height: 1.35;
}

.badge-deal-won i {
  color: #059669 !important;
  font-size: 0.75rem;
}

/* Global Subtle Badge High-Contrast Overrides */
.badge.bg-success.text-success,
.badge.bg-success.bg-opacity-20,
.badge.bg-success.bg-opacity-10 {
  background-color: #ecfdf5 !important;
  color: #047857 !important;
  border: 1px solid #a7f3d0 !important;
}

.badge.bg-primary.text-primary,
.badge.bg-primary.bg-opacity-20,
.badge.bg-primary.bg-opacity-10 {
  background-color: #eef2ff !important;
  color: #1d4ed8 !important;
  border: 1px solid #c7d2fe !important;
}

.badge.bg-warning.text-warning-emphasis,
.badge.bg-warning.bg-opacity-20,
.badge.bg-warning.bg-opacity-10 {
  background-color: #fef3c7 !important;
  color: #92400e !important;
  border: 1px solid #fde68a !important;
}

.badge.bg-info.text-info,
.badge.bg-info.bg-opacity-20,
.badge.bg-info.bg-opacity-10 {
  background-color: #f0f9ff !important;
  color: #0284c7 !important;
  border: 1px solid #bae6fd !important;
}

/* Role Matrix & Tags */
.role-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.role-badge-admin {
  background: #eef2ff;
  color: #4361ee;
}
.role-badge-manager {
  background: #fef3c7;
  color: #d97706;
}
.role-badge-exec {
  background: #ecfdf5;
  color: #059669;
}
.role-badge-viewer {
  background: #f1f5f9;
  color: #64748b;
}

/* Progress Rings */
.circle-progress-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto;
}

.circle-progress-svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.circle-progress-bg {
  stroke: rgba(226, 232, 240, 0.8);
}

.circle-progress-bar {
  stroke: var(--dealx-blue);
  stroke-linecap: round;
  transition: stroke-dashoffset 1.5s ease;
}

.circle-progress-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

/* Accordion CleanShot Style */
.accordion-dealx .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--dealx-border);
  margin-bottom: 8px;
}

.accordion-dealx .accordion-button {
  background: transparent;
  padding: 20px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dealx-text-main);
  box-shadow: none;
}

.accordion-dealx .accordion-button:not(.collapsed) {
  color: var(--dealx-blue);
  background: transparent;
}

.accordion-dealx .accordion-body {
  padding: 0 0 24px 0;
  color: var(--dealx-text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* ==========================================================================
   Google reCAPTCHA v3 Badge
   Completely hide the floating badge UI from view (verification stays active)
   ========================================================================== */
.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 0 !important;
  height: 0 !important;
}

/* Modal Dialog Guidance Compliance */
dialog.dealx-dialog {
  border: none;
  border-radius: 24px;
  padding: 0;
  background: #ffffff;
  max-width: 600px;
  width: 92%;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
  overscroll-behavior: contain;
}

dialog.dealx-dialog::backdrop {
  background: rgba(8, 8, 12, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  overscroll-behavior: contain;
}

/* Form Styles */
.dealx-form-label {
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--dealx-text-main);
}

.dealx-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #f8f9fc;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--dealx-text-main);
  transition: all 0.2s ease;
}

.dealx-input:focus {
  outline: none;
  border-color: var(--dealx-blue);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.15);
}

/* Responsive Overrides */
@media (max-width: 991px) {
  .dealx-nav-links {
    display: none;
  }
  .badge-pos-1,
  .badge-pos-2,
  .badge-pos-3 {
    position: static;
    display: inline-flex;
    margin: 4px;
    animation: none;
  }
  .hero-floating-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
  }
}

@media (max-width: 576px) {
  .dealx-navbar {
    padding: 7px 12px;
  }
  .dealx-brand-logo {
    height: 27px;
    width: auto;
  }
  .btn-dealx-primary,
  .btn-dealx-blue,
  .btn-dealx-ghost {
    padding: 7px 13px;
    font-size: 0.82rem;
  }
  .dealx-menu-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
  }
  .hamburger-box {
    width: 15px;
    height: 11px;
  }
}

/* ==========================================================================
   Bento Grid Feature Skeletons (Pain Points Section)
   ========================================================================== */
.cs-bento-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow:
    0 9px 26px -6px rgba(22, 22, 24, 0.04),
    0 29px 47px -4px rgba(22, 22, 24, 0.05),
    0 0 0 1px rgba(22, 22, 24, 0.05);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.cs-bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(67, 97, 238, 0.35);
  box-shadow:
    0 20px 42px -8px rgba(15, 23, 42, 0.09),
    0 32px 56px -4px rgba(15, 23, 42, 0.06),
    0 0 0 1px rgba(67, 97, 238, 0.15);
}

.bento-preview-frame {
  margin: 16px 16px 0 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.bento-screen-mockup-right {
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-bottom: none;
  border-right: none;
  border-top-left-radius: 16px;
  box-shadow: -8px -8px 24px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  margin-left: auto;
  margin-bottom: 0 !important;
  align-self: flex-end;
}

.cs-bento-card .bento-screen-mockup-right {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.cs-bento-card .preview-frame-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 991.98px) {
  .cs-bento-card {
    border-radius: 20px;
  }
  .bento-screen-mockup-right {
    border-right: 1px solid #e2e8f0;
    border-top-right-radius: 16px;
    margin: 16px 16px 0 16px;
    width: auto;
    max-width: calc(100% - 32px);
  }
}

@media (max-width: 767.98px) {
  .cs-bento-card {
    border-radius: 16px;
  }
  .bento-screen-mockup-right {
    margin: 12px 12px 0 12px;
    max-width: calc(100% - 24px);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
  }
  .preview-frame-header {
    padding: 7px 10px;
  }
  .preview-frame-header .traffic-dots {
    gap: 4px;
  }
  .preview-frame-header .traffic-dot {
    width: 7px;
    height: 7px;
  }
  .preview-frame-title {
    font-size: 0.66rem;
  }
}

@media (max-width: 480px) {
  .bento-screen-mockup-right {
    margin: 8px 8px 0 8px;
    max-width: calc(100% - 16px);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }
  .preview-frame-header {
    padding: 6px 8px;
  }
  .preview-frame-title {
    font-size: 0.60rem;
  }
}

.preview-frame-header {
  background: #f1f5f9;
  padding: 8px 14px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.preview-frame-header .traffic-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.preview-frame-header .traffic-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.preview-frame-title {
  color: #334155;
  font-size: 0.72rem;
  font-weight: 500;
}

.traffic-dot.subdued {
  background: #cbd5e1;
}

.preview-frame-body {
  background: #ffffff;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.excel-sheet-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 6px 12px;
  font-size: 0.68rem;
  margin-top: auto;
  white-space: nowrap;
}

.sheet-tab {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 500;
  color: #334155;
  font-size: 0.67rem;
  display: inline-flex;
  align-items: center;
}

.sheet-tab.active {
  border-color: #cbd5e1;
  font-weight: 600;
  background: #f1f5f9;
}

.bento-content-stage {
  padding: 22px 24px 24px 24px;
  background: #ffffff;
}

.editorial-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.source-tag {
  font-size: 0.65rem;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 4px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  display: inline-block;
  line-height: 1.3;
}

.mini-sheet-table {
  font-size: 0.71rem;
}

.mini-sheet-row {
  display: grid;
  grid-template-columns: 20px 72px 145px 90px 1fr;
  gap: 8px;
  padding: 6px 8px;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s ease;
}

.mini-sheet-row:hover {
  background: #f8fafc;
}

.mini-sheet-row.header {
  font-weight: 600;
  color: #64748b;
  background: #f8fafc;
  text-transform: uppercase;
  font-size: 0.65rem;
  letter-spacing: 0.03em;
  border-bottom: 1px solid #e2e8f0;
}

/* Linear / Raycast Style Activity Queue */
.mini-timeline-list {
  padding: 4px 6px;
}

.timeline-item {
  padding: 8px 0;
  position: relative;
}

.timeline-item:not(:last-child) {
  border-bottom: 1px dashed #e2e8f0;
}

.timeline-content {
  flex: 1;
}

/* Quotation Structured Table */
.mini-proposal-table {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.mini-proposal-row {
  display: grid;
  grid-template-columns: 1fr 90px 75px 90px;
  gap: 8px;
  padding: 8px 12px;
  font-size: 0.74rem;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
}

.mini-proposal-row.header {
  background: #f8fafc;
  font-weight: 600;
  color: #64748b;
  font-size: 0.65rem;
  text-transform: uppercase;
  border-bottom: 1px solid #e2e8f0;
}

.mini-proposal-row.subtotal {
  background: #f8fafc;
  border-bottom: none;
  border-top: 1px solid #e2e8f0;
}

.approval-progress-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 12px;
}

.approval-step {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
}

.step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 600;
  background: #e2e8f0;
  color: #475569;
}

.approval-step.completed .step-num {
  background: #0f172a;
  color: #ffffff;
}

@media (max-width: 767.98px) {
  .bento-preview-frame {
    margin: 12px 12px 0 12px;
  }
  .mini-sheet-row {
    grid-template-columns: 18px 56px minmax(75px, 1fr) auto;
    gap: 6px;
    padding: 5px 6px;
    font-size: 0.66rem;
  }
  .mini-sheet-row .col-phone {
    display: none;
  }
  .mini-sheet-row .source-tag {
    font-size: 0.58rem;
    padding: 1px 4px;
  }
  .mini-sheet-row .col-status {
    font-size: 0.60rem;
    text-align: right;
  }
  .mini-proposal-row {
    grid-template-columns: minmax(90px, 1fr) 55px 70px;
    gap: 6px;
    padding: 6px 8px;
    font-size: 0.68rem;
  }
  .mini-proposal-row > div:nth-child(3) {
    display: none; /* Hide Rate column on tablet/mobile */
  }
  .approval-progress-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 6px 6px;
    margin-bottom: 8px;
  }
  .approval-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3px;
  }
  .approval-step .step-num {
    width: 16px;
    height: 16px;
    font-size: 0.52rem;
  }
  .approval-step .step-label {
    font-size: 0.54rem;
    line-height: 1.15;
  }
}

@media (max-width: 575.98px) {
  .mini-sheet-table {
    padding: 4px !important;
  }
  .mini-sheet-row {
    grid-template-columns: 14px 48px minmax(65px, 1fr) auto !important;
    gap: 4px !important;
    padding: 4px 4px !important;
    font-size: 0.60rem !important;
  }
  .mini-sheet-row .source-tag {
    font-size: 0.52rem !important;
    padding: 1px 3px !important;
  }
  .mini-sheet-row .col-contact {
    font-size: 0.60rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mini-sheet-row .col-status {
    font-size: 0.54rem !important;
    line-height: 1.2 !important;
  }
  .excel-sheet-footer {
    padding: 4px 8px !important;
    white-space: nowrap !important;
    gap: 6px !important;
  }
  .excel-sheet-footer .sheet-tab {
    font-size: 0.56rem !important;
    padding: 2px 4px !important;
  }
  .excel-sheet-footer .sheet-meta {
    font-size: 0.54rem !important;
    white-space: nowrap !important;
  }

  /* Proposal Table on Mobile */
  .preview-frame-body.p-3 {
    padding: 8px 10px !important;
  }
  .mini-proposal-table {
    border-radius: 6px;
    margin-bottom: 8px !important;
  }
  .mini-proposal-row {
    grid-template-columns: minmax(75px, 1fr) 48px 58px !important;
    gap: 4px !important;
    padding: 5px 6px !important;
    font-size: 0.60rem !important;
  }
  .mini-proposal-row.header {
    font-size: 0.52rem !important;
  }
  .mini-proposal-row.subtotal {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 3px !important;
    padding: 5px 6px !important;
  }
  .mini-proposal-row.subtotal > div:first-child {
    font-size: 0.58rem !important;
    flex-wrap: wrap;
    gap: 3px !important;
  }
  .mini-proposal-row.subtotal .text-danger.fw-semibold {
    font-size: 0.56rem !important;
  }
  .revenue-risk-note {
    font-size: 0.58rem !important;
    line-height: 1.35 !important;
    padding-top: 4px !important;
  }
}

/* ==========================================================================
   Product Video Showcase Section (See DealX in Motion)
   ========================================================================== */
.video-mac-window {
  max-width: 1140px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow:
    0 10px 30px -5px rgba(15, 23, 42, 0.06),
    0 25px 50px -12px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.video-mac-header {
  background: #f8fafc;
  padding: 10px 16px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.video-mac-title {
  font-size: 0.76rem;
  letter-spacing: 0.02em;
}

.video-mac-body {
  background: #000000;
  position: relative;
  overflow: hidden;
}

.video-mac-body video {
  width: 100%;
  height: auto;
  display: block;
  background: #000000;
}

/* ==========================================================================
   Contact Form & Live Demo Section Styles
   ========================================================================== */
@keyframes inputGlowPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.4);
    border-color: var(--dealx-blue);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(67, 97, 238, 0.2);
    border-color: var(--dealx-blue);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(67, 97, 238, 0);
  }
}

.input-highlight-pulse {
  animation: inputGlowPulse 1.2s ease;
}

/* Contact Section Card Refinements */
.contact-info-card {
  background-color: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 16px !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-info-card:hover {
  border-color: #cbd5e1;
  background-color: #ffffff;
  box-shadow: 0 6px 18px -4px rgba(15, 23, 42, 0.05);
  transform: translateY(-2px);
}

.contact-form-input {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.95rem;
  background-color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-input:focus {
  border-color: var(--dealx-blue);
  box-shadow: 0 0 0 3.5px rgba(67, 97, 238, 0.12);
  outline: none;
}

/* Responsive Contact Channels (< 520px: stack subcards horizontally identical to phone support card) */
@media (max-width: 520px) {
  .contact-phone-card,
  .contact-subcard-item {
    padding: 14px 18px !important;
    gap: 16px !important;
  }

  .contact-phone-card a {
    font-size: 1rem !important;
  }

  .contact-subcard-col {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .contact-subcard-item {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: auto !important;
  }

  .contact-subcard-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
  }

  .contact-subcard-icon i {
    font-size: 1.15rem !important;
  }

  .contact-subcard-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
  }

  .contact-subcard-label {
    font-size: 0.70rem !important;
    margin-bottom: 2px !important;
    letter-spacing: 0.05em !important;
  }

  .contact-subcard-value {
    font-size: 1rem !important;
    line-height: 1.35 !important;
  }
}

/* ==========================================================================
   Quotation Screen Card Mockup (Faithful DealX CRM Viewport Reconstruction)
   ========================================================================== */
@media (min-width: 992px) {
  #quotations .col-lg-7 {
    position: relative;
    min-height: 100%;
  }

  #quotations .quote-mockup-frame {
    position: absolute;
    top: 2rem; /* matches pt-lg-5 */
    bottom: 0;
    left: 0;
    right: 0;
    width: 100% !important;
    height: calc(100% - 2rem) !important;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  #quotations .quote-mockup-viewport {
    flex: 1;
    overflow: hidden !important;
    position: relative;
  }
}

@media (max-width: 991px) {
  #quotations .col-lg-7 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #quotations .quote-mockup-frame {
    height: auto !important;
    min-height: 380px !important;
    max-height: none !important;
    margin: 16px 16px 0 16px !important;
    max-width: calc(100% - 32px) !important;
    width: auto !important;
    border-right: 1px solid #e2e8f0 !important;
    border-top-right-radius: 16px !important;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  #quotations .quote-mockup-viewport {
    flex: 1;
    overflow: hidden !important;
    position: relative;
  }
}

.quote-mockup-viewport {
  background: #f1f4f9 !important;
  position: relative;
  overflow: hidden;
}

.quote-screen-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.7);
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quote-screen-card:hover {
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.07);
}

.quote-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.quote-code-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: -0.01em;
}

.quote-badge-accepted {
  background: #ecfdf5;
  color: #10b981;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 9999px;
  padding: 3px 12px;
  display: inline-flex;
  align-items: center;
}

.quote-badge-won {
  background: #eff6ff;
  color: #3b66ff;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 9999px;
  padding: 3px 12px;
  display: inline-flex;
  align-items: center;
}

.quote-amount {
  font-size: 1.25rem;
  font-weight: 700;
  color: #3b66ff;
  letter-spacing: -0.02em;
}

.quote-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.quote-meta-box {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 10px;
  padding: 8px 12px;
}

.quote-meta-label {
  font-size: 0.70rem;
  color: #8c9aa8;
  margin-bottom: 2px;
  font-weight: 500;
}

.quote-meta-val {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quote-action-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.btn-quote-refresh {
  background: #ffffff;
  color: #3b66ff !important;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  height: 38px;
  padding: 0 14px;
  font-size: 0.80rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-quote-refresh:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.btn-quote-list-view {
  background: #ffffff;
  color: #3b66ff !important;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  width: 38px;
  height: 38px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-quote-list-view:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.btn-quote-view {
  background: #3b66ff;
  color: #ffffff !important;
  border: none;
  border-radius: 8px;
  padding: 7px 15px;
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(59, 102, 255, 0.22);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-quote-view:hover {
  background: #2f54e6;
  transform: translateY(-1px);
}

.btn-quote-pdf {
  background: #eef2ff;
  color: #3b66ff !important;
  border: none;
  border-radius: 8px;
  padding: 7px 13px;
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-quote-pdf:hover {
  background: #e0e7ff;
  color: #2563eb !important;
}

.btn-quote-lead {
  background: #f1f5f9;
  color: #334155 !important;
  border: none;
  border-radius: 8px;
  padding: 7px 13px;
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-quote-lead:hover {
  background: #e2e8f0;
  color: #0f172a !important;
}

.btn-quote-edit {
  background: #e0f2fe;
  color: #0284c7 !important;
  border: none;
  border-radius: 8px;
  padding: 7px 13px;
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-quote-edit:hover {
  background: #bae6fd;
  color: #0369a1 !important;
}

.btn-quote-delete {
  background: #fef2f2;
  color: #ef4444 !important;
  border: none;
  border-radius: 8px;
  padding: 7px 13px;
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-quote-delete:hover {
  background: #fee2e2;
  color: #dc2626 !important;
}

/* Secondary clipped quotation card */
.quote-screen-card-clipped {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.7);
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
}

@media (max-width: 767.98px) {
  #quotations .quote-mockup-frame {
    margin: 12px 12px 0 12px !important;
    max-width: calc(100% - 24px) !important;
    border-radius: 14px 14px 0 0 !important;
  }
  .quote-screen-card {
    padding: 12px 14px !important;
  }
  .quote-meta-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
  }
  .quote-action-bar {
    gap: 6px !important;
  }
}

@media (max-width: 575.98px) {
  #quotations .quote-mockup-frame {
    margin: 8px 8px 0 8px !important;
    max-width: calc(100% - 16px) !important;
    border-radius: 12px 12px 0 0 !important;
  }
  .quote-mockup-viewport {
    padding: 8px 10px !important;
    gap: 8px !important;
  }
  /* Search & Controls */
  .quote-mockup-viewport input.form-control-sm {
    height: 32px !important;
    font-size: 0.65rem !important;
    padding-left: 28px !important;
    border-radius: 8px !important;
  }
  .quote-mockup-viewport .bi-search {
    font-size: 0.68rem !important;
    margin-left: 8px !important;
  }
  .quote-mockup-viewport .btn-quote-view {
    height: 32px !important;
    padding: 0 8px !important;
    font-size: 0.68rem !important;
    border-radius: 8px !important;
  }
  .quote-mockup-viewport .btn-quote-list-view {
    height: 32px !important;
    width: 32px !important;
    border-radius: 8px !important;
    font-size: 0.68rem !important;
    padding: 0 !important;
  }
  .quote-mockup-viewport .btn-quote-refresh {
    height: 32px !important;
    padding: 0 10px !important;
    font-size: 0.68rem !important;
    border-radius: 8px !important;
    gap: 4px !important;
    width: auto !important;
  }
  /* Quotation Card */
  .quote-screen-card {
    padding: 10px 12px !important;
    border-radius: 12px !important;
  }
  .quote-card-header {
    margin-bottom: 8px !important;
  }
  .quote-code-title {
    font-size: 0.72rem !important;
  }
  .quote-badge-accepted {
    font-size: 0.54rem !important;
    padding: 1px 6px !important;
  }
  .quote-amount {
    font-size: 0.80rem !important;
  }
  .quote-meta-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 4px !important;
    margin-bottom: 4px !important;
  }
  .quote-meta-box {
    padding: 4px 6px !important;
    border-radius: 6px !important;
  }
  .quote-meta-label {
    font-size: 0.50rem !important;
    line-height: 1.2 !important;
    margin-bottom: 1px !important;
  }
  .quote-meta-val {
    font-size: 0.58rem !important;
    line-height: 1.2 !important;
  }
  .quote-action-bar {
    gap: 4px !important;
    margin-top: 6px !important;
  }
  .quote-action-bar button {
    font-size: 0.58rem !important;
    padding: 3px 6px !important;
    border-radius: 6px !important;
  }
  .quote-action-bar button i {
    font-size: 0.58rem !important;
  }
  .quote-screen-card-clipped {
    padding: 8px 10px !important;
    border-radius: 10px !important;
  }
}

/* ==========================================================================
   Minimalist Dark Footer & Floating Quick Action Stack
   ========================================================================== */
.dealx-footer {
  background-color: #08080c !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col-heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 1.6;
  transition: color 0.2s ease, transform 0.2s ease;
  display: block;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.08) !important;
  opacity: 1;
}

/* Floating Utilities: Back to Top & WhatsApp (Identical 42px Diameter) */
.back-to-top {
  position: fixed;
  bottom: 74px;
  right: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99999;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #ffffff;
  border-color: #1366d9;
  color: #1366d9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.2);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

.whatsapp-widget {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 99999;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.whatsapp-widget:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
  color: #ffffff;
}

.whatsapp-widget svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.whatsapp-badge {
  position: absolute;
  right: 52px;
  background: #0f172a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(6px);
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.whatsapp-widget:hover .whatsapp-badge,
.whatsapp-widget:focus-visible .whatsapp-badge {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 580px) {
  .whatsapp-widget {
    bottom: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
  }
  .whatsapp-widget svg {
    width: 18px;
    height: 18px;
  }
  .back-to-top {
    bottom: 62px;
    right: 16px;
    width: 38px;
    height: 38px;
  }
  .back-to-top svg {
    width: 16px;
    height: 16px;
  }
  .whatsapp-badge {
    display: none;
  }
}


