:root {
  --red: #e63d4d;
  --red2: #ff6975;
  --blue: #2f78bc;
  --blue-soft: #edf5ff;
  --ink: #17191d;
  --muted: #737985;
  --line: #e7e9ed;
  --bg: #f7f8fa;
  --white: #fff;
  --shadow: 0 25px 70px rgba(28, 35, 48, 0.10), 0 4px 16px rgba(28, 35, 48, 0.05);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

.wrap {
  width: min(1240px, calc(100% - 40px));
  margin: auto;
}

.glass {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.nav {
  position: fixed;
  z-index: 100;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1220px, calc(100% - 28px));
  height: 78px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  padding: 0 16px 0 22px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 45px rgba(30, 38, 55, 0.09);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brandmark {
  display: none;
}

.navlinks {
  display: flex;
  gap: 32px;
  margin-left: auto;
  margin-right: 30px;
  color: #475569;
  font-size: 15px;
  font-weight: 700;
}

.navlinks a {
  text-decoration: none;
  color: #475569;
  transition: color 0.2s ease;
  position: relative;
  padding: 4px 0;
}

.navlinks a:hover,
.navlinks a.active-nav-link {
  color: #e53935;
}

.navlinks a.active-nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #e53935;
  border-radius: 2px;
}

/* Legal dropdown in the navbar */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  padding: 4px 0;
  font: inherit;
  color: #475569;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

.nav-dropdown-caret {
  font-size: 11px;
  margin-left: 2px;
}

.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown:focus-within .nav-dropdown-toggle,
.nav-dropdown-toggle.active-nav-link {
  color: #e53935;
}

.nav-dropdown-toggle.active-nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #e53935;
  border-radius: 2px;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  right: -16px;
  margin-top: 14px;
  min-width: 200px;
  padding: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

/* Invisible bridge so the menu doesn't close while the pointer crosses the gap */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navlinks .nav-dropdown-menu a {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
}

.navlinks .nav-dropdown-menu a:hover,
.navlinks .nav-dropdown-menu a.active {
  background: #fef2f2;
  color: #dc2626;
}

.navbtn {
  padding: 13px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e53935, #c62828);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(229, 57, 53, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.navbtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(229, 57, 53, 0.35);
}

.navbtn:hover {
  opacity: 0.9;
}

.hero {
  padding: 160px 0 40px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(229, 57, 53, 0.25);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  padding: 8px 16px;
  border-radius: 100px;
  color: #d32f2f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(229, 57, 53, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eyebrow:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 25px rgba(229, 57, 53, 0.15);
}

.pulsing-dot {
  width: 7px;
  height: 7px;
  background: #e53935;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.6);
  animation: pulseDot 2s infinite;
  display: inline-block;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(229, 57, 53, 0); }
  100% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0); }
}

.hero-heading {
  font-size: clamp(52px, 7.2vw, 92px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.055em;
  color: #0f172a;
  margin: 24px auto 22px;
  max-width: 980px;
  text-wrap: balance;
}

.lead-highlight {
  position: relative;
  display: inline-block;
  color: #0f172a;
  padding: 0 14px;
  z-index: 1;
}

.lead-highlight::before {
  content: '';
  position: absolute;
  inset: 6% 0;
  background: linear-gradient(135deg, rgba(229, 57, 53, 0.1), rgba(255, 64, 129, 0.16));
  border: 1.5px solid rgba(229, 57, 53, 0.22);
  border-radius: 100px;
  z-index: -1;
  transform: rotate(-1.5deg);
  box-shadow: 0 4px 18px rgba(229, 57, 53, 0.1);
}

.grad-headline {
  background: linear-gradient(110deg, #d32f2f 0%, #ff4081 40%, #7b1fa2 85%, #d32f2f 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  position: relative;
  filter: drop-shadow(0 6px 24px rgba(229, 57, 53, 0.2));
  animation: shineGradient 7s linear infinite;
}

@keyframes shineGradient {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

.hero-subtext {
  max-width: 720px;
  margin: auto;
  color: #64748b;
  font-size: 18px;
  line-height: 1.7;
  font-weight: 450;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 15px;
}

.btn {
  padding: 13px 19px;
  border-radius: 13px;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.primary {
  background: #17191d;
  color: #fff;
  box-shadow: 0 12px 25px rgba(20, 24, 30, 0.15);
}

.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
}

.hero-note {
  font-size: 11px !important;
  color: #9298a2 !important;
}

/* Responsiveness toggles for Hero section */
.mobile-only {
  display: none !important;
}
.desktop-only {
  display: block !important;
}

/* Dashboard Replica Styles matching Screenshot */
.dashboard-frame {
  margin: 50px auto 0;
  max-width: 1180px;
  padding: 14px;
  border-radius: 28px;
  text-align: left;
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.75));
  box-shadow:
    0 40px 100px rgba(15, 23, 42, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.85);
}

.dashboard {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 640px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
  position: relative;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.dashboard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #e53935, #ff4081, #e53935);
  z-index: 3;
}

/* Sidebar */
.sidebar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-right: 1px solid rgba(241, 245, 249, 0.9);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
}

.side-brand-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 6px 18px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 14px;
}

.brand-logo-box {
  width: 32px;
  height: 32px;
  background: linear-gradient(145deg, #f24c5a, #c72539);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  box-shadow: 0 6px 16px rgba(229, 57, 53, 0.3);
}

.brand-text strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
  letter-spacing: -0.02em;
}

.brand-text small {
  display: block;
  font-size: 8px;
  color: #94a3b8;
  letter-spacing: 0.1em;
  margin-top: 3px;
  font-weight: 700;
}

.side-close-btn {
  margin-left: auto;
  background: none;
  border: none;
  color: #cbd5e1;
  font-size: 12px;
  cursor: pointer;
}

.sidebar-group {
  margin-bottom: 16px;
}

.group-title {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #94a3b8;
  padding: 4px 8px;
  margin-bottom: 4px;
}

.side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 3px;
}

.side-link:hover {
  background: #f8fafc;
  color: #0f172a;
  transform: translateX(2px);
}

.side-link.active {
  background: linear-gradient(135deg, #fff1f2, #ffe4e6);
  color: #e53935;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(229, 57, 53, 0.1);
}

.side-link.active .link-icon {
  color: #e53935;
}

.link-icon {
  display: flex;
  align-items: center;
  color: #94a3b8;
}

.link-label {
  flex: 1;
}

.link-arrow {
  font-size: 10px;
  color: #cbd5e1;
}

/* Dashboard Main Area */
.dashboard-main {
  background: transparent;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Topbar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(241, 245, 249, 0.9);
}

.search-wrap {
  position: relative;
  width: 340px;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}

.search-input {
  width: 100%;
  height: 36px;
  padding: 0 14px 0 38px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 11px;
  color: #334155;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input:focus {
  outline: none;
  border-color: rgba(229, 57, 53, 0.35);
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.08);
}

.search-input::placeholder {
  color: #94a3b8;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-badge-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease;
}

.icon-badge-btn:hover {
  transform: translateY(-1px);
}

.badge-count {
  position: absolute;
  top: -5px;
  right: -6px;
  background: linear-gradient(135deg, #e53935, #ff5252);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 10px;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(229, 57, 53, 0.35);
}

.pill-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.admin-profile {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 6px;
}

.avatar-wrap {
  position: relative;
}

.avatar {
  width: 28px;
  height: 28px;
  background: #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
}

.online-dot {
  position: absolute;
  top: 0;
  right: 0;
  width: 7px;
  height: 7px;
  background: #4caf50;
  border: 1.5px solid #fff;
  border-radius: 50%;
}

.admin-info strong {
  display: block;
  font-size: 11px;
  color: #1e293b;
  line-height: 1.1;
}

.admin-info small {
  display: block;
  font-size: 9px;
  color: #94a3b8;
}

/* Overview Header */
.overview-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 2px;
}

.overview-header h2 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
  letter-spacing: -0.03em;
}

.overview-header p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

.overview-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-date-filter {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease;
}

.btn-date-filter:hover {
  transform: translateY(-1px);
}

