/* ==========================================================================
   RESET & VARIABLES
   ========================================================================== */
:root {
  /* Colors */
  --bg-dark: #070b14;
  --bg-surface: #111827;
  --bg-surface-light: #1f2937;
  --primary-cyan: #00f0ff;
  --primary-cyan-dim: rgba(0, 240, 255, 0.1);
  --secondary-purple: #8b5cf6;
  --secondary-purple-dim: rgba(139, 92, 246, 0.1);
  --text-main: #9ca3af;
  --text-heading: #f3f4f6;
  --text-white: #ffffff;
  --accent-green: #10b981;
  --border-color: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-sans: "Inter", sans-serif;
  --font-heading: "Space Grotesk", sans-serif;

  /* Effects */
  --shadow-glow-cyan: 0 0 20px rgba(0, 240, 255, 0.3);
  --shadow-glow-purple: 0 0 20px rgba(139, 92, 246, 0.3);
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.4);
  --transition-fast: 0.2s ease;
  --transition-base: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-surface-light);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-cyan);
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.text-gradient {
  background: linear-gradient(
    135deg,
    var(--primary-cyan) 0%,
    var(--secondary-purple) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-cyan {
  color: var(--primary-cyan);
}
.text-purple {
  color: var(--secondary-purple);
}
.text-green {
  color: var(--accent-green);
}
.bg-cyan {
  background-color: var(--primary-cyan);
}
.bg-purple {
  background-color: var(--secondary-purple);
}
.bg-cyan-dim {
  background-color: var(--primary-cyan-dim);
}
.bg-purple-dim {
  background-color: var(--secondary-purple-dim);
}

.text-center {
  text-align: center;
}
.w-full {
  width: 100%;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}
.margin-b-sm {
  margin-bottom: 0.5rem;
}
.margin-b-lg {
  margin-bottom: 2rem;
}
.padding-y {
  padding: 5rem 0;
}

.sub-heading {
  display: inline-block;
  color: var(--primary-cyan);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  position: relative;
}
.sub-heading::before,
.sub-heading::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 20px;
  height: 1px;
  background: var(--primary-cyan);
}
.sub-heading::before {
  right: 100%;
  margin-right: 10px;
}
.sub-heading::after {
  left: 100%;
  margin-left: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
  border: none;
  outline: none;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-cyan), #00a3ff);
  color: #000;
  box-shadow: var(--shadow-glow-cyan);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.6);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-heading);
}
.btn-outline:hover {
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
  background: rgba(0, 240, 255, 0.05);
}

.btn-glow {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}
.btn-glow::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 240, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}
.btn-glow:hover::before {
  left: 100%;
}
.btn-glow:hover {
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
}
.btn-glow i {
  font-size: 0.9em;
}

/* Animations & Reveals */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}
.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(0, 240, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 240, 255, 0);
  }
}
.pulse-anim {
  animation: pulseGlow 2s infinite;
}

