/* ==========================================================================
   PHOENIX SYNDICATE B2B LANDING PAGE STYLESHEET
   Design System: Premium Dark Mode with Deadpool Red & Gold Accents
   ========================================================================== */

/* Variables & Theme Settings */
:root {
  --bg-dark: #090a0c;
  --bg-darker: #050607;
  --bg-card: rgba(18, 19, 22, 0.75);
  --bg-card-hover: rgba(26, 27, 31, 0.9);
  
  --color-primary: #e61c2b;
  --color-primary-rgb: 230, 28, 43;
  --color-primary-hover: #ff2e3b;
  
  --color-gold: #ffc83b;
  --color-gold-rgb: 255, 200, 59;
  --color-gold-hover: #ffd35c;
  
  --color-green: #2ebb52;
  --color-green-rgb: 46, 187, 82;
  
  --text-white: #ffffff;
  --text-primary: #f5f6f8;
  --text-muted: #8e959d;
  
  --border-color: rgba(230, 28, 43, 0.15);
  --border-color-glow: rgba(230, 28, 43, 0.4);
  
  --font-headline: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  --glass-backdrop: blur(16px);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
  background: #1f2125;
  border-radius: 5px;
  border: 2px solid var(--bg-darker);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* Helper Layout Classes */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  position: relative;
  z-index: 2;
}

.section-padding {
  padding: 100px 0;
}

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

.bg-darker {
  background-color: var(--bg-darker);
}

.text-center {
  text-align: center;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-white);
}

/* Background grid and ambient glows */
.bg-grid-decor {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  pointer-events: none;
  z-index: 1;
  opacity: 0.15;
}

.bg-grid-line {
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  height: 100%;
}

.radial-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(130px);
  opacity: 0.12;
}

.glow-1 {
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
  top: -200px;
  right: -100px;
}

.glow-2 {
  background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
  bottom: -200px;
  left: -200px;
}

/* Button UI Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-weight: 600;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
  font-size: 1rem;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #b81420 100%);
  color: var(--text-white);
  box-shadow: 0 4px 20px rgba(230, 28, 43, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.75s ease;
  z-index: -1;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-hover) 0%, #d81827 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(230, 28, 43, 0.55);
}

.btn-primary:hover::before {
  left: 150%;
}

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

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
}

/* Section Headers */
.section-header {
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-subtitle-tag {
  display: inline-block;
  font-family: var(--font-headline);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  margin-bottom: 12px;
  border: 1px solid rgba(230, 28, 43, 0.2);
  padding: 4px 12px;
  border-radius: 4px;
  background-color: rgba(230, 28, 43, 0.05);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-description {
  color: var(--text-muted);
  font-size: 1.125rem;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background-color: rgba(9, 10, 12, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: var(--glass-backdrop);
}

.header-container {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 44px;
  width: 44px;
  transition: var(--transition-fast);
  filter: drop-shadow(0 2px 8px rgba(230, 28, 43, 0.45));
}

.logo-img:hover {
  transform: rotate(10deg) scale(1.05);
  filter: drop-shadow(0 4px 12px rgba(230, 28, 43, 0.65));
}

.logo-text {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-white);
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.logo-text .highlight {
  color: var(--color-primary);
}

.nav-desktop .nav-list {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 0;
  position: relative;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
  color: var(--text-white);
}

.nav-link:hover::after {
  width: 100%;
  left: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
  white-space: nowrap;
  font-size: 0.9rem;
}

.header-actions .btn {
  padding: 8px 14px;
  font-size: 0.8125rem;
  white-space: nowrap;
  border-radius: 6px;
  height: 38px;
}

.phone-link:hover {
  color: var(--color-primary);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-white);
  transition: var(--transition-fast);
}

@media (max-width: 1024px) {
  .nav-desktop {
    display: none;
  }
  .phone-text {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  transform: translateX(100%);
  width: 300px;
  height: 100vh;
  background-color: #0b0c0f;
  z-index: 99;
  padding: 100px 30px 40px 30px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  border-left: 1px solid var(--border-color);
  visibility: hidden;
  pointer-events: none;
}

.mobile-nav-drawer.active {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 1.25rem;
  transition: var(--transition-fast);
}

.mobile-nav-link:hover {
  color: var(--color-primary);
}

.mobile-nav-list .separator {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.05);
  margin: 10px 0;
}

.mobile-phone-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-white);
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 600;
}

.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}