.btn-new-lead {
  padding: 8px 16px;
  background: linear-gradient(135deg, #e53935 0%, #ff5252 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(229, 57, 53, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-new-lead:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.4);
}

/* Row 1: 5 Metric Cards */
.metrics-row-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.metric-card {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 102px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.09);
}

.metric-card.red-theme {
  border-color: rgba(252, 165, 165, 0.6);
  background: linear-gradient(145deg, #fff, #fff5f5);
  box-shadow: 0 4px 18px rgba(229, 57, 53, 0.08);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.m-icon-box {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.m-icon-box.pink {
  background: linear-gradient(145deg, #fff1f2, #ffe4e6);
}

.m-icon-box.gray {
  background: linear-gradient(145deg, #f8fafc, #f1f5f9);
}

.m-icon-box.relative {
  position: relative;
}

.red-dot-badge {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 5px;
  height: 5px;
  background: #e53935;
  border-radius: 50%;
}

.warning-tri {
  position: absolute;
  top: -2px;
  right: -2px;
}

.m-label {
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.m-label.red-text {
  color: #e53935;
}

.m-value {
  font-size: 21px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 3px;
  font-variant-numeric: tabular-nums;
}

.m-value.red-text {
  color: #e53935;
}

.m-sub {
  font-size: 9px;
  color: #64748b;
}

.m-sub.red-italic {
  color: #e53935;
  font-style: italic;
}

.m-sub.red-text {
  color: #e53935;
}

.red-bold {
  color: #e53935;
  font-weight: 700;
}

/* Gauge Meter Card */
.gauge-card {
  padding: 8px 10px;
  align-items: center;
  justify-content: center;
}

.gauge-svg-wrap {
  position: relative;
  width: 100%;
  max-width: 90px;
  margin: auto;
}

.gauge-svg {
  width: 100%;
  height: auto;
  display: block;
}

.gauge-center-text {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.gauge-val {
  display: block;
  font-size: 12px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
}

.gauge-sub {
  display: block;
  font-size: 7px;
  color: #94a3b8;
  margin-top: 1px;
}

.gauge-footer-sub {
  font-size: 8px;
  color: #64748b;
  text-align: center;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.red-dot {
  width: 5px;
  height: 5px;
  background: #e53935;
  border-radius: 50%;
  display: inline-block;
}

/* Row 2: 3 Financial Metrics */
.metrics-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.fin-card {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fin-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.07);
}

.fin-label {
  display: block;
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.fin-value {
  font-size: 19px;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 1px;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.fin-sub {
  font-size: 8.5px;
  color: #94a3b8;
}

/* Lower 2 Columns Grid */
.dashboard-grid-2col {
  display: grid;
  grid-template-columns: 36% 64%;
  gap: 10px;
}

.panel-box {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.panel-header h3 {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.02em;
}

.panel-header small {
  font-size: 9px;
  color: #94a3b8;
}

.dots-btn {
  background: none;
  border: none;
  color: #cbd5e1;
  font-size: 14px;
  cursor: pointer;
}

.view-all-link {
  font-size: 10px;
  font-weight: 700;
  color: #e53935;
  text-decoration: none;
}

/* Funnel Container */
.funnel-container {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.funnel-top-block {
  background: linear-gradient(135deg, #e53935, #ff5252);
  color: #fff;
  border-radius: 10px;
  padding: 8px 14px;
  position: relative;
  margin-bottom: 6px;
  box-shadow: 0 4px 14px rgba(229, 57, 53, 0.25);
}

.f-top-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 800;
}

.f-arrow-down {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 5px solid #e53935;
}

.funnel-stages-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
}

.funnel-stage-row {
  background: linear-gradient(135deg, #fff5f5, #ffe4e6);
  color: #e53935;
  padding: 6px 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 700;
  border: 1px solid rgba(229, 57, 53, 0.12);
  transition: transform 0.15s ease;
}

.funnel-stage-row:hover {
  transform: scale(1.01);
}

.stage-1 { width: 95%; }
.stage-2 { width: 90%; }
.stage-3 { width: 85%; }
.stage-4 { width: 80%; }
.stage-5 { width: 75%; }
.stage-6 { width: 70%; }
.stage-7 { width: 65%; }

/* Recent Leads Table */
.table-wrapper {
  display: flex;
  flex-direction: column;
}

.t-head {
  display: grid;
  grid-template-columns: 2.2fr 1.3fr 1.2fr 1fr;
  padding: 6px 8px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 8px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.05em;
}

.t-body {
  display: flex;
  flex-direction: column;
}

.t-row {
  display: grid;
  grid-template-columns: 2.2fr 1.3fr 1.2fr 1fr;
  align-items: center;
  padding: 8px 10px;
  border-bottom: 1px solid #f8fafc;
  font-size: 10px;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.t-row:hover {
  background: #f8fafc;
}

.t-col-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #1e293b;
}

.name-avatar {
  width: 24px;
  height: 24px;
  background: linear-gradient(145deg, #fff1f2, #ffe4e6);
  color: #e53935;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 800;
}

.name-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.status-pill {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 20px;
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.status-pill.purple {
  background: #efe6ff;
  color: #7030a0;
}

.status-pill.red {
  background: #fde8e8;
  color: #e53935;
}

.status-pill.blue {
  background: #e1f5fe;
  color: #0288d1;
}

.status-pill.indigo {
  background: #ede7f6;
  color: #512da8;
}

.t-col-assigned {
  color: #475569;
  font-size: 9.5px;
}

.t-col-date {
  color: #94a3b8;
  font-size: 9px;
}

/* Floating Chat Bubble */
.floating-chat-bubble {
  position: absolute;
  bottom: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  background: linear-gradient(145deg, #e53935, #ff5252);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.4);
  cursor: pointer;
  z-index: 10;
  transition: transform 0.2s ease;
}

.floating-chat-bubble:hover {
  transform: scale(1.06);
}

.chat-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, #c62828, #e53935);
  color: #fff;
  border-radius: 50%;
  font-size: 7.5px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(229, 57, 53, 0.35);
}

.float {
  position: absolute;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  font-size: 9px;
  z-index: 5;
}

.float b {
  display: block;
  font-size: 11px;
  margin-bottom: 3px;
  color: #0f172a;
  font-weight: 800;
}

.float span {
  color: #64748b;
  font-size: 9px;
}

.fl1 { left: -28px; top: 110px; }
.fl2 { right: -27px; top: 240px; }
.fl3 { right: 45px; bottom: -22px; }


.section {
  padding: 105px 0;
}

.kicker {
  color: var(--red);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-head {
  text-align: center;
  margin-bottom: 45px;
}

.section h2 {
  font-size: clamp(38px, 5vw, 59px);
  line-height: 1;
  letter-spacing: -0.06em;
  margin: 12px auto 14px;
}

.section-head p {
  max-width: 650px;
  margin: auto;
  color: var(--muted);
  font-size: 14px;
}

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

.card {
  border-radius: 18px;
  padding: 17px;
  min-height: 270px;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 65px rgba(28, 35, 48, 0.13);
}

.icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #edf5fc;
  color: #2674ba;
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 12px;
  font-size: 13px;
}

.card h3 {
  font-size: 12px;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.card p {
  font-size: 9px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 220px;
  margin: 0;
}

.micro {
  position: absolute;
  left: 17px;
  right: 17px;
  bottom: 15px;
  height: 112px;
  border: 1px solid #edf0f3;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.72);
  padding: 10px;
  overflow: hidden;
}

.line {
  height: 5px;
  background: #eef1f4;
  border-radius: 20px;
  margin: 6px 0;
}

.line.blue {
  background: linear-gradient(90deg, #d7e8f8, #347bbb);
  width: 78%;
}

.line.red {
  background: linear-gradient(90deg, #f8d7da, #e63d4d);
  width: 58%;
}

.dark {
  background: #17191d;
  color: #fff;
  border-radius: 38px;
  padding: 75px 60px;
  position: relative;
  overflow: hidden;
}

.dark:after {
  content: "";
  position: absolute;
  width: 550px;
  height: 550px;
  right: -180px;
  top: -220px;
  background: radial-gradient(circle, rgba(230, 61, 77, 0.22), transparent 65%);
}

.dark-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.dark h2 {
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -0.06em;
  margin: 12px 0;
}

.dark p {
  color: #aeb4bd;
  max-width: 470px;
}

.flow {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.flow-row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.flow-box {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 10px;
  flex: 1;
  text-align: center;
}

.arrow {
  color: #ff7882;
}

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.ai-card {
  border-radius: 28px;
  padding: 30px;
  min-height: 330px;
}

.score {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -0.08em;
  margin: 15px 0;
}

.bar {
  height: 8px;
  border-radius: 20px;
  background: #edf0f3;
  overflow: hidden;
}

.bar i {
  display: block;
  width: 92%;
  height: 100%;
  background: linear-gradient(90deg, #e63d4d, #9c49c7);
}

.timeline {
  margin-top: 22px;
  display: grid;
  gap: 8px;
}

.event {
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid #edf0f3;
  font-size: 10px;
}

.event span {
  float: right;
  color: #9aa0a9;
}

.cta {
  margin: 105px 0;
  padding: 70px;
  border-radius: 35px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta:before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  left: 50%;
  top: -360px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(230, 61, 77, 0.12), transparent 65%);
}

.cta > * {
  position: relative;
}

.cta h2 {
  font-size: clamp(42px, 6vw, 70px);
  letter-spacing: -0.07em;
  line-height: 0.98;
  margin: 12px auto 18px;
  max-width: 800px;
}

.cta p {
  max-width: 620px;
  margin: auto;
  color: var(--muted);
}

footer {
  background: #17191d;
  color: #fff;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 35px;
}

.footer p, .footer a {
  color: #9299a4;
  font-size: 11px;
}

.footer h4 {
  font-size: 11px;
  margin: 0 0 14px;
}

.footer a {
  display: block;
  margin: 8px 0;
}

.copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 45px;
  padding-top: 20px;
  color: #707783;
  font-size: 10px;
  display: flex;
  justify-content: space-between;
}

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

@media(max-width: 1000px) {
  .dashboard { grid-template-columns: 165px 1fr; }
  .metrics { grid-template-columns: repeat(3, 1fr); }
  .content-grid, .dark-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .ai-grid { grid-template-columns: 1fr; }
  .float { display: none; }
}

@media(max-width: 700px) {
  .wrap { width: calc(100% - 26px); }
  h1 { font-size: 48px; }
  .metric { min-height: 90px; }
  .content-grid { grid-template-columns: 1fr; }
  .table-head, .lead { grid-template-columns: 1.4fr 0.8fr; }
  .table-head div:nth-child(3), .table-head div:nth-child(4),
  .lead > div:nth-child(3), .lead > div:nth-child(4) { display: none; }
  .cards { grid-template-columns: 1fr; }
  .dark { padding: 45px 25px; }
  .flow-row { flex-direction: column; }
  .flow-box { width: 100%; }
}

/* Ultra-Modern Glassmorphic Segment Navigation Bar */
.glass-segment-nav {
  position: relative;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 
    0 20px 50px rgba(15, 23, 42, 0.05),
    0 4px 16px rgba(15, 23, 42, 0.02),
    inset 0 1px 1px rgba(255, 255, 255, 0.8);
  border-radius: 100px;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 55px;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.segment-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 100px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 13.5px;
  color: #64748b;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  user-select: none;
}

.segment-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.65);
  color: #1e293b;
  transform: translateY(-1px);
}

.segment-btn.active {
  background: #ffffff;
  color: #0f172a;
  font-weight: 800;
  border: 1px solid rgba(229, 57, 53, 0.18);
  box-shadow: 
    0 12px 30px rgba(229, 57, 53, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transform: translateY(-2px) scale(1.01);
}

.segment-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(100, 116, 139, 0.08);
  color: #64748b;
  transition: all 0.25s ease;
}

.segment-btn.active .segment-icon-box {
  background: linear-gradient(135deg, rgba(229, 57, 53, 0.14), rgba(255, 64, 129, 0.18));
  color: #e53935;
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.2);
}

.segment-btn:hover:not(.active) .segment-icon-box {
  color: #e53935;
  background: rgba(229, 57, 53, 0.06);
}

.segment-title {
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.active-glow-dot {
  width: 6px;
  height: 6px;
  background: #e53935;
  border-radius: 50%;
  box-shadow: 0 0 10px #e53935, 0 0 0 3px rgba(229, 57, 53, 0.15);
  margin-left: 2px;
  animation: pulseGlowDot 2s infinite;
}

@keyframes pulseGlowDot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 992px) {
  .glass-segment-nav {
    grid-template-columns: repeat(2, 1fr);
    border-radius: 24px;
    padding: 10px;
  }
  .segment-btn {
    border-radius: 16px;
  }
}

@media (max-width: 640px) {
  .glass-segment-nav {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }
}

/* Neumorphic 8-Card Grid Styles */
.neumorphic-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 35px;
  animation: gridTabFade 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes gridTabFade {
  from {
    opacity: 0.4;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1200px) {
  .neumorphic-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .neumorphic-features-grid {
    grid-template-columns: 1fr;
  }
}

.neu-card {
  background: #fbfcfd;
  border-radius: 28px;
  padding: 24px;
  border: 1px solid #edf2f7;
  box-shadow: 
    0 18px 40px rgba(15, 23, 42, 0.04),
    0 4px 12px rgba(0, 0, 0, 0.015);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.neu-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 26px 55px rgba(15, 23, 42, 0.08),
    0 8px 20px rgba(0, 0, 0, 0.03);
  border-color: rgba(229, 57, 53, 0.22);
}

.neu-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.neu-icon-box {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 18px;
  background: linear-gradient(145deg, #ffffff 0%, #f4f6f9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    6px 6px 14px rgba(15, 23, 42, 0.06),
    -5px -5px 12px rgba(255, 255, 255, 1),
    inset 0 1px 1px #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.95);
  position: relative;
}

.neu-card-title-wrap h3 {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
  letter-spacing: -0.02em;
}

.neu-card-title-wrap p {
  font-size: 11px;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
}

.neu-widget-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 16px 18px;
  border: 1px solid #f1f5f9;
  box-shadow: 
    0 6px 18px rgba(15, 23, 42, 0.03),
    inset 0 1px 0 #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 190px;
}

/* Card 1: Lead Management */
.lead-channel-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.channel-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  font-weight: 600;
  color: #334155;
}

.ch-left-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ch-icon-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fde8e8;
  border: 1px solid rgba(229, 57, 53, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e53935;
  font-size: 11px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(229, 57, 53, 0.08);
}

.ch-name {
  font-weight: 600;
  color: #1e293b;
}

.ch-val {
  font-weight: 800;
  color: #0f172a;
  font-size: 11px;
}

.lead-total-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 8px;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
}

.total-val-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.total-val-wrap strong {
  font-size: 15px;
  font-weight: 900;
  color: #e53935;
}

/* Card 2: Flowchart */
.flowchart-widget {
  align-items: center;
  gap: 4px;
}

.flow-step {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 7px 18px;
  font-size: 10.5px;
  font-weight: 700;
  color: #334155;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03), inset 0 1px 0 #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.flow-step.mini {
  padding: 6px 10px;
  font-size: 9.5px;
}

.flow-step.success {
  border: 1px solid rgba(229, 57, 53, 0.35);
  color: #e53935;
  background: linear-gradient(135deg, #ffffff, #fff5f5);
  box-shadow: 0 4px 14px rgba(229, 57, 53, 0.1);
}

.flow-connector {
  color: #cbd5e1;
  font-size: 10px;
  line-height: 1;
}

.flow-split-row {
  display: flex;
  gap: 6px;
  width: 100%;
  justify-content: center;
}

/* Card 3: Activity detail screen */
.activity-widget {
  gap: 10px;
}

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

.live-status-tag {
  font-size: 8.5px;
  font-weight: 800;
  color: #e53935;
  display: flex;
  align-items: center;
  gap: 4px;
}

.activity-timer {
  font-size: 10px;
  font-weight: 800;
  color: #e53935;
}

.caller-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.caller-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.caller-name {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
}

.caller-num {
  display: block;
  font-size: 9.5px;
  color: #64748b;
}

.soundwave-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 30px;
}

.wave-line {
  width: 3px;
  background: #e53935;
  border-radius: 4px;
  display: inline-block;
}

.activity-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
}

.activity-act-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
}

.activity-act-btn.end-action {
  background: #e53935;
  color: #fff;
  border: none;
  box-shadow: 0 3px 10px rgba(229, 57, 53, 0.3);
}

/* Card 4: Messaging integration */
.chat-widget {
  gap: 8px;
}

.chat-msg {
  max-width: 85%;
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 9.5px;
  line-height: 1.35;
  display: flex;
  flex-direction: column;
}

.chat-msg.incoming {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  align-self: flex-start;
}

.chat-msg.outgoing {
  background: #fde8e8;
  border: 1px solid rgba(229, 57, 53, 0.15);
  color: #b71c1c;
  align-self: flex-end;
}

.chat-msg small {
  font-size: 7.5px;
  color: #94a3b8;
  align-self: flex-end;
  margin-top: 2px;
}

.red-checks {
  color: #e53935;
  font-weight: 900;
}

.chat-input-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 5px 8px 5px 12px;
  font-size: 9.5px;
  color: #94a3b8;
  margin-top: 4px;
}

.chat-input-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.paperclip-icon {
  font-size: 11px;
  color: #94a3b8;
}

.send-btn-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e53935;
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  cursor: pointer;
}

/* Card 5: AI Insights */
.ai-insights-widget {
  align-items: center;
  gap: 14px;
}

.ai-brain-gauge {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  justify-content: center;
}

.gauge-outer-ring {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.ai-gauge-svg {
  width: 100%;
  height: 100%;
}

.brain-3d-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 28px;
}

.score-text-box {
  display: flex;
  flex-direction: column;
}

.ai-score-num {
  font-size: 34px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
}

.ai-score-label {
  font-size: 10px;
  font-weight: 700;
  color: #e53935;
  margin-top: 3px;
}

.ai-pills-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: 100%;
}

.ai-pill-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.03), inset 0 1px 0 #ffffff;
  transition: all 0.2s ease;
}

.ai-pill-card:hover {
  transform: translateY(-2px);
  border-color: rgba(229, 57, 53, 0.3);
}

.ai-pill-icon {
  font-size: 13px;
  color: #e53935;
  line-height: 1;
}

.ai-pill-title {
  font-size: 8.5px;
  font-weight: 700;
  color: #334155;
  text-align: center;
  line-height: 1.2;
}

/* Card 6: AI Evaluation */
.eval-widget {
  gap: 8px;
}

.eval-label {
  font-size: 9px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.eval-score-row {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.score-big {
  font-size: 30px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
}

.score-total {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 700;
}

.eval-progress-bar {
  height: 6px;
  width: 100%;
  background: #f1f5f9;
  border-radius: 10px;
  overflow: hidden;
}

.eval-progress-fill {
  height: 100%;
  background: #e53935;
  border-radius: 10px;
}

.eval-highlight-card {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fffdfd;
  border: 1px solid #fde8e8;
  border-radius: 12px;
  padding: 7px 10px;
  box-shadow: 0 2px 8px rgba(229, 57, 53, 0.04);
}

.heart-icon {
  font-size: 13px;
}

.eval-highlight-card strong {
  display: block;
  font-size: 9.5px;
  color: #e53935;
}

.eval-highlight-card p {
  font-size: 8px;
  color: #64748b;
  margin: 0;
}

.eval-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
}

.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 14px;
}

.mini-bars span {
  width: 3px;
  background: #e53935;
  border-radius: 2px;
}

.mini-bars span:nth-child(1) { height: 6px; opacity: 0.6; }
.mini-bars span:nth-child(2) { height: 14px; opacity: 1; }
.mini-bars span:nth-child(3) { height: 9px; opacity: 0.8; }
.mini-bars span:nth-child(4) { height: 11px; opacity: 0.9; }

.view-analysis-link {
  font-size: 9.5px;
  font-weight: 800;
  color: #e53935;
  text-decoration: none;
}

/* Card 7: Analytics */
.analytics-widget {
  gap: 8px;
}

.analytics-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
}

.month-pill {
  font-size: 9px;
  font-weight: 700;
  color: #e53935;
}

.chart-svg-wrap {
  height: 60px;
}

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

.analytics-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 6px;
}

.rev-num {
  display: block;
  font-size: 14px;
  font-weight: 900;
  color: #0f172a;
}

.rev-sub {
  display: block;
  font-size: 8px;
  color: #94a3b8;
}

.growth-tag span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: #4caf50;
}

.growth-tag small {
  display: block;
  font-size: 8px;
  color: #94a3b8;
  text-align: right;
}

/* Card 8: Lead timeline */
.history-widget {
  gap: 6px;
  position: relative;
}

.timeline-list-3d {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.timeline-list-3d::before {
  content: '';
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 12px;
  width: 1px;
  border-left: 1px dashed rgba(229, 57, 53, 0.3);
  z-index: 1;
}

.timeline-item-3d {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 600;
  color: #334155;
  position: relative;
  z-index: 2;
}

.tl-left-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tl-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fde8e8;
  border: 1px solid rgba(229, 57, 53, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e53935;
  font-size: 11px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(229, 57, 53, 0.08);
}

.tl-title {
  font-weight: 700;
  color: #1e293b;
  font-size: 10px;
}

.tl-time-str {
  font-size: 8.5px;
  color: #94a3b8;
  font-weight: 600;
}

/* AI Enhanced Section Styling */
.ai-enhanced-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.ai-header-wrap {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 55px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ai-kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 100px;
  background: rgba(229, 57, 53, 0.06);
  border: 1px solid rgba(229, 57, 53, 0.2);
  color: #e53935;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 22px;
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.08);
}

.sparkle-icon {
  font-size: 14px;
}

.ai-main-heading {
  font-size: 54px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #0f172a;
  margin: 0 0 20px 0;
}

@media (max-width: 768px) {
  .ai-main-heading {
    font-size: 36px;
  }
}

.grad-smarter {
  background: linear-gradient(135deg, #e53935 0%, #ff5252 40%, #ff7961 70%, #d32f2f 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineGradient 4s ease infinite;
  display: inline-block;
  position: relative;
  filter: drop-shadow(0 4px 16px rgba(229, 57, 53, 0.25));
}

.grad-smarter::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e53935, #ff5252);
  border-radius: 4px;
  opacity: 0.8;
}

.ai-sub-description {
  font-size: 16px;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
  font-weight: 500;
  max-width: 680px;
}

.ai-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

@media (max-width: 900px) {
  .ai-showcase-grid {
    grid-template-columns: 1fr;
  }
}

.ai-feature-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 34px;
  border: 1px solid #edf2f7;
  box-shadow: 
    0 20px 45px rgba(15, 23, 42, 0.04),
    0 4px 14px rgba(0, 0, 0, 0.015);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.ai-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 28px 60px rgba(15, 23, 42, 0.08),
    0 8px 22px rgba(0, 0, 0, 0.03);
  border-color: rgba(229, 57, 53, 0.25);
}

.ai-card-top-tag {
  font-size: 10.5px;
  font-weight: 800;
  color: #e53935;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ai-feature-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px 0;
  letter-spacing: -0.03em;
}

.ai-feature-card p {
  font-size: 13.5px;
  color: #64748b;
  margin: 0 0 24px 0;
  line-height: 1.55;
}

.ai-score-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fffdfd;
  border: 1px solid #fde8e8;
  border-radius: 20px;
  padding: 18px 22px;
  margin-bottom: 14px;
}

