/* ==========================================================================
   1. VARIABLES, RESET & GLOBAL STYLES
   ========================================================================== */
:root {
  --color-bg-dark: #07070a;
  --color-bg-card: rgba(18, 18, 26, 0.7);
  --color-bg-card-hover: rgba(26, 26, 38, 0.9);
  --color-primary: #6c5dd3;
  --color-primary-glow: rgba(108, 93, 211, 0.15);
  --color-secondary: #00f2fe;
  --color-secondary-glow: rgba(0, 242, 254, 0.15);
  --color-text-main: #f3f3f6;
  --color-text-muted: #9fa4bc;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-active: rgba(108, 93, 211, 0.4);
  --font-heading: "Poppins", sans-serif;
  --font-body: "Roboto", sans-serif;
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --container-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-bg-dark);
  color: var(--color-text-main);
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    var(--color-primary-glow) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  top: -100px;
  right: -100px;
  z-index: -1;
  pointer-events: none;
}

/* ==========================================================================
   2. REUSABLE UTILITIES & COMPONENTS
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  position: relative;
  overflow: hidden;
}

.section {
  padding: 100px 0;
}

.section-header {
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--color-primary-glow);
  border: 1px solid var(--color-border-active);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-secondary);
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(
    135deg,
    var(--color-secondary) 0%,
    var(--color-primary) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-intro {
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

.text-center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #5b4dbd 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(108, 93, 211, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 93, 211, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-main);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-secondary);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-dark);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* ==========================================================================
   3. PRELOADER STYLES
   ========================================================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-bg-dark);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.preloader-content {
  text-align: center;
}

.preloader-logo img {
  height: 50px;
  margin-bottom: 24px;
  filter: invert(1);
  animation: pulseLogo 2s infinite ease-in-out;
}

.preloader-bar {
  width: 160px;
  height: 2px;
  background: var(--color-border);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.preloader-progress {
  width: 0%;
  height: 100%;
  background: var(--color-secondary);
  animation: progressFill 1.8s forwards cubic-bezier(0.1, 0.8, 0.1, 1);
}

@keyframes pulseLogo {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

@keyframes progressFill {
  to {
    width: 100%;
  }
}

/* ==========================================================================
   4. NAVIGATION HEADER
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-smooth);
}

.header.active-header {
  background: rgba(7, 7, 10, 0.85);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 60px;
  width: auto;
  display: block;
  filter: invert(1);
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-text-main);
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -6px;
  left: 0;
  background: var(--color-secondary);
  transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu-toggle {
  display: none;
  color: var(--color-text-main);
  font-size: 1.4rem;
  cursor: pointer;
}

.nav-close {
  display: none;
  background: none;
  border: none;
  color: var(--color-text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 160px 0 100px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(108, 93, 211, 0.12) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  top: 50%;
  left: -200px;
  transform: translateY(-50%);
  z-index: -1;
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-actions-group {
  display: flex;
  gap: 16px;
  margin-bottom: 50px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--color-border);
  padding-top: 30px;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.visual-interactive-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 30px;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  position: relative;
}

.visual-interactive-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    var(--color-secondary),
    transparent,
    var(--color-primary)
  );
  z-index: -1;
  opacity: 0.3;
}

.card-glass-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 16px;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.window-dots span:nth-child(1) {
  background: #ff5f56;
}
.window-dots span:nth-child(2) {
  background: #ffbd2e;
}
.window-dots span:nth-child(3) {
  background: #27c93f;
}

.window-title {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.performance-metric {
  margin-bottom: 20px;
}

.metric-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.metric-name {
  color: var(--color-text-muted);
}

.metric-value {
  font-weight: 700;
}

.progress-bar-container {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 3px;
}

.fill-cyan {
  background: var(--color-secondary);
}
.fill-violet {
  background: var(--color-primary);
}

.grid-chart-simulation {
  margin-top: 30px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 10px;
}

.simulated-chart-svg {
  width: 100%;
  height: auto;
}

/* ==========================================================================
   6. TICKER SECTION
   ========================================================================== */
.ticker-section {
  padding: 40px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.01);
}

.ticker-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.ticker-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.ticker-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: scrollTicker 25s linear infinite;
}

.ticker-item {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.7;
}

.ticker-item i {
  font-size: 1.5rem;
  color: var(--color-secondary);
}

@keyframes scrollTicker {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* ==========================================================================
   7. SERVICES GRID
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 40px 30px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  background: var(--color-bg-card-hover);
  transform: translateY(-5px);
  border-color: var(--color-border-active);
}