.hero-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 60% 40%, rgba(230, 28, 43, 0.08) 0%, transparent 60%),
              linear-gradient(180deg, var(--bg-dark) 0%, rgba(9, 10, 12, 0.8) 50%, var(--bg-dark) 100%);
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 950px;
}

.tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(230, 28, 43, 0.1);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(230, 28, 43, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(230, 28, 43, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(230, 28, 43, 0); }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

@media (min-width: 992px) {
  .hero-title {
    white-space: nowrap;
  }
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary) 30%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 20px;
  font-weight: 400;
}

.hero-subtitle strong {
  font-weight: 700;
  color: var(--color-primary);
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 40px;
  max-width: 680px;
}

.hero-actions-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.arrow-icon {
  transition: transform 0.2s ease;
}

.btn-primary:hover .arrow-icon {
  transform: translateX(4px);
}

.hero-metrics {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  max-width: 280px;
  width: 100%;
  padding: 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0);
  border: 1px solid rgba(255, 255, 255, 0);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: default;
}

.metric-item:hover {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.metric-val {
  font-family: var(--font-headline);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-white);
  transition: color 0.3s ease, text-shadow 0.3s ease;
  margin-bottom: 4px;
}

.metric-item:hover .metric-val {
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
}

.metric-val .highlight {
  font-size: 1.125rem;
  color: var(--color-primary);
}

.metric-val.highlight-val {
  color: var(--color-primary);
}

.metric-lbl {
  font-size: 0.8125rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.metric-item:hover .metric-lbl {
  color: var(--text-white);
}

.hero-scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-mouse {
  display: block;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 13px;
  position: relative;
}

.scroll-wheel {
  display: block;
  width: 4px;
  height: 8px;
  background-color: var(--color-primary);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollAnim 1.6s infinite;
}

@keyframes scrollAnim {
  0% { opacity: 0; top: 6px; }
  30% { opacity: 1; }
  100% { opacity: 0; top: 22px; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1.25rem; }
  .hero-actions-group { flex-direction: column; }
  .hero-actions-group .btn { width: 100%; }
  .hero-metrics { flex-direction: column; gap: 20px; }
}


/* Problem vs Solution */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .compare-grid {
    grid-template-columns: 1fr;
  }
}

.compare-card {
  background-color: var(--bg-card);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  backdrop-filter: var(--glass-backdrop);
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
}

.compare-bad {
  border: 1px solid rgba(255, 59, 48, 0.1);
}

.compare-good {
  border: 1px solid rgba(46, 187, 82, 0.15);
  box-shadow: 0 8px 32px rgba(46, 187, 82, 0.05);
}

.compare-card:hover {
  transform: translateY(-5px);
}

.compare-bad:hover {
  border-color: rgba(255, 59, 48, 0.3);
  box-shadow: 0 8px 32px rgba(255, 59, 48, 0.05);
}

.compare-good:hover {
  border-color: rgba(46, 187, 82, 0.4);
  box-shadow: 0 8px 32px rgba(46, 187, 82, 0.1);
}

.card-status-badge {
  display: inline-block;
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.badge-bad {
  background-color: rgba(255, 59, 48, 0.1);
  color: #ff3b30;
  border: 1px solid rgba(255, 59, 48, 0.2);
}

.badge-good {
  background-color: rgba(46, 187, 82, 0.1);
  color: var(--color-green);
  border: 1px solid rgba(46, 187, 82, 0.2);
}

.compare-title {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.compare-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
}

.red-icon {
  background-color: rgba(255, 59, 48, 0.1);
  color: #ff3b30;
}

.green-icon {
  background-color: rgba(46, 187, 82, 0.15);
  color: var(--color-green);
}

.list-content {
  font-size: 0.9375rem;
  color: var(--text-primary);
}

.list-content strong {
  display: block;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 4px;
}

.compare-bad .list-content strong {
  text-decoration: line-through;
  opacity: 0.6;
}

.trigger-fact-box {
  background: rgba(255, 200, 59, 0.03);
  border: 1px solid rgba(255, 200, 59, 0.15);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 40px;
}

.fact-icon {
  flex-shrink: 0;
}

.fact-text {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-primary);
}

.gold-text {
  color: var(--color-gold);
  font-weight: 700;
  font-family: var(--font-headline);
}

@media (max-width: 576px) {
  .trigger-fact-box {
    flex-direction: column;
    text-align: center;
  }
}


/* Mechanics Timeline */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-primary) 0%, rgba(230, 28, 43, 0.1) 100%);
}

.timeline-item {
  position: relative;
  padding-left: 100px;
  margin-bottom: 60px;
}

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