/* ==========================================================================
   HEADER (STRICTLY CONSISTENT)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-base);
  background: transparent;
  padding: 1.5rem 0;
}
.site-header.scrolled {
  background: rgba(7, 11, 20, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}
.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-wrapper {
  display: flex;
  align-items: center;
}
.brand-logo {
  height: 40px;
  object-fit: contain;
}
.nav-menu {
  display: flex;
  gap: 2.5rem;
}
.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-cyan);
  transition: var(--transition-fast);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-link:hover,
.nav-link.active {
  color: var(--text-white);
}

.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1002;
}
.hamburger-menu .line {
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--text-white);
  transition: var(--transition-fast);
  left: 0;
}
.hamburger-menu .line-1 {
  top: 0;
}
.hamburger-menu .line-2 {
  top: 9px;
}
.hamburger-menu .line-3 {
  top: 18px;
}
.hamburger-menu.active .line-1 {
  transform: rotate(45deg);
  top: 9px;
}
.hamburger-menu.active .line-2 {
  opacity: 0;
}
.hamburger-menu.active .line-3 {
  transform: rotate(-45deg);
  top: 9px;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(7, 11, 20, 0.98);
  backdrop-filter: blur(15px);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-base);
}
.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.mobile-links {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.mobile-links a {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  color: var(--text-heading);
}

/* ==========================================================================
   HERO SECTION (Index)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}
.hero-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}
.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--primary-cyan);
  top: -100px;
  right: -100px;
  animation: float 10s ease-in-out infinite;
}
.orb-2 {
  width: 500px;
  height: 500px;
  background: var(--secondary-purple);
  bottom: -200px;
  left: -100px;
  animation: float 12s ease-in-out infinite reverse;
}
.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-content {
  max-width: 600px;
}
.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 20px;
  color: var(--primary-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}
.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: var(--text-main);
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}
.trust-indicators span {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  color: #6b7280;
}
.client-logos {
  display: flex;
  gap: 2rem;
  font-size: 2rem;
  color: #4b5563;
}
.client-logos i {
  transition: var(--transition-fast);
}
.client-logos i:hover {
  color: var(--text-white);
}

.hero-visual {
  position: relative;
  height: 500px;
  perspective: 1000px;
}
.floating-card {
  background: rgba(26, 34, 53, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  position: absolute;
  animation: float 6s ease-in-out infinite;
}
.card-main {
  width: 320px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotateY(-10deg);
  z-index: 2;
}
.card-header {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}
.metric-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.metric-row .value {
  color: var(--text-white);
}
.chart-mockup {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100px;
  margin-top: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}
.chart-mockup .bar {
  flex: 1;
  background: var(--bg-surface-light);
  border-radius: 4px 4px 0 0;
  transition: var(--transition-base);
}
.chart-mockup .bar:hover {
  background: var(--secondary-purple);
}
.bar.h-40 {
  height: 40%;
}
.bar.h-60 {
  height: 60%;
}
.bar.h-80 {
  height: 80%;
}
.bar.h-100 {
  height: 100%;
  box-shadow: var(--shadow-glow-cyan);
}

.card-small {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  z-index: 3;
}
.card-small i {
  font-size: 1.5rem;
}
.card-small h4 {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}
.card-small p {
  font-size: 0.8rem;
  color: var(--text-main);
}
.card-top-right {
  top: 10%;
  right: 0;
  animation-delay: 1s;
}
.card-bottom-left {
  bottom: 10%;
  left: 0;
  animation-delay: 2s;
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */
.stats-section {
  padding: 4rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: rgba(17, 24, 39, 0.4);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-box h3 {
  display: inline-block;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-white);
}
.stat-box span {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  color: var(--primary-cyan);
  font-weight: 700;
}
.stat-box p {
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
  padding: 8rem 0;
}
.section-header h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.section-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 4rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem 2rem;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at top right,
    rgba(139, 92, 246, 0.1),
    transparent 50%
  );
  opacity: 0;
  transition: var(--transition-base);
}
.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: var(--shadow-card);
}
.service-card:hover::before {
  opacity: 1;
}
.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-cyan);
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
}
.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.service-card p {
  margin-bottom: 1.5rem;
}
.service-features li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}
.service-features i {
  color: var(--accent-green);
  font-size: 0.8rem;
}

/* ==========================================================================
   ROI CALCULATOR SECTION
   ========================================================================== */
.calculator-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--bg-dark), var(--bg-surface));
}
.calculator-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 4rem;
}
.calc-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}
.calc-info p {
  margin-bottom: 2rem;
}
.calc-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cf-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}
.cf-item i {
  color: var(--primary-cyan);
  font-size: 1.2rem;
}

.calc-panel {
  background: var(--bg-dark);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
}
.input-group {
  margin-bottom: 2rem;
}
.input-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.input-header label {
  font-weight: 500;
  color: var(--text-white);
}
.input-header span {
  font-family: var(--font-heading);
  color: var(--primary-cyan);
  font-weight: 700;
}
/* Custom Range Input */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: var(--primary-cyan);
  cursor: pointer;
  margin-top: -8px;
  box-shadow: 0 0 10px var(--primary-cyan);
}
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: var(--bg-surface-light);
  border-radius: 2px;
}