.score-big-num {
  font-size: 46px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
}

.score-big-num span {
  font-size: 24px;
  color: #e53935;
}

.score-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.status-high {
  font-size: 13px;
  color: #e53935;
  font-weight: 800;
}

.action-hint {
  font-size: 11px;
  color: #64748b;
}

.ai-progress-track {
  height: 8px;
  background: #f1f5f9;
  border-radius: 10px;
  overflow: hidden;
}

.ai-progress-bar-fill {
  height: 100%;
  width: 92%;
  background: linear-gradient(90deg, #e53935, #ff5252);
  border-radius: 10px;
}

.ai-timeline-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 18px 22px;
}

.ai-tl-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
}

.tl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
}

.tl-dot.red { background: #e53935; }
.tl-dot.green { background: #4caf50; }
.tl-dot.purple { background: #9c27b0; }

.tl-text {
  flex: 1;
}

.tl-time {
  font-size: 10px;
  color: #94a3b8;
}

/* Mobile App Showcase Section Styles */
.mobile-app-section {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.mobile-section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 60px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile-kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 100px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.25);
  color: #0891b2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.1);
}

.mobile-main-heading {
  font-size: 50px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: #0f172a;
  margin: 0 0 18px 0;
}

.mobile-grad-text {
  background: linear-gradient(135deg, #0891b2 0%, #06b6d4 40%, #e53935 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mobile-sub-heading {
  font-size: 15.5px;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
  font-weight: 500;
  max-width: 650px;
}

/* Exact Mobile Showcase Image Container */
.exact-mobile-showcase-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1050px;
  margin: 0 auto;
  padding: 20px 0;
}

.showcase-img-glow-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75%;
  height: 75%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(229, 57, 53, 0.08) 50%, rgba(255, 255, 255, 0) 75%);
  filter: blur(50px);
  z-index: 1;
  pointer-events: none;
}