.timeline-badge-num {
  position: absolute;
  left: 20px;
  top: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--bg-darker);
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1.125rem;
  box-shadow: 0 0 15px rgba(230, 28, 43, 0.3);
  z-index: 3;
}

.timeline-content {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-backdrop);
}

.timeline-image-holder {
  width: 100%;
  height: 260px; /* Increased from 180px for desktop to show images fully without heavy face cropping */
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  background-color: var(--bg-darker);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-image-holder.map-holder {
  height: auto;
  max-width: 480px; /* Limit map size so it doesn't take too much vertical height */
  aspect-ratio: 1 / 1; /* Make the map a perfect square to avoid black bars on the sides */
  margin-left: auto;
  margin-right: auto;
}

.timeline-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  transition: transform 0.5s ease;
}

.timeline-img.map-fit {
  object-fit: contain;
  padding: 12px;
}

.timeline-img.img-focus-top {
  object-position: center 15%; /* Shifting down to center the face in landscape crops */
}

.timeline-content:hover .timeline-img {
  transform: scale(1.05);
}

.timeline-step-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.timeline-step-text {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

@media (min-width: 769px) {
  .timeline-content {
    display: flex;
    align-items: center;
    gap: 30px;
  }
  .timeline-image-holder {
    flex-shrink: 0;
    width: 280px;
    height: 200px; /* Ideal desktop height when side-by-side */
    margin-bottom: 0; /* Remove bottom margin since it's side-by-side */
  }
  .timeline-image-holder.map-holder {
    width: 240px;
    height: 240px; /* Square layout for the map */
  }
  .timeline-text-holder {
    flex: 1;
  }
}


/* Win-Win Model Diagram */
.winwin-container {
  max-width: 1000px;
  margin: 0 auto;
}

.winwin-diagram {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .winwin-diagram {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.diagram-col {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-backdrop);
}

.col-left {
  border: 1px solid var(--border-color);
}

.col-right {
  border: 1px solid rgba(255, 200, 59, 0.15);
}

.diagram-header {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.col-left .diagram-header { color: var(--color-primary); }
.col-right .diagram-header { color: var(--color-gold); }

.diagram-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.diagram-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.9375rem;
}

.item-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
  flex-shrink: 0;
}

.gold-dot {
  background-color: var(--color-gold);
}

.diagram-footer {
  text-align: center;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.text-red { color: var(--color-primary); }
.text-gold { color: var(--color-gold); }

.diagram-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.flow-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-darker);
  border: 2px solid var(--border-color);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(230, 28, 43, 0.1);
  z-index: 2;
}

.flow-line {
  width: 2px;
  height: 120px;
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
  .diagram-flow {
    display: none;
  }
}

.winwin-explanation {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
}

.winwin-explanation p {
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 1rem;
}

.winwin-explanation p:last-child {
  margin-bottom: 0;
}

.winwin-explanation strong {
  color: var(--text-white);
}


/* Hard Numbers Data Block */
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

@media (max-width: 992px) {
  .analytics-grid {
    grid-template-columns: 1fr;
  }
}

.analytics-card {
  background-color: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-backdrop);
}

.chart-card-title {
  font-size: 1.25rem;
  margin-bottom: 30px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 15px;
}

/* Horizontal Bar chart styling */
.bar-chart-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bar-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bar-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
}

.bar-label {
  color: var(--text-primary);
  font-weight: 500;
}

.bar-value {
  font-family: var(--font-headline);
  font-weight: 800;
  color: var(--color-primary);
}

.bar-track {
  height: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-gold) 100%);
  border-radius: 4px;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Donut chart SVG styling */
.donut-chart-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.circular-chart {
  display: block;
  margin: 0 auto;
  max-width: 220px;
  max-height: 220px;
}

.circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.03);
  stroke-width: 3.8;
}

.circle-segment {
  fill: none;
  stroke-width: 3.8;
  stroke-linecap: round;
  transition: stroke-dasharray 1.2s ease-in-out;
}

.circle-red { stroke: var(--color-primary); }
.circle-gold { stroke: var(--color-gold); }
.circle-grey { stroke: rgba(255, 255, 255, 0.2); }

.chart-center-text {
  text-anchor: middle;
}

.chart-number {
  font-family: var(--font-headline);
  font-size: 5px;
  font-weight: 800;
  fill: var(--text-white);
}

.chart-label {
  font-size: 1.8px;
  fill: var(--text-muted);
  font-weight: 500;
}