.results-display {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px dashed var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.result-box h4 {
  font-size: 0.85rem;
  color: var(--text-main);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.result-box p {
  font-size: 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-white);
}
.arrow-icon {
  font-size: 1.5rem;
  color: var(--border-color);
}
.uplift {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.2rem 0.6rem;
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ==========================================================================
   DASHBOARD SECTION
   ========================================================================== */
.dashboard-section {
  padding: 8rem 0;
}
.dashboard-ui {
  max-width: 1000px;
  margin: 0 auto;
  background: #0a0e17;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  display: flex;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}
.dash-sidebar {
  width: 200px;
  background: #111827;
  border-right: 1px solid var(--border-color);
  padding: 1.5rem 0;
}
.dash-logo {
  padding: 0 1.5rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-white);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1rem;
}
.dash-nav li {
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition-fast);
}
.dash-nav li:hover,
.dash-nav li.active {
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary-cyan);
  border-left: 3px solid var(--primary-cyan);
}
.dash-main {
  flex: 1;
  padding: 2rem;
}
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.date-picker {
  background: #1f2937;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  border: 1px solid var(--border-color);
}
.dash-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.dm-card {
  background: #111827;
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 12px;
}
.dm-card.highlight {
  border-color: var(--primary-cyan);
  background: rgba(0, 240, 255, 0.05);
}
.dm-card span {
  font-size: 0.8rem;
  color: var(--text-main);
  text-transform: uppercase;
}
.dm-card h4 {
  font-size: 1.5rem;
  margin: 0.5rem 0;
}
.trend {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.trend.positive {
  color: var(--accent-green);
}

.dash-charts {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}
.chart-container {
  background: #111827;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
}
.chart-container h4 {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
.line-chart-mock {
  height: 200px;
  position: relative;
}
.line-chart-mock svg {
  width: 100%;
  height: 100%;
}
.chart-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px
  );
  background-size: 100% 25%;
  z-index: 0;
}
.donut-chart-mock {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.donut {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(
    var(--primary-cyan) 0% 60%,
    var(--secondary-purple) 60% 85%,
    #fff 85% 100%
  );
  position: relative;
  margin-bottom: 1.5rem;
}
.donut::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: #111827;
  border-radius: 50%;
}
.legend li {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* ==========================================================================
   INDUSTRIES SECTION
   ========================================================================== */
.industries-section {
  padding: 6rem 0;
  background: var(--bg-surface);
}
.industry-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.industry-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}
.industry-text p {
  margin-bottom: 2rem;
}
.industry-tabs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.tab-btn {
  text-align: left;
  padding: 1rem 1.5rem;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-white);
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition-base);
}
.tab-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}
.tab-btn.active {
  background: var(--primary-cyan-dim);
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease forwards;
}
.tab-content.active {
  display: block;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.tab-card {
  background: var(--bg-dark);
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}
.icon-bg {
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 10rem;
  opacity: 0.05;
  color: var(--primary-cyan);
}
.tab-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-white);
}
.tab-card p {
  margin-bottom: 2rem;
}
.tab-card ul {
  display: grid;
  gap: 1rem;
}
.tab-card li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-white);
}
.tab-card li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-cyan);
}

/* ==========================================================================
   PROCESS TIMELINE
   ========================================================================== */
.process-section {
  padding: 8rem 0;
}
.timeline {
  max-width: 800px;
  margin: 4rem auto 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  height: 100%;
  width: 2px;
  background: var(--border-color);
}
.timeline-item {
  position: relative;
  padding-left: 80px;
  margin-bottom: 4rem;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  background: var(--bg-dark);
  border: 2px solid var(--primary-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
  z-index: 2;
}
.timeline-content {
  background: var(--bg-surface);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  position: relative;
}
.timeline-content::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 20px;
  width: 20px;
  height: 20px;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  transform: rotate(45deg);
}
.timeline-content h3 {
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  padding: 6rem 0;
  background: var(--bg-surface);
  overflow: hidden;
}
.testimonial-slider {
  margin-top: 3rem;
  position: relative;
}
.testi-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease;
}
.testi-card {
  min-width: calc(33.333% - 1.33rem);
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
}
.quote-icon {
  color: var(--primary-cyan);
  font-size: 2rem;
  opacity: 0.5;
  margin-bottom: 1rem;
}
.feedback {
  font-size: 1.1rem;
  color: var(--text-white);
  flex-grow: 1;
  margin-bottom: 2rem;
  font-style: italic;
}
.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}
.avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
}
.text-dark {
  color: #000;
}
.client-info h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}
.client-info span {
  font-size: 0.8rem;
  color: var(--text-main);
}
.slider-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}
.slider-controls button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-white);
  cursor: pointer;
  transition: var(--transition-base);
}
.slider-controls button:hover {
  background: var(--primary-cyan);
  border-color: var(--primary-cyan);
  color: #000;
}

/* ==========================================================================
   SUPPORT / LIVE CHAT UI SECTION
   ========================================================================== */
.support-section {
  padding: 8rem 0;
}
.support-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.support-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}
.chat-mockup {
  background: #1a1d21; /* Slack-ish dark */
  border: 1px solid #35373b;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.chat-header {
  background: #222529;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #35373b;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #e8e8e8;
}
.status-dot {
  width: 10px;
  height: 10px;
  background: var(--accent-green);
  border-radius: 50%;
}
.chat-body {
  padding: 1.5rem;
  height: 250px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.msg {
  max-width: 80%;
}
.msg span {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  display: block;
}
.msg p {
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #e8e8e8;
}
.msg.received span {
  color: var(--primary-cyan);
}
.msg.received p {
  background: #222529;
  border-top-left-radius: 0;
}
.msg.sent {
  align-self: flex-end;
}
.msg.sent p {
  background: var(--secondary-purple);
  border-top-right-radius: 0;
}
.chat-input {
  padding: 1rem 1.5rem;
  border-top: 1px solid #35373b;
  display: flex;
  justify-content: space-between;
  color: #9ca3af;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
  padding: 8rem 0;
  position: relative;
  background: linear-gradient(0deg, var(--bg-surface), var(--bg-dark));
  overflow: hidden;
}
.particles-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    circle at 50% 50%,
    rgba(0, 240, 255, 0.1) 0%,
    transparent 60%
  );
  pointer-events: none;
}
.cta-content {
  max-width: 700px;
  margin: 0 auto;
}
.cta-content h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   FOOTER (STRICTLY CONSISTENT)
   ========================================================================== */