.exact-showcase-img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 960px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(15, 23, 42, 0.18));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.exact-showcase-img:hover {
  transform: translateY(-6px) scale(1.01);
  filter: drop-shadow(0 40px 80px rgba(15, 23, 42, 0.25));
}
.mobile-showcase-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  position: relative;
  min-height: 720px;
  perspective: 1200px;
}

@media (max-width: 1024px) {
  .mobile-showcase-container {
    flex-direction: column;
    gap: 40px;
  }
}

.floating-cards-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 280px;
  z-index: 10;
}

.left-col {
  transform: rotateY(10deg) rotateX(2deg);
  transition: transform 0.4s ease;
}

.right-col {
  transform: rotateY(-10deg) rotateX(2deg);
  transition: transform 0.4s ease;
}

.mobile-showcase-container:hover .left-col {
  transform: rotateY(4deg) rotateX(0deg);
}

.mobile-showcase-container:hover .right-col {
  transform: rotateY(-4deg) rotateX(0deg);
}

/* Floating Card Common Styles */
.float-card {
  border-radius: 24px;
  padding: 20px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.dark-glass-card {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 4px 12px rgba(0, 0, 0, 0.1);
}

.light-glass-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  color: #0f172a;
  box-shadow: 
    0 20px 45px rgba(15, 23, 42, 0.08),
    0 4px 14px rgba(0, 0, 0, 0.02);
}