.chart-legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.legend-color {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  display: block;
}

.bg-red { background-color: var(--color-primary); }
.bg-gold { background-color: var(--color-gold); }
.bg-grey { background-color: rgba(255, 255, 255, 0.2); }

.chart-notes {
  margin-top: 30px;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 15px;
}

/* Scale Stats block */
.scale-stats-box {
  background: linear-gradient(135deg, rgba(230, 28, 43, 0.03) 0%, rgba(9, 10, 12, 0.95) 100%);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-backdrop);
}

.scale-title {
  font-size: 1.5rem;
  margin-bottom: 30px;
  text-align: center;
}

.scale-grid {
  display: flex;
  align-items: center;
  gap: 40px;
}

.scale-item {
  flex: 1;
  text-align: center;
}

.scale-num {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--color-primary);
  display: block;
  margin-bottom: 12px;
  text-shadow: 0 0 25px rgba(230, 28, 43, 0.2);
}

.scale-desc {
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.5;
  max-width: 320px;
  margin: 0 auto;
}

.scale-item-divider {
  width: 1px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
  .scale-grid {
    flex-direction: column;
    gap: 30px;
  }
  .scale-item-divider {
    width: 80px;
    height: 1px;
  }
  .scale-num {
    font-size: 2rem;
  }
}


/* Counters & Trust Block */
.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

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

@media (max-width: 576px) {
  .counters-grid {
    grid-template-columns: 1fr;
  }
}

.counter-card {
  background-color: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-backdrop);
}

.counter-number-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  font-family: var(--font-headline);
  font-weight: 900;
  color: var(--text-white);
  margin-bottom: 12px;
}

.counter-val {
  font-size: 2.75rem;
  background: linear-gradient(135deg, var(--text-white) 30%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.counter-suffix {
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-left: 4px;
}

.counter-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Logos Marquee */
.marquee-section {
  background-color: var(--bg-card);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 40px;
  overflow: hidden;
}

.marquee-title {
  text-align: center;
  font-size: 1.125rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 30px;
}

.marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
}

/* Blur overlay for sides of marquee */
.marquee-container::before,
.marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(90deg, #0d0e11 0%, transparent 100%);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(-90deg, #0d0e11 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 40px;
  animation: marqueeRun 28s linear infinite;
  width: max-content;
}

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

.marquee-logo {
  height: 60px;
  padding: 0 32px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marquee-logo span {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-muted);
  opacity: 0.6;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.marquee-logo:hover span {
  color: var(--color-primary);
  opacity: 1;
}


/* Section FOMO & Exclusivity */
.bg-gradient-exclusivity {
  background: radial-gradient(circle at 50% 50%, rgba(230, 28, 43, 0.05) 0%, var(--bg-darker) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding: 120px 0;
}

.exclusivity-box {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(230, 28, 43, 0.05) 0%, rgba(9, 10, 12, 0.98) 100%);
  border: 1.5px solid var(--color-primary);
  border-radius: 24px;
  padding: 60px 40px;
  box-shadow: 0 10px 40px rgba(230, 28, 43, 0.15);
}

.exclusivity-badge {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--text-white);
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: 4px;
  margin-bottom: 24px;
}

.exclusivity-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.exclusivity-text {
  font-size: 1.125rem;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.exclusivity-text strong {
  color: var(--color-primary);
}

.exclusivity-highlight {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .exclusivity-box { padding: 40px 24px; }
  .exclusivity-title { font-size: 1.85rem; }
}


/* Footer & Contact Lead Form */
.bg-footer-dark {
  background-color: #050607;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

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

.footer-logo {
  margin-bottom: 24px;
}

.contact-panel-title {
  font-size: 2.25rem;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.contact-panel-desc {
  color: var(--text-muted);
  font-size: 1.0625rem;
  margin-bottom: 40px;
  max-width: 500px;
}

.direct-contacts {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background-color: rgba(230, 28, 43, 0.08);
  border: 1px solid rgba(230, 28, 43, 0.15);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.method-details {
  display: flex;
  flex-direction: column;
}

.method-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.method-val {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-white);
  text-decoration: none;
  transition: var(--transition-fast);
}

.method-val:hover {
  color: var(--color-primary);
}

.social-chats-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
}

.social-chat-title {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.social-chat-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.chat-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 12px 24px;
  border-radius: 6px;
  color: var(--text-white);
  transition: var(--transition-fast);
}

.chat-tg {
  background-color: #2481cc;
  box-shadow: 0 4px 15px rgba(36, 129, 204, 0.2);
}

.chat-tg:hover {
  background-color: #288edc;
  transform: translateY(-2px);
}

.chat-viber {
  background-color: #7360f2;
  box-shadow: 0 4px 15px rgba(115, 96, 242, 0.2);
}

.chat-viber:hover {
  background-color: #816ff4;
  transform: translateY(-2px);
}

/* Contact Lead Form Panel */
.contact-form-panel {
  background-color: #0e1013;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--glass-shadow);
  position: relative;
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.form-subtitle {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 30px;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: opacity 0.3s ease;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.form-group-row {
  display: flex;
  gap: 20px;
}

@media (max-width: 576px) {
  .form-group-row {
    flex-direction: column;
    gap: 20px;
  }
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.form-input {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  height: 52px;
  padding: 0 16px;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: var(--transition-fast);
}

.form-input:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--color-primary);
  box-shadow: 0 0 10px rgba(230, 28, 43, 0.15);
}

.select-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%238e959d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}

.select-input option {
  background-color: #0e1013;
  color: var(--text-white);
}

.form-success-state {
  display: none;
  text-align: center;
  padding: 40px 0;
}

.success-icon-wrap {
  margin-bottom: 24px;
}

.success-title {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--text-white);
}

.success-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.copyright {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(142, 149, 157, 0.5);
  max-width: 600px;
}


/* Niche Checker Modal Widget */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 6, 7, 0.85);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: var(--glass-backdrop);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background-color: #0b0c0f;
  border: 1px solid var(--border-color);
  width: 100%;
  max-width: 520px;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
  margin: 0 20px;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 10;
}