.site-footer {
  background: #05080f;
  border-top: 1px solid var(--border-color);
}
.footer-top {
  padding: 5rem 0;
}
.border-bottom {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
}
.footer-logo {
  display: inline-block;
  margin-bottom: 1.5rem;
}
.footer-logo img {
  height: 40px;
}
.footer-desc {
  margin-bottom: 2rem;
  font-size: 0.95rem;
}
.social-links {
  display: flex;
  gap: 1rem;
}
.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
}
.social-links a:hover {
  background: var(--primary-cyan);
  color: #000;
  transform: translateY(-3px);
}
.footer-heading {
  color: var(--text-white);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}
.footer-list li {
  margin-bottom: 0.8rem;
}
.footer-list a {
  color: var(--text-main);
}
.footer-list a:hover {
  color: var(--primary-cyan);
  padding-left: 5px;
}
.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}
.contact-details i {
  margin-top: 4px;
}
.footer-bottom {
  padding: 1.5rem 0;
  font-size: 0.85rem;
}
.bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bottom-badges {
  display: flex;
  gap: 1rem;
  font-size: 1.2rem;
  color: var(--text-main);
}

/* ==========================================================================
   INNER PAGES (CONTACT & LEGAL)
   ========================================================================== */
.inner-page {
  background: var(--bg-dark);
}
.page-hero {
  padding: 150px 0 80px;
  background: radial-gradient(
    circle at bottom,
    rgba(139, 92, 246, 0.15),
    transparent 60%
  );
  border-bottom: 1px solid var(--border-color);
}
.page-hero.compact {
  padding: 150px 0 50px;
}
.page-hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
}
.page-subtitle {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}
.glass-card {
  background: rgba(26, 34, 53, 0.4);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem;
}
.contact-methods-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact-methods-list li {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.method-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
  color: var(--text-white);
}

/* Forms */
.custom-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.input-wrapper label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-white);
}
.input-wrapper input,
.input-wrapper textarea,
.input-wrapper select {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  padding: 1rem;
  border-radius: 8px;
  color: var(--text-white);
  font-family: var(--font-sans);
  transition: var(--transition-fast);
}
.input-wrapper input:focus,
.input-wrapper textarea:focus,
.input-wrapper select:focus {
  outline: none;
  border-color: var(--primary-cyan);
  background: rgba(0, 240, 255, 0.05);
}
.custom-select-wrapper {
  position: relative;
}
.custom-select-wrapper select {
  appearance: none;
  cursor: pointer;
}
.select-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-main);
}

/* Legal Document Styles */
.doc-container {
  max-width: 900px;
}
.doc-content h2 {
  font-size: 1.8rem;
  margin: 2.5rem 0 1rem;
  color: var(--text-white);
}
.doc-content p {
  margin-bottom: 1.2rem;
}
.doc-content ul {
  list-style: disc;
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}
.doc-content li {
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1200px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-title {
    font-size: 3.5rem;
  }
  .dash-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    margin: 0 auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .client-logos {
    justify-content: center;
  }
  .hero-visual {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
  .calculator-wrapper {
    grid-template-columns: 1fr;
  }
  .industry-layout {
    grid-template-columns: 1fr;
  }
  .support-wrapper {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-ui {
    flex-direction: column;
  }
  .dash-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    padding: 1rem;
    overflow-x: auto;
  }
  .dash-logo {
    border-bottom: none;
    margin: 0;
    padding: 0 1rem 0 0;
  }
  .dash-nav {
    display: flex;
    gap: 1rem;
  }
  .dash-nav li {
    padding: 0.5rem;
    white-space: nowrap;
    border-left: none;
    border-bottom: 3px solid transparent;
  }
  .dash-nav li.active {
    border-left: none;
    border-bottom: 3px solid var(--primary-cyan);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .brand-col {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .desktop-nav,
  .header-actions .btn-glow {
    display: none;
  }
  .hamburger-menu {
    display: block;
  }

  .hero-title {
    font-size: 2.8rem;
  }
  .section-header h2 {
    font-size: 2.2rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .dash-charts {
    grid-template-columns: 1fr;
  }
  .testi-track {
    flex-direction: column;
  }
  .testi-card {
    min-width: 100%;
  }

  .timeline::before {
    left: 15px;
  }
  .timeline-dot {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }
  .timeline-item {
    padding-left: 50px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
  .bottom-flex {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .brand-col {
    grid-column: span 1;
  }
}