/* Left Top: Overview Dark Glass Card */
.overview-card .float-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.float-icon-box {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 182, 212, 0.15);
}

.float-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #f8fafc;
}

.float-label {
  font-size: 10px;
  color: #94a3b8;
  display: block;
}

.float-val-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 2px;
}

.float-big-num {
  font-size: 26px;
  font-weight: 900;
  color: #ffffff;
}

.float-badge.green {
  font-size: 10px;
  font-weight: 800;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  padding: 2px 8px;
  border-radius: 20px;
}

.float-sparkline-wrap {
  height: 45px;
  margin-top: 10px;
}

.float-spark-svg {
  width: 100%;
  height: 100%;
}

/* Left Bottom: Channels Card */
.channels-card {
  padding: 18px 20px;
}

.channel-list-mini {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.ch-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ch-round-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.ch-round-icon.blue { background: #e0f2fe; }
.ch-round-icon.green { background: #dcfce7; }
.ch-round-icon.dark-blue { background: #dbeafe; }
.ch-round-icon.pink { background: #fce7f3; }
.ch-round-icon.orange { background: #ffedd5; }

.ch-title {
  font-weight: 600;
  color: #334155;
}

.ch-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ch-right strong {
  font-weight: 800;
  color: #0f172a;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-dot.cyan { background: #06b6d4; }
.status-dot.green { background: #10b981; }
.status-dot.blue { background: #3b82f6; }
.status-dot.pink { background: #ec4899; }
.status-dot.orange { background: #f97316; }

/* Phone Mockup Center */
.phone-mockup-wrapper {
  position: relative;
  z-index: 20;
}

.phone-chassis {
  width: 330px;
  height: 690px;
  background: #090d16;
  border-radius: 46px;
  border: 10px solid #0f172a;
  box-shadow: 
    0 40px 100px rgba(15, 23, 42, 0.4),
    0 12px 30px rgba(0, 0, 0, 0.25),
    inset 0 0 0 2px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px 8px 22px;
  background: #090d16;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
}

.dynamic-island {
  width: 85px;
  height: 24px;
  background: #000000;
  border-radius: 20px;
}

.phone-status-icons {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
}

.phone-screen-content {
  flex: 1;
  background: #0b111e;
  padding: 16px 18px 12px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

/* App Top Bar Inside Phone */
.app-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-title {
  font-size: 16px;
  font-weight: 900;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.app-sub {
  font-size: 9px;
  color: #64748b;
  margin: 2px 0 0 0;
}

.app-top-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-bell-btn {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
  color: #fff;
}

.bell-red-dot {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 5px;
  height: 5px;
  background: #e53935;
  border-radius: 50%;
}

.user-avatar-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid #06b6d4;
}

.user-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Inside Phone 3 Metric Cards Row */
.app-metrics-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.app-m-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.m-card-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-bottom: 4px;
}

.m-card-icon.blue { background: rgba(6, 182, 212, 0.2); }
.m-card-icon.green { background: rgba(16, 185, 129, 0.2); }
.m-card-icon.purple { background: rgba(168, 85, 247, 0.2); }

.m-card-lbl {
  font-size: 8px;
  color: #94a3b8;
  line-height: 1.2;
}

.m-card-val {
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
  margin-top: 2px;
}

/* Daily Progress Bar Inside Phone */
.app-progress-section {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 10px 12px;
  margin-top: 10px;
}

.prog-text-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9.5px;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.prog-track-outer {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  position: relative;
}

.prog-fill-cyan {
  height: 100%;
  background: linear-gradient(90deg, #06b6d4, #10b981);
  border-radius: 10px;
  position: relative;
}

.prog-thumb {
  position: absolute;
  right: -8px;
  top: 10px;
  font-size: 8px;
  font-weight: 800;
  color: #06b6d4;
}

/* Primary mobile action CTA */
.app-action-btn {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  border: none;
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  cursor: pointer;
  margin-top: 14px;
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
  transition: all 0.25s ease;
}

.app-action-btn.is-active {
  background: linear-gradient(135deg, #e53935, #b71c1c);
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.4);
}

.btn-left-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 800;
}

.btn-right-pill {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 20px;
  padding: 3px 8px;
  font-size: 8.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Upcoming Followups Inside Phone */
.app-followups-section {
  margin-top: 14px;
}

.followups-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: #94a3b8;
  margin-bottom: 8px;
}

.view-all-link {
  color: #06b6d4;
  text-decoration: none;
  font-weight: 700;
}

.followups-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.followup-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 8px 10px;
}

.fu-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
}

.fu-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fu-details {
  flex: 1;
}

.fu-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.fu-name-row strong {
  font-size: 11px;
  color: #ffffff;
}

.hot-lead-badge {
  font-size: 7.5px;
  font-weight: 800;
  background: #e53935;
  color: #fff;
  padding: 1px 5px;
  border-radius: 10px;
}

.fu-desc {
  font-size: 8.5px;
  color: #64748b;
  display: block;
}

.fu-time {
  font-size: 9px;
  color: #94a3b8;
}

/* Bottom Nav Inside Phone */
.app-bottom-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #070a12;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 10px;
  margin: 12px -18px -12px -18px;
}

.nav-tab-item {
  background: none;
  border: none;
  color: #64748b;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
}

.nav-tab-item.active {
  color: #06b6d4;
}

.tab-icon-wrap {
  position: relative;
  font-size: 14px;
}

.nav-badge-num {
  position: absolute;
  top: -4px;
  right: -8px;
  background: #e53935;
  color: #fff;
  font-size: 7px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 10px;
}

.tab-lbl {
  font-size: 8px;
  font-weight: 700;
}

/* Right Top Card: Call Card Dark Glass */
.activity-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.live-status-pill {
  font-size: 9px;
  font-weight: 800;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  padding: 3px 8px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.live-green-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 2s infinite;
}

.activity-time-badge {
  font-size: 10px;
  font-weight: 800;
  color: #e53935;
  background: rgba(229, 57, 53, 0.15);
  padding: 3px 8px;
  border-radius: 20px;
}

.activity-card-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.user-img-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid #06b6d4;
}

.user-img-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-text-info strong {
  display: block;
  font-size: 13px;
  color: #ffffff;
}

.user-text-info span {
  display: block;
  font-size: 9.5px;
  color: #94a3b8;
}

.activity-wave-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 32px;
  margin-bottom: 14px;
}

.wave-line-cyan {
  width: 3px;
  background: #06b6d4;
  border-radius: 4px;
}

.activity-btn-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.c-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
}

.c-btn.end-red {
  background: #e53935;
  border: none;
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.4);
}

/* Right bottom card: notification light glass */
.msg-notify-card {
  padding: 16px;
}

.msg-top-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  position: relative;
}

.msg-icon-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.msg-head-info {
  flex: 1;
}

.msg-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9.5px;
  color: #64748b;
  margin-bottom: 2px;
}

.msg-head-info strong {
  display: block;
  font-size: 12px;
  color: #0f172a;
}

.msg-head-info p {
  font-size: 10.5px;
  color: #475569;
  margin: 3px 0 0 0;
  line-height: 1.35;
}

.unread-green-dot {
  width: 8px;
  height: 8px;
  background: #25d366;
  border-radius: 50%;
  position: absolute;
  bottom: 0;
  right: 0;
}

/* Integrations Section Dark 3D Ecosystem Card */
.integ-main-card {
  background: #080b12;
  border-radius: 32px;
  padding: 55px 50px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 35px 90px rgba(8, 11, 18, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.integ-bg-aura-right {
  position: absolute;
  right: -100px;
  top: -50px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(229, 57, 53, 0.22) 0%, rgba(229, 57, 53, 0.05) 45%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  border-radius: 50%;
}

.integ-bg-wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: radial-gradient(ellipse at 50% 100%, rgba(229, 57, 53, 0.15) 0%, rgba(8, 11, 18, 0) 75%);
  pointer-events: none;
}

.integ-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 30px;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (max-width: 1024px) {
  .integ-grid-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

.integ-left-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.integ-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(229, 57, 53, 0.12);
  border: 1px solid rgba(229, 57, 53, 0.3);
  color: #ff5252;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 22px;
}

.integ-heading {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin: 0 0 18px 0;
}

@media (max-width: 768px) {
  .integ-heading {
    font-size: 36px;
  }
}

.integ-grad-text {
  background: linear-gradient(135deg, #ffffff 0%, #ff7961 40%, #e53935 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.integ-sub-text {
  color: #94a3b8;
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 32px 0;
  max-width: 440px;
}

/* 4 Value Props Grid */
.integ-props-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 34px;
  width: 100%;
}

@media (max-width: 768px) {
  .integ-props-4col {
    grid-template-columns: repeat(2, 1fr);
  }
}

.prop-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.prop-icon-box {
  width: auto;
  height: auto;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 10px;
  color: #ff5252;
  filter: drop-shadow(0 2px 8px rgba(255, 82, 82, 0.45));
  transition: transform 0.3s ease, color 0.3s ease;
}

.prop-item:hover .prop-icon-box {
  transform: translateY(-2px) scale(1.1);
  color: #ff6b6b;
}

.prop-item strong {
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 3px;
}

.prop-item p {
  font-size: 10px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.4;
}

.integ-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 100px;
  background: linear-gradient(135deg, #e53935 0%, #b71c1c 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(229, 57, 53, 0.35);
  transition: all 0.3s ease;
}

.integ-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(229, 57, 53, 0.5);
}

/* Right Hologram Hub Showcase */
.integ-right-col {
  position: relative;
  width: 100%;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.integ-hologram-stage-wrap {
  position: relative;
  width: 100%;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.integ-rays-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* 3D Hexagonal Pedestal Base */
.integ-pedestal-base {
  position: absolute;
  bottom: 60px;
  left: 55%;
  transform: translateX(-50%);
  width: 170px;
  height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pedestal-bottom-plate {
  width: 160px;
  height: 24px;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(229, 57, 53, 0.4);
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.pedestal-mid-plate {
  width: 130px;
  height: 20px;
  background: linear-gradient(180deg, #334155 0%, #1e293b 100%);
  border: 1px solid rgba(229, 57, 53, 0.5);
  margin-top: -8px;
  border-radius: 4px;
}

.pedestal-top-plate {
  width: 100px;
  height: 16px;
  background: linear-gradient(180deg, #475569 0%, #334155 100%);
  border: 1px solid rgba(229, 57, 53, 0.6);
  margin-top: -6px;
  border-radius: 3px;
  box-shadow: 0 0 15px rgba(229, 57, 53, 0.5);
}

.hologram-laser-cone {
  position: absolute;
  bottom: 40px;
  width: 110px;
  height: 140px;
  background: linear-gradient(0deg, rgba(229, 57, 53, 0.4) 0%, rgba(229, 57, 53, 0.05) 80%, rgba(229, 57, 53, 0) 100%);
  clip-path: polygon(25% 0%, 75% 0%, 100% 100%, 0% 100%);
  pointer-events: none;
  animation: laserPulse 3s infinite ease-in-out;
}

/* Central Glowing Orb Sphere */
.integ-center-orb {
  position: absolute;
  top: 42%;
  left: 55%;
  transform: translate(-50%, -50%);
  width: 115px;
  height: 115px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff5252, #e53935 50%, #880e4f 100%);
  box-shadow: 
    0 0 60px rgba(229, 57, 53, 0.7),
    0 0 25px rgba(229, 57, 53, 0.5),
    inset 0 0 15px rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  animation: floatOrb 4s infinite ease-in-out;
}

.orb-logo-box {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #ffffff;
  color: #e53935;
  display: grid;
  place-items: center;
  font-size: 19px;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.orb-label {
  font-size: 9px;
  font-weight: 800;
  color: #ffffff;
  margin-top: 4px;
  text-align: center;
  line-height: 1.15;
}

/* Satellite Floating Cards */
.satellite-card {
  position: absolute;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  z-index: 12;
  white-space: nowrap;
}

.satellite-card:hover, .satellite-card.hovered {
  transform: translateY(-3px) scale(1.05) !important;
  background: rgba(229, 57, 53, 0.18);
  border-color: rgba(229, 57, 53, 0.5);
  box-shadow: 0 14px 30px rgba(229, 57, 53, 0.3);
}

.sat-icon-box {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(229, 57, 53, 0.18);
  border: 1px solid rgba(229, 57, 53, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #ff5252;
}

.sat-text-wrap {
  display: flex;
  flex-direction: column;
}

.sat-title {
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.sat-sub {
  font-size: 8.5px;
  color: #94a3b8;
  line-height: 1.2;
}

/* Exact Hologram Image Asset Styles */
.exact-hologram-img-wrap {
  position: relative;
  width: 100%;
  max-width: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.hologram-img-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(229, 57, 53, 0.25) 0%, rgba(229, 57, 53, 0.05) 55%, rgba(0, 0, 0, 0) 80%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
}

.exact-hologram-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 24px;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.exact-hologram-img:hover {
  transform: translateY(-4px) scale(1.01);
  filter: drop-shadow(0 30px 60px rgba(229, 57, 53, 0.3));
}

/* ── Feature Scroll Section ── */
.feature-scroll-section {
  padding: 100px 0;
  background: #f8fafc;
  overflow-x: clip;
}

.feature-list-content {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.feature-scroll-header {
  text-align: center;
  flex-shrink: 0;
  margin-bottom: 20px;
}

.feature-scroll-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 100px;
  border: 1px solid rgba(229, 57, 53, 0.22);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #d32f2f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  margin-bottom: 14px;
  box-shadow: 0 4px 18px rgba(229, 57, 53, 0.08);
}

.feature-scroll-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e53935;
  box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.5);
  animation: pulseDot 2s infinite;
  flex-shrink: 0;
}

.feature-scroll-heading {
  font-size: clamp(34px, 4.8vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: #0f172a;
  margin: 0;
  text-wrap: balance;
}

.feature-scroll-heading-accent {
  background: linear-gradient(110deg, #d32f2f 0%, #ff4081 45%, #e53935 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shineGradient 6s linear infinite;
}

.feature-list-inner {
  display: flex;
  flex-direction: column;
  gap: 100px;
  width: 100%;
}

.feature-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
  justify-items: stretch;
  width: 100%;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.feature-row.reversed .feature-row-text {
  order: 2;
}

.feature-row.reversed .feature-row-image {
  order: 1;
}

.feature-row-text {
  max-width: none;
  width: 100%;
}

.feature-row.reversed .feature-row-text {
  margin-left: 0;
}

.feature-row-number {
  display: block;
  font-size: clamp(52px, 7vw, 80px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #e53935;
  opacity: 0.2;
  margin-bottom: 2px;
  user-select: none;
}

.feature-row-title {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin: 0 0 10px;
}

.feature-row-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

.feature-row-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  overflow: visible;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}

.feature-row-image img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  mix-blend-mode: normal;
}

@media (max-width: 768px) {
  .feature-scroll-section {
    padding: 60px 0;
  }

  .feature-list-inner {
    gap: 60px;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .feature-row.reversed .feature-row-text,
  .feature-row.reversed .feature-row-image {
    order: unset;
  }}
/* ── Single Row 2-Card Showcase Container ── */
.ai-cards-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
  align-items: stretch;
  width: 100%;
}

.ai-cards-row .ai-lead-scoring-card {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 36px 32px 36px;
}

.ai-cards-row .c360-card {
  margin-top: 0;
}

@media (max-width: 1100px) {
  .ai-cards-row {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ── AI Lead Scoring Card (Exact Design Match) ── */
.ai-lead-scoring-card {
  position: relative;
  background: #ffffff;
  border-radius: 32px;
  padding: 48px 48px 40px 48px;
  border: 1px solid rgba(229, 57, 53, 0.12);
  box-shadow:
    0 24px 70px rgba(229, 57, 53, 0.06),
    0 6px 24px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  margin-top: 40px;
}

.ai-card-bg-waves {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ai-card-bg-waves svg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.ai-card-corner-wave {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 280px;
  height: 220px;
  background: linear-gradient(135deg, #f24c5a, #e53935);
  border-radius: 60% 40% 0 0;
  filter: blur(2px);
  opacity: 0.95;
  transform: rotate(-10deg);
}

.ai-card-top-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 36px;
}

.ai-card-left-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ai-lead-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(255, 235, 238, 0.85);
  border: 1px solid rgba(229, 57, 53, 0.2);
  border-radius: 100px;
  color: #e53935;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.ai-lead-heading {
  font-size: clamp(32px, 3.8vw, 46px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: #0f172a;
  margin: 0 0 16px;
}

.ai-lead-heading .highlight-red {
  color: #e53935;
}

.ai-lead-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
  max-width: 440px;
}

/* Right Graphic with Robot & Orbit */
.ai-card-right-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.ai-orbit-container {
  position: relative;
  width: 320px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-orbit-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ai-robot-center {
  position: relative;
  z-index: 2;
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 14px 28px rgba(229, 57, 53, 0.15));
}

.ai-robot-avatar {
  width: 100%;
  height: 100%;
}

/* Floating Badges Around Orbit */
.ai-orbit-badge {
  position: absolute;
  z-index: 3;
  width: 48px;
  height: 48px;
  background: #ffffff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(241, 245, 249, 0.9);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai-orbit-badge:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 30px rgba(229, 57, 53, 0.18);
}

.badge-top-left { top: 12px; left: 60px; }
.badge-top-right { top: 12px; right: 40px; }
.badge-mid-left { top: 110px; left: 10px; }
.badge-mid-right { top: 110px; right: 10px; }
.badge-bottom-left { bottom: 20px; left: 45px; }
.badge-bottom-right { bottom: 15px; right: 45px; }

.badge-crm {
  flex-direction: column;
  gap: 1px;
  height: 54px;
  width: 52px;
}

.crm-label {
  font-size: 8px;
  font-weight: 800;
  color: #e53935;
  letter-spacing: 0.05em;
}

/* Bottom Floating Glass Card Widget */
.ai-bottom-widget {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 22px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow:
    0 16px 40px rgba(15, 23, 42, 0.06),
    0 2px 10px rgba(0, 0, 0, 0.02);
}

.ai-widget-ring {
  position: relative;
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring-text {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ring-num-wrap {
  display: flex;
  align-items: baseline;
}

.ring-num {
  font-size: 26px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.04em;
}

.ring-pct {
  font-size: 15px;
  font-weight: 900;
  color: #e53935;
  margin-left: 1px;
}

.ring-subtext {
  font-size: 7.5px;
  font-weight: 700;
  color: #64748b;
  margin-top: -2px;
  white-space: nowrap;
}

.ai-widget-divider {
  width: 1px;
  height: 52px;
  background: #e2e8f0;
  flex-shrink: 0;
}

.ai-widget-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-widget-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.flame-icon-box {
  width: 40px;
  height: 40px;
  background: #fff0f2;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.ai-widget-titles {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ai-widget-title {
  font-size: 16px;
  font-weight: 800;
  color: #e53935;
  margin: 0;
  letter-spacing: -0.01em;
}

.ai-widget-sub {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

.red-highlight {
  color: #e53935;
  font-weight: 700;
}

.ai-widget-progress-track {
  height: 12px;
  background: #f1f5f9;
  border-radius: 100px;
  overflow: visible;
  position: relative;
  width: 100%;
}

.ai-widget-progress-fill {
  height: 100%;
  width: 92%;
  background: linear-gradient(90deg, #e53935 0%, #ff5252 100%);
  border-radius: 100px;
  position: relative;
}

.progress-dot {
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(229, 57, 53, 0.9);
}

@media (max-width: 900px) {
  .ai-lead-scoring-card {
    padding: 28px 24px;
  }
  .ai-card-top-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ai-bottom-widget {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .ai-widget-divider {
    display: none;
  }
}

/* ── Customer 360 Card Styles ── */
.c360-card {
  margin-top: 50px;
}

.c360-wave {
  background: linear-gradient(135deg, #ff6975, #e53935);
  bottom: -60px;
  right: -60px;
}

.c360-pedestal-center {
  position: relative;
  z-index: 2;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 14px 28px rgba(229, 57, 53, 0.12));
}

.c360-pedestal-3d {
  width: 100%;
  height: 100%;
}

.green-badge {
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.2);
}

.c360-bottom-panel {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 24px 28px 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow:
    0 16px 40px rgba(15, 23, 42, 0.06),
    0 2px 10px rgba(0, 0, 0, 0.02);
}

.c360-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.c360-tl-row {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.c360-tl-line-col {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  flex-shrink: 0;
}

.c360-node-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  z-index: 2;
}

.red-dot { background: #e53935; box-shadow: 0 0 6px rgba(229, 57, 53, 0.6); }
.green-dot { background: #2e7d32; box-shadow: 0 0 6px rgba(46, 125, 50, 0.6); }
.purple-dot { background: #7b1fa2; box-shadow: 0 0 6px rgba(123, 31, 162, 0.6); }

.c360-line {
  position: absolute;
  top: 10px;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 1.5px;
  background: #cbd5e1;
  border-style: dashed;
  z-index: 1;
}

.c360-tl-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.red-bg { background: #fff0f2; }
.green-bg { background: #e8f5e9; }
.purple-bg { background: #f3e5f5; }

.c360-tl-title {
  font-size: 15px;
  font-weight: 750;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.score-pill-green {
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(46, 125, 50, 0.2);
}

.c360-tl-time {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 600;
  margin-right: 12px;
}

.c360-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 750;
}

.red-status { background: #fff0f2; color: #e53935; }
.green-status { background: #e8f5e9; color: #2e7d32; }
.purple-status { background: #f3e5f5; color: #7b1fa2; }

/* Metrics Row */
.c360-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
}

.c360-metric-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 8px;
  border-right: 1px solid #f1f5f9;
}

.c360-metric-item:last-child {
  border-right: none;
}

.metric-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff0f2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.metric-text-wrap {
  display: flex;
  flex-direction: column;
}

.metric-big-num {
  font-size: 18px;
  font-weight: 900;
  color: #e53935;
  line-height: 1.1;
}

.metric-lbl {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .c360-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .c360-metric-item {
    border-right: none;
  }
  .c360-tl-row {
    flex-wrap: wrap;
    gap: 10px;
  }
}

/* ── Clean Single Row 2-Card Container (No Outer Box, Zoomed Cards) ── */
.ai-single-row-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  margin-top: 48px;
  align-items: stretch;
  width: 100%;
}

.ai-card-clean-img-wrap {
  width: 100%;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.9);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  padding: 12px;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.ai-card-clean-img-wrap:hover {
  border-color: rgba(229, 57, 53, 0.3);
  box-shadow: 0 22px 50px rgba(229, 57, 53, 0.12);
  transform: translateY(-4px);
}

.ai-clean-card-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transform: none !important;
  transition: none !important;
  border-radius: 20px;
}

.ai-card-clean-img-wrap:hover .ai-clean-card-img {
  transform: none !important;
}

/* Default: hide mobile showcase on desktop */
.mobile-only-hero-showcase {
  display: none !important;
}

/* ─────────────────────────────────────────────────────────────
   MASTER MOBILE-FIRST RESPONSIVE & USER-FRIENDLY OPTIMIZATIONS
   ───────────────────────────────────────────────────────────── */

/* Prevent horizontal scroll overflow globally */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

@media (max-width: 768px) {
  /* AI Section Cards: Single Column Stack & Zoom In on Mobile */
  .ai-single-row-container {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    margin-top: 32px !important;
  }

  .ai-card-clean-img-wrap {
    padding: 6px !important;
    border-radius: 20px !important;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08) !important;
  }

  .ai-clean-card-img {
    transform: scale(1.08) !important;
    width: 100% !important;
    border-radius: 16px !important;
  }
  /* Zoom in first image (Hologram Ecosystem Hub) on mobile for best UX */
  .exact-hologram-img-wrap {
    transform: scale(1.3) !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 28px auto !important;
  }

  .exact-hologram-img {
    padding: 0 !important;
    border-radius: 20px !important;
    box-shadow: 0 16px 45px rgba(220, 38, 38, 0.35) !important;
  }

  /* Mobile vs Desktop View Toggles */
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: block !important;
  }

  /* Interactive Dashboard Workspace Frame is hidden on mobile screens */
  .dashboard-frame {
    display: none !important;
  }

  /* Mobile Hero Image View: Direct 3D illustration display without outer background box */
  .hero-mobile-view {
    display: block !important;
    margin-top: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
  }

  .mobile-hero-img-wrap {
    position: relative !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .mobile-hero-glow {
    display: none !important;
  }

  .mobile-hero-img {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    border-radius: 0 !important;
    object-fit: contain !important;
    box-shadow: none !important;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.08)) !important;
  }

  /* ITEM 3: Mobile Price Calculator Cards Alignment & Layout UX */
  .calc-slider-card {
    grid-template-columns: 1fr !important;
  }

  .calc-slider-main {
    padding: 20px 18px !important;
  }

  .calc-counter-side {
    border-left: none !important;
    border-top: 1px solid #f1f5f9 !important;
    padding: 16px 20px !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    min-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .calc-counter-side span:first-child {
    font-size: 12px !important;
  }

  .calc-counter-side span:last-child {
    font-size: 32px !important;
    margin-top: 0 !important;
  }

  .calc-metrics-card {
    grid-template-columns: 1fr !important;
  }

  .calc-metric-item {
    border-right: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
    justify-content: space-between !important;
    padding: 16px 20px !important;
  }

  .calc-metric-item:last-child {
    border-bottom: none !important;
  }

  /* Navbar Mobile Responsiveness */
  .nav {
    height: 64px !important;
    padding: 0 16px !important;
    top: 10px !important;
    width: calc(100% - 20px) !important;
    border-radius: 20px !important;
  }

  .desktop-navlinks,
  .desktop-navbtn {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
  }

  /* Universal Section Padding for Mobile */
  .hero {
    padding-top: 100px !important;
    padding-bottom: 50px !important;
  }

  .pricing-page-wrap,
  .contact-page-wrap {
    padding-top: 90px !important;
    padding-bottom: 60px !important;
  }

  .cta-section-wrap {
    padding: 40px 14px !important;
  }

  /* Hero Mobile Action Buttons Stacking */
  .hero .actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
  }

  .hero .actions .btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 14px 20px !important;
    box-sizing: border-box !important;
  }

  /* CTA Section Mobile Button Stacking */
  .cta-section-wrap button {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Contact Page Grid Stacking */
  .contact-form-row {
    grid-template-columns: 1fr !important;
  }

  /* Pricing Calculator Mobile Adaptations */
  #calculator-section {
    padding: 0 4px !important;
  }

  /* Prevent iOS Input Auto-Zoom (Font size >= 16px) */
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  textarea {
    font-size: 16px !important;
  }

  /* Button Touch Target Optimization */
  button, .btn, a {
    touch-action: manipulation;
  }
}

@media (max-width: 640px) {
  .feature-scroll-heading {
    font-size: 28px !important;
  }

  .feature-row-title {
    font-size: 20px !important;
  }

  .feature-row-desc {
    font-size: 14px !important;
  }
}

/* ------------------------------------------------------------------ */
/* PHP port additions                                                   */
/* ------------------------------------------------------------------ */

/*
 * Several elements carry an inline `display` (ported from React's style={{}}
 * objects) which would otherwise beat the user-agent `[hidden]` rule, so
 * toggling the hidden attribute from JS/PHP needs this override.
 */
[hidden] {
  display: none !important;
}

/*
 * Hover states that used to live in onMouseEnter / onMouseLeave handlers.
 * !important is required because the base colours are inline styles.
 */
.cta-btn-dark:hover,
.calc-buy-btn:hover {
  background: #27272a !important;
  border-color: #27272a !important;
}

.cta-btn-light:hover {
  background: #f4f4f5 !important;
  border-color: #d4d4d8 !important;
}

.contact-submit-btn:hover {
  background: #b91c1c !important;
}

/* ── Legal pages (terms / privacy / refund) ─────────────────────────── */
.legal-page-wrap {
  padding: 120px 0 90px;
  background: #ffffff;
  min-height: 100vh;
}

.legal-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 9999px;
  border: 1px solid #111827;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #111827;
  margin-bottom: 24px;
}

.legal-title {
  font-size: 42px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.legal-updated {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 32px;
}

.legal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 28px;
  margin-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
}

.legal-tabs a {
  padding: 8px 16px;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.legal-tabs a:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.legal-tabs a.active {
  background: #fef2f2;
  border-color: #fecaca;
  color: #dc2626;
}

.legal-body {
  font-size: 15px;
  line-height: 1.75;
  color: #334155;
}

.legal-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
  margin: 44px 0 14px;
  scroll-margin-top: 100px;
}

.legal-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 24px 0 8px;
}

.legal-body p {
  margin: 0 0 14px;
}

.legal-body ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.legal-body li {
  margin-bottom: 8px;
}

.legal-body li::marker {
  color: #dc2626;
}

.legal-body strong {
  color: #0f172a;
  font-weight: 600;
}

.legal-body a {
  color: #dc2626;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-body ul.legal-contact {
  list-style: none;
  padding: 20px 24px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.legal-body ul.legal-contact li:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .legal-page-wrap {
    padding: 100px 0 60px;
  }

  .legal-inner {
    padding: 0 16px;
  }

  .legal-title {
    font-size: 32px;
  }

  .legal-body h2 {
    font-size: 19px;
    margin-top: 36px;
  }
}