.modal-close-btn:hover {
  color: var(--text-white);
  transform: rotate(90deg);
}

.modal-step {
  display: none;
  padding: 40px;
}

.modal-step.active {
  display: block;
}

.modal-header {
  text-align: center;
  margin-bottom: 30px;
}

.modal-icon-header {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(230, 28, 43, 0.08);
  border: 1px solid rgba(230, 28, 43, 0.15);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.modal-title {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.modal-subtitle {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-footer {
  margin-top: 30px;
}

/* Spinner and Scanning widget styling */
.modal-loading-body {
  padding: 60px 0;
}

.spinner-container {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto 30px auto;
}

.spinner-ring {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 90px;
  height: 90px;
  border: 4px solid var(--color-primary);
  border-radius: 50%;
  animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: var(--color-primary) transparent transparent transparent;
}

.spinner-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--color-gold);
  box-shadow: 0 0 15px var(--color-gold);
}

.radar-ping {
  position: absolute;
  top: 0;
  left: 0;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  opacity: 0;
  animation: ping 1.8s ease-out infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes ping {
  0% { transform: scale(0.8); opacity: 0; }
  50% { opacity: 0.4; }
  100% { transform: scale(1.6); opacity: 0; }
}

.loading-title {
  font-size: 1.125rem;
  margin-bottom: 20px;
}

.loading-logs {
  background-color: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 14px;
  height: 90px;
  overflow: hidden;
  text-align: left;
}

.log-line {
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--color-green);
  margin-bottom: 6px;
  line-height: 1.4;
}

/* Success result styles */
.success-badge-pulse {
  display: inline-block;
  background-color: rgba(46, 187, 82, 0.1);
  border: 1px solid rgba(46, 187, 82, 0.25);
  color: var(--color-green);
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  animation: glowPulse 2s infinite;
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 187, 82, 0.2); }
  70% { box-shadow: 0 0 0 8px rgba(46, 187, 82, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 187, 82, 0); }
}

.final-success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(46, 187, 82, 0.08);
  border: 1px solid rgba(46, 187, 82, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px auto;
  color: var(--color-green);
}


/* Scroll Animations triggers */
[class*="reveal-"] {
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-fade-in {
  transform: translateY(0);
}

.reveal-slide-up {
  transform: translateY(50px);
}

.reveal-slide-down {
  transform: translateY(-50px);
}

.reveal-slide-left {
  transform: translateX(-50px);
}

.reveal-slide-right {
  transform: translateX(50px);
}

.reveal-scale-in {
  transform: scale(0.94);
}

/* Revealed states */
[class*="reveal-"].revealed {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Sequential transition delays for smooth reveal flow */
.timeline-item:nth-child(1) { transition-delay: 0s; }
.timeline-item:nth-child(2) { transition-delay: 0.1s; }
.timeline-item:nth-child(3) { transition-delay: 0.2s; }
.timeline-item:nth-child(4) { transition-delay: 0.3s; }

.counter-card:nth-child(1) { transition-delay: 0s; }
.counter-card:nth-child(2) { transition-delay: 0.15s; }
.counter-card:nth-child(3) { transition-delay: 0.3s; }
.counter-card:nth-child(4) { transition-delay: 0.45s; }

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }
.delay-5 { animation-delay: 0.75s; }

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ==========================================================================
   ADVANCED STYLES: PARTICLES, CUSTOM CURSOR, AND 3D TILT
   ========================================================================== */

#particlesCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.8;
}