.service-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background: var(--color-primary-glow);
  border: 1px solid rgba(108, 93, 211, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon-wrapper i {
  font-size: 1.6rem;
  color: var(--color-secondary);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.service-bullets {
  list-style: none;
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
}

.service-bullets li {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.service-bullets li i {
  color: var(--color-secondary);
}

/* ==========================================================================
   8. ROI CALCULATOR
   ========================================================================== */
.calculator-section {
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.calculator-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 40px;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.calc-input-group {
  display: flex;
  flex-direction: column;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.calc-label-row label {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
}

.calc-label-row span {
  font-weight: 700;
  color: var(--color-secondary);
}

/* Range Input Styling */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}

input[type="range"]:focus {
  outline: none;
}

input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 8px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  border: 1px solid var(--color-border);
}

input[type="range"]::-webkit-slider-thumb {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -7px;
  box-shadow: 0 0 10px rgba(108, 93, 211, 0.5);
  transition: var(--transition-smooth);
}

input[type="range"]::-webkit-slider-thumb:hover {
  background: var(--color-secondary);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.8);
}

.calc-outputs {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.calc-output-card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.featured-output {
  background: var(--color-primary-glow);
  border-color: var(--color-border-active);
}

.output-label {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.output-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
}

.highlight-cyan {
  color: var(--color-secondary);
}

/* ==========================================================================
   9. PHILOSOPHY / ABOUT SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.philosophy-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.philosophy-box {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.primary-border::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--color-primary);
}

.secondary-border::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--color-secondary);
}

.ph-count {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 12px;
}

.philosophy-box h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.philosophy-box p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.about-desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

.about-key-points {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.key-point-item {
  display: flex;
  gap: 20px;
}

.key-point-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--color-secondary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.key-point-icon i {
  color: var(--color-secondary);
  font-size: 1.2rem;
}

.key-point-item h5 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.key-point-item p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ==========================================================================
   10. INTERACTIVE METRICS DASHBOARD
   ========================================================================== */
.metrics-dashboard-section {
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.dashboard-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  padding: 12px 24px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.dashboard-display {
  background: #0d0d14;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 30px;
}

.db-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.db-status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #27c93f;
  animation: blinkGlow 1.5s infinite;
}

@keyframes blinkGlow {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.db-period {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.db-content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.db-metric-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 24px;
}

.db-box-label {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.db-box-val {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.db-trend {
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.db-trend.up {
  color: #27c93f;
}
.db-trend.down {
  color: #ff5f56;
}

/* ==========================================================================
   11. INDUSTRY SECTIONS
   ========================================================================== */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.industry-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.industry-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-secondary);
}

.ind-bg-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(
    circle at top right,
    var(--color-secondary-glow) 0%,
    transparent 60%
  );
  z-index: -1;
  opacity: 0;
  transition: var(--transition-smooth);
}

.industry-card:hover .ind-bg-overlay {
  opacity: 1;
}

.industry-card i {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.industry-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.industry-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   12. TESTIMONIALS SLIDER
   ========================================================================== */
.testimonials-section {
  background: rgba(255, 255, 255, 0.01);
}

.testimonials-slider {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.testimonial-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 40px;
  position: relative;
}

.t-stars {
  color: #ffbd2e;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.t-quote {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 30px;
  color: var(--color-text-main);
}

.t-user {
  display: flex;
  align-items: center;
  gap: 16px;
}

.t-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.t-avatar i {
  color: var(--color-primary);
  font-size: 1.2rem;
}

.t-name {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
}

.t-role {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   13. CALL TO ACTION (CTA)
   ========================================================================== */
.cta-section {
  background: #0c0b11;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.cta-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    var(--color-primary-glow) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}

.cta-content-wrapper {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content-wrapper h2 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.cta-content-wrapper p {
  color: var(--color-text-muted);
  font-size: 1.15rem;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* ==========================================================================
   14. CONTACT PAGE SPECIFIC LAYOUTS
   ========================================================================== */
.page-header {
  background: linear-gradient(
    180deg,
    rgba(13, 13, 20, 0.8) 0%,
    var(--color-bg-dark) 100%
  );
  padding: 120px 0 60px 0;
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.breadcrumbs {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.breadcrumbs a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.breadcrumbs a:hover {
  color: var(--color-primary);
}

.breadcrumbs i {
  font-size: 0.75rem;
  margin: 0 8px;
}

.contact-page-section {
  padding: 80px 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.contact-info-panel {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 40px;
}

.contact-info-panel h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-info-panel p {
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

.contact-details-list {
  list-style: none;
}

.contact-details-list li {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-details-list li i {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--color-primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-details-list h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 4px;
}

.contact-details-list p,
.contact-details-list a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.contact-details-list a:hover {
  color: var(--color-secondary);
}

.contact-form-wrapper {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 14px 18px;
  color: var(--color-text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 10px rgba(108, 93, 211, 0.25);
}

.form-group select option {
  background: var(--color-bg-dark);
  color: var(--color-text-main);
}

/* Modal Popup Styles */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 7, 10, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.popup.active {
  display: flex;
  opacity: 1;
}

.popup-content {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-active);
  border-radius: 16px;
  padding: 50px 40px;
  max-width: 450px;
  width: 90%;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.popup.active .popup-content {
  transform: scale(1);
}

.popup-icon {
  font-size: 4rem;
  color: var(--color-secondary);
  margin-bottom: 20px;
}

.popup-content h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.popup-content p {
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

/* ==========================================================================
   15. LEGAL LAYOUTS & DOCUMENTATION SPREADS
   ========================================================================== */
.main-content {
  padding: 80px 0;
}

.page-content {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 50px;
  max-width: 900px;
  margin: 0 auto;
}

.page-content p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  line-height: 1.75;
}

.page-content h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 40px 0 16px 0;
  color: var(--color-text-main);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 10px;
}

.page-content h2:first-of-type {
  margin-top: 0;
}

/* ==========================================================================
   16. SHARED FOOTER
   ========================================================================== */
.footer {
  background: #040406;
  border-top: 1px solid var(--color-border);
  padding: 80px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 20px;
  filter: invert(1);
}

.footer-about-text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: var(--transition-smooth);
  text-decoration: none;
}

.social-links a:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--color-secondary);
  padding-left: 4px;
}

.footer-contact ul {
  list-style: none;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.footer-contact i {
  color: var(--color-secondary);
  margin-top: 4px;
}

.footer-contact a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-contact a:hover {
  color: var(--color-secondary);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* ==========================================================================
   17. LIVE CHAT WIDGET
   ========================================================================== */
.live-chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.chat-toggle-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, #5b4dbd 100%);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(108, 93, 211, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--transition-smooth);
}

.chat-toggle-btn:hover {
  transform: scale(1.05);
}

.chat-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-bg-dark);
}

.chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 320px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  display: none;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.chat-window.active {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.chat-window-header {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--color-border);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-user-status {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.chat-user-status h5 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
}

.chat-user-status span {
  display: block;
  font-size: 0.75rem;
  color: #27c93f;
}

.chat-close {
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.chat-close:hover {
  color: var(--color-text-main);
}

.chat-window-messages {
  height: 200px;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.message {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  max-width: 85%;
  line-height: 1.4;
}

.message.incoming {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-main);
  align-self: flex-start;
}

.message.outgoing {
  background: var(--color-primary);
  color: #fff;
  align-self: flex-end;
}

.chat-window-options {
  padding: 12px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-opt-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 8px;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  text-align: left;
  transition: var(--transition-smooth);
}

.chat-opt-btn:hover {
  background: var(--color-primary-glow);
  border-color: var(--color-primary);
  color: var(--color-text-main);
}

/* ==========================================================================
   18. INTERACTION DECORATIONS & SCROLL ANIMATION SYSTEM
   ========================================================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Delay modifiers for scroll reveals */
.scroll-reveal:nth-child(2) {
  transition-delay: 0.15s;
}
.scroll-reveal:nth-child(3) {
  transition-delay: 0.3s;
}

/* ==========================================================================
   19. RESPONSIVE BREAKPOINTS (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-title {
    font-size: 3rem;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-description {
    margin: 0 auto 30px auto;
  }
  .hero-actions-group {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .calculator-wrapper {
    grid-template-columns: 1fr;
  }
  .db-content-grid {
    grid-template-columns: 1fr;
  }
  .industry-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-slider {
    grid-template-columns: 1fr;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #07070a;
    flex-direction: column;
    justify-content: center;
    transition: 0.4s cubic-bezier(0.1, 0.8, 0.1, 1);
    z-index: 1001;
  }
  .nav-menu.active {
    right: 0;
  }
  .nav-list {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  .nav-link {
    font-size: 1.25rem;
  }
  .nav-close {
    display: block;
    position: absolute;
    top: 30px;
    right: 30px;
  }
  .header-actions .contactButton {
    display: none;
  }
  .section-title {
    font-size: 2rem;
  }
  .page-content {
    padding: 30px 20px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