/* Custom Cursor styles */


/* ==========================================================================
   ADVANCED STYLES: PARTICLES AND 3D TILT
   ========================================================================== */

#particlesCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.8;
}

/* 3D Perspective Tilt adjustments */
.compare-card, .diagram-col {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: border-color var(--transition-fast), 
              box-shadow var(--transition-smooth), 
              transform 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Make sure child elements look layered in 3D */
.compare-card *, .diagram-col * {
  transform: translateZ(20px);
}

/* Splash Screen Entrance Widget */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #050607;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.splash-screen.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
  cursor: pointer;
}

.splash-logo-img {
  width: 160px;
  height: 160px;
  margin-bottom: 24px;
  transition: filter 0.4s ease, transform 0.4s ease;
  filter: drop-shadow(0 0 20px rgba(230, 28, 43, 0.5));
}

.splash-screen:hover .splash-logo-img {
  transform: scale(1.06);
  filter: drop-shadow(0 0 35px rgba(230, 28, 43, 0.85));
}

.splash-logo-text {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--text-white);
  letter-spacing: -0.03em;
  margin-top: 10px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.splash-logo-text .highlight {
  color: var(--color-primary);
}

.splash-click-prompt {
  font-family: var(--font-headline);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  animation: splashPulse 2s infinite;
  margin-top: 15px;
}

@keyframes splashPulse {
  0% { opacity: 0.4; transform: scale(0.98); }
  50% { opacity: 1; color: var(--color-primary); transform: scale(1.02); }
  100% { opacity: 0.4; transform: scale(0.98); }
}

/* Responsive Overrides to prevent horizontal scrolling on mobile */
@media (max-width: 768px) {
  .timeline-line {
    display: none;
  }
  .timeline-item {
    padding-left: 0;
    margin-bottom: 40px;
  }
  .timeline-badge-num {
    position: static;
    margin-bottom: 16px;
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }
  .timeline-content {
    padding: 20px;
  }
  .timeline-image-holder {
    height: 180px; /* Keep photo containers compact on mobile */
  }
  .timeline-image-holder.map-holder {
    height: auto;
    max-width: 100%;
    aspect-ratio: 1 / 1; /* Keep the map square on mobile as well */
  }
  .container {
    padding: 0 20px;
  }
}

/* Contact Modal Messenger Buttons */
.contact-modal-container {
  padding: 40px;
}

.messenger-buttons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 10px;
  margin-bottom: 24px;
}

@media (max-width: 480px) {
  .messenger-buttons-grid {
    grid-template-columns: 1fr;
  }
}

.messenger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-white);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.messenger-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
}

.telegram-btn {
  background: linear-gradient(135deg, #0088cc 0%, #00a2ed 100%);
  box-shadow: 0 4px 15px rgba(0, 136, 204, 0.25);
}

.telegram-btn:hover {
  box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
}

.viber-btn {
  background: linear-gradient(135deg, #7360f2 0%, #8f7efc 100%);
  box-shadow: 0 4px 15px rgba(115, 96, 242, 0.25);
}

.viber-btn:hover {
  box-shadow: 0 6px 20px rgba(115, 96, 242, 0.4);
}

.messenger-icon {
  flex-shrink: 0;
}

.modal-phone-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.825rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 20px 0;
}

.modal-phone-divider::before,
.modal-phone-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-phone-divider span {
  padding: 0 12px;
}

.modal-phone-block {
  margin-top: 10px;
}

.modal-phone-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--color-primary);
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.modal-phone-link:hover {
  transform: scale(1.03);
  color: var(--text-white);
}

/* Mobile Header Adjustments */
@media (max-width: 576px) {
  .logo-text {
    display: none !important;
  }
  .header-actions .btn {
    padding: 6px 12px;
    font-size: 0.75rem;
    height: 34px;
  }
  .header-container {
    height: 70px;
  }
  .header-actions {
    gap: 12px;
  }
}
