/* ==========================================================================
   CSS VARIABLES & SETUP
   ========================================================================== */
:root {
  /* Color Palette */
  --bg-dark: #050507;
  --bg-darker: #020203;
  --bg-card: rgba(20, 20, 25, 0.6);
  --text-main: #f0f0f0;
  --text-muted: #8a8a93;
  --neon-blue: #00f3ff;
  --neon-purple: #9d00ff;
  --accent: var(--neon-blue);
  --border-color: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-heading: "Syne", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;

  /* Spacing & Utilities */
  --container-w: 1280px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --glass-blur: blur(16px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none; /* Custom cursor */
}

body.loading {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}

/* Custom Selection */
::selection {
  background: var(--neon-purple);
  color: #fff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-blue);
}

/* Typography Classes */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.text-gradient {
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-neon {
  color: var(--neon-blue);
  text-shadow: 0 0 10px rgba(0, 243, 255, 0.4);
}
.text-purple {
  color: var(--neon-purple);
  text-shadow: 0 0 10px rgba(157, 0, 255, 0.4);
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 5%;
}

.section-pad {
  padding: 120px 0;
}
.page-pt {
  padding-top: 150px;
}
.text-center {
  text-align: center;
}
.max-w-m {
  max-width: 600px;
}
.max-w-content {
  max-width: 800px;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}
.mt-5 {
  margin-top: 3rem;
}
.bg-darker {
  background-color: var(--bg-darker);
}

/* ==========================================================================
   CUSTOM CURSOR
   ========================================================================== */
.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 9999;
  pointer-events: none;
}
.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--neon-blue);
}
.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition:
    width 0.2s,
    height 0.2s,
    background-color 0.2s;
}
.cursor-hover .cursor-outline {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.1);
  border-color: transparent;
  backdrop-filter: blur(2px);
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-dark);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}
.preloader-content {
  text-align: center;
  width: 300px;
}
.preloader-logo {
  height: 60px;
  margin: 0 auto 30px;
  filter: brightness(0) invert(1);
  transition:
    opacity 0.5s,
    filter 0.5s;
}
.preloader-progress {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.preloader-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--neon-blue);
  width: 0%;
  box-shadow: 0 0 10px var(--neon-blue);
}
.preloader-percentage {
  margin-top: 15px;
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--text-muted);
}
.preloader.loaded {
  transform: translateY(-100%);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
  outline: none;
}
.btn-full {
  width: 100%;
}
.btn-large {
  padding: 18px 40px;
  font-size: 1rem;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--neon-blue);
  z-index: -1;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  transform-origin: bottom;
}

.btn-primary {
  color: #000;
}
.btn-primary::before {
  transform: scaleY(1);
}
.btn-primary:hover::before {
  transform: scaleY(0);
}
.btn-primary:hover {
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--neon-blue);
}

.btn-outline {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}
.btn-outline::before {
  transform: scaleY(0);
  background: #fff;
}
.btn-outline:hover::before {
  transform: scaleY(1);
}
.btn-outline:hover {
  color: #000;
}

.btn-neon {
  background: transparent;
  color: #fff;
  border: 1px solid var(--neon-blue);
  box-shadow:
    0 0 15px rgba(0, 243, 255, 0.2),
    inset 0 0 15px rgba(0, 243, 255, 0.1);
}
.btn-neon::before {
  background: var(--neon-blue);
  transform: scaleY(0);
}
.btn-neon:hover {
  color: #000;
  box-shadow: 0 0 30px rgba(0, 243, 255, 0.6);
}
.btn-neon:hover::before {
  transform: scaleY(1);
}

/* ==========================================================================
   HEADER (STRICTLY IDENTICAL)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 25px 0;
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  padding: 15px 0;
  background: rgba(5, 5, 7, 0.85);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-color);
}
.header-container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand-logo img {
  height: 60px;
  filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}
.main-nav .nav-list {
  display: flex;
  gap: 40px;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
  position: relative;
  overflow: hidden;
  display: block;
}
.nav-link::before {
  content: attr(data-text);
  position: absolute;
  top: 100%;
  left: 0;
  color: var(--neon-blue);
  transition: transform 0.3s ease;
}
.nav-link:hover {
  color: transparent;
}
.nav-link:hover::before {
  transform: translateY(-100%);
}
.nav-link.active {
  color: var(--neon-blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: none;
  z-index: 1001;
}
.hamburger .line {
  width: 30px;
  height: 2px;
  background: #fff;
  transition: var(--transition);
}
.hamburger.active .line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active .line:nth-child(2) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(2, 2, 3, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-inner {
  text-align: center;
  transform: translateY(30px);
  transition: transform 0.4s ease;
}
.mobile-menu.active .mobile-menu-inner {
  transform: translateY(0);
}
.mobile-nav-list li {
  margin: 25px 0;
}
.mobile-nav-list a {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
}
.mobile-nav-list a:hover {
  color: var(--neon-blue);
}
.mobile-contact {
  margin-top: 40px;
  color: var(--text-muted);
}
.mobile-contact a {
  color: var(--text-main);
  font-size: 1.2rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.4;
}
.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: var(--glass-blur);
}
.hero-title {
  font-size: 4.5rem;
  letter-spacing: -1px;
  margin-bottom: 25px;
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 40px;
}
.hero-btns {
  display: flex;
  gap: 20px;
}

/* Hero Visual / 3D Element */
.hero-visual {
  position: relative;
  height: 500px;
  perspective: 1000px;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
}
.orb-1 {
  width: 300px;
  height: 300px;
  background: var(--neon-purple);
  top: 10%;
  right: 10%;
  animation: float 8s ease-in-out infinite;
}
.orb-2 {
  width: 250px;
  height: 250px;
  background: var(--neon-blue);
  bottom: 10%;
  left: 10%;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-30px, 30px);
  }
  100% {
    transform: translate(0, 0);
  }
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  transform-style: preserve-3d;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
}
.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
}
.card-header i {
  color: var(--neon-blue);
}
.metric {
  margin-bottom: 20px;
}
.metric .label {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 5px;
}
.metric .value {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #fff;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 100px;
}
.chart-bars .bar {
  flex: 1;
  background: linear-gradient(to top, rgba(0, 243, 255, 0.2), var(--neon-blue));
  border-radius: 4px 4px 0 0;
  transition: height 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee-section {
  padding: 30px 0;
  background: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
  transform: rotate(-2deg);
  width: 110%;
  left: -5%;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll-left 20s linear infinite;
}
.marquee-content {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
}
.marquee-content span {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
}
.marquee-content i {
  color: var(--neon-blue);
  font-size: 1rem;
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text .section-title {
  font-size: 3.5rem;
  margin: 0;
}
.about-desc p {
  font-size: 1.2rem;
  color: var(--text-muted);
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.stat-item h3 {
  display: inline-block;
  font-size: 4rem;
  margin: 0;
  color: #fff;
}
.stat-item span {
  font-size: 2rem;
  color: var(--neon-blue);
  font-family: var(--font-heading);
  font-weight: 700;
}
.stat-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   SERVICES GRID
   ========================================================================== */
.subtitle {
  display: block;
  color: var(--neon-blue);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 40px 30px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.card-glow {
  position: absolute;
  width: 150px;
  height: 150px;
  background: var(--neon-purple);
  filter: blur(60px);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}
.service-card:hover .card-glow {
  opacity: 0.3;
}
.service-card > * {
  position: relative;
  z-index: 1;
}
.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 25px;
  border: 1px solid var(--border-color);
}
.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}
.service-card p {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 0.95rem;
}
.service-link {
  font-family: var(--font-heading);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}
.service-link i {
  transition: transform 0.3s;
  color: var(--neon-blue);
}
.service-card:hover .service-link i {
  transform: translateX(5px) rotate(-45deg);
}

/* ==========================================================================
   REPORTS / DATA VIZ
   ========================================================================== */
.reports-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.features-list {
  margin-top: 30px;
}
.features-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--text-main);
}
.features-list i {
  color: var(--neon-purple);
  background: rgba(157, 0, 255, 0.1);
  padding: 5px;
  border-radius: 50%;
  font-size: 0.8rem;
}

.dashboard-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.dash-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}
.dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #333;
  margin-right: 5px;
}
.dots span:nth-child(1) {
  background: #ff5f56;
}
.dots span:nth-child(2) {
  background: #ffbd2e;
}
.dots span:nth-child(3) {
  background: #27c93f;
}
.dash-title {
  margin-left: 15px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.dash-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.dash-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 15px;
  border-radius: 12px;
}
.dash-card h5 {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-family: var(--font-body);
  font-weight: normal;
}
.dash-card .number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
}

.dash-chart {
  height: 150px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 10px;
  position: relative;
  overflow: hidden;
}
.line-graph-svg {
  width: 100%;
  height: 100%;
}
.chart-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.line-path {
  fill: none;
  stroke: var(--neon-blue);
  stroke-width: 2;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLine 3s ease forwards;
}
.area-path {
  fill: url(#areaGradient);
  fill: rgba(0, 243, 255, 0.1);
  opacity: 0;
  animation: fadeIn 1s 2s ease forwards;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* ==========================================================================
   ROI CALCULATOR
   ========================================================================== */
.calc-box {
  background: linear-gradient(145deg, var(--bg-card), var(--bg-darker));
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 60px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 40px;
}
.range-group {
  margin-bottom: 30px;
}
.range-group label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-weight: 500;
}
.range-group label span {
  color: var(--neon-blue);
  font-family: var(--font-heading);
  font-weight: 700;
}

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(--neon-blue);
  cursor: none;
  margin-top: -8px;
  box-shadow: 0 0 10px var(--neon-blue);
}
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  cursor: none;
  background: #333;
  border-radius: 2px;
}

.calc-results {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.result-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 25px;
  border-radius: 16px;
  text-align: center;
}
.result-card h4 {
  font-size: 1rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: normal;
  margin-bottom: 10px;
}
.res-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  transition: color 0.3s;
}
.result-card.highlight {
  border-color: rgba(0, 243, 255, 0.3);
  background: rgba(0, 243, 255, 0.05);
}
.res-lift {
  color: var(--neon-purple);
  font-weight: 600;
  margin-top: 5px;
}

/* ==========================================================================
   PROCESS / TIMELINE
   ========================================================================== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 60px auto 0;
}
.timeline-line {
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}
.timeline-item {
  position: relative;
  padding-left: 80px;
  margin-bottom: 50px;
}
.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(--neon-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}
.timeline-content {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
}
.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.timeline-content p {
  color: var(--text-muted);
}

/* ==========================================================================
   INDUSTRIES
   ========================================================================== */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.ind-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 40px 20px;
  border-radius: 16px;
  text-align: center;
  transition: var(--transition);
}
.ind-card:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-10px);
  border-color: var(--neon-blue);
}
.ind-card i {
  font-size: 2.5rem;
  color: var(--neon-purple);
  margin-bottom: 20px;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testi-slider {
  margin-top: 60px;
  overflow: hidden;
  cursor: grab;
}
.testi-slider:active {
  cursor: grabbing;
}
.testi-track {
  display: flex;
  gap: 30px;
  width: max-content;
}
.testi-card {
  width: 400px;
  background: var(--bg-card);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  position: relative;
}
.quote-icon {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.05);
}
.testi-card p {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 15px;
}
.testi-author h5 {
  margin: 0;
  font-size: 1.1rem;
}
.testi-author span {
  color: var(--neon-blue);
  font-size: 0.8rem;
  text-transform: uppercase;
}

/* ==========================================================================
   CTA STRIP
   ========================================================================== */
.cta-strip {
  padding: 100px 0;
  position: relative;
  text-align: center;
  border-top: 1px solid var(--border-color);
  overflow: hidden;
}
.cta-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: radial-gradient(
    circle,
    rgba(157, 0, 255, 0.2) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  z-index: 0;
  pointer-events: none;
}
.cta-container {
  position: relative;
  z-index: 1;
}
.cta-container h2 {
  font-size: 4rem;
  margin-bottom: 40px;
}

/* ==========================================================================
   FORMS & CONTACT PAGE
   ========================================================================== */
.page-title {
  font-size: 4.5rem;
  margin-bottom: 20px;
}
.section-desc {
  color: var(--text-muted);
  font-size: 1.2rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
}
.custom-form .form-row {
  display: flex;
  gap: 20px;
}
.input-group {
  position: relative;
  margin-bottom: 30px;
  width: 100%;
}
.input-group input,
.input-group textarea,
.input-group select {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: none;
  border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}
.input-group select {
  cursor: none;
  appearance: none;
  color: var(--text-muted);
}
.input-group select option {
  background: var(--bg-darker);
  color: #fff;
}
.input-group label {
  position: absolute;
  top: 15px;
  left: 0;
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--transition);
}
.input-group input:focus,
.input-group textarea:focus {
  border-bottom-color: var(--neon-blue);
}
.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
  top: -12px;
  font-size: 0.8rem;
  color: var(--neon-blue);
}

.info-block {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  height: 100%;
}
.info-block h3 {
  font-size: 2rem;
  color: var(--neon-blue);
  margin-bottom: 5px;
}
.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 25px;
}
.info-list .icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-purple);
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.page-legal .page-title {
  font-size: 3.5rem;
}
.prose {
  padding: 60px;
  border-radius: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
}
.prose h2 {
  font-size: 1.8rem;
  margin: 40px 0 20px;
  color: #fff;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose p {
  margin-bottom: 20px;
  color: var(--text-muted);
}
.prose ul {
  margin-bottom: 20px;
  padding-left: 20px;
}
.prose li {
  margin-bottom: 10px;
  color: var(--text-muted);
  position: relative;
}
.prose li::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--neon-blue);
  border-radius: 50%;
}
.prose strong {
  color: #fff;
}

/* ==========================================================================
   FOOTER (STRICTLY IDENTICAL)
   ========================================================================== */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  position: relative;
  z-index: 10;
}
.footer-top {
  padding: 100px 0 50px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
}
.footer-logo img {
  height: 60px;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}
.footer-desc {
  color: var(--text-muted);
  max-width: 300px;
  margin-bottom: 30px;
}
.social-links {
  display: flex;
  gap: 15px;
}
.social-links a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.social-links a:hover {
  background: var(--neon-blue);
  border-color: var(--neon-blue);
  color: #000;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 25px;
}
.footer-links ul li {
  margin-bottom: 15px;
}
.footer-links a {
  color: var(--text-muted);
}
.footer-links a:hover {
  color: var(--neon-blue);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  color: var(--text-muted);
}
.footer-contact i {
  color: var(--neon-purple);
  margin-top: 5px;
}

.footer-bottom {
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.scroll-top {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
}
.scroll-top:hover {
  background: #fff;
  color: #000;
}

/* ==========================================================================
   LIVE CHAT WIDGET
   ========================================================================== */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9990;
}
.chat-toggle {
  width: 60px;
  height: 60px;
  background: var(--neon-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #000;
  box-shadow: 0 10px 30px rgba(0, 243, 255, 0.4);
}
.chat-panel {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transition: var(--transition);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.chat-panel.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.chat-header {
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}
.chat-header h4 {
  margin: 0;
  font-size: 1.1rem;
}
.chat-header span {
  font-size: 0.8rem;
  color: var(--neon-blue);
}
.chat-header button {
  background: none;
  border: none;
  color: #fff;
  cursor: none;
  font-size: 1.2rem;
}
.chat-body {
  padding: 20px;
  height: 250px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.message {
  display: flex;
  gap: 10px;
}
.message .avatar img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  padding: 5px;
}
.msg-content {
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 15px;
  border-radius: 0 15px 15px 15px;
  font-size: 0.9rem;
}
.chat-input-area {
  display: flex;
  border-top: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.3);
}
.chat-input-area input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 15px 20px;
  color: #fff;
  outline: none;
  font-family: var(--font-body);
}
.chat-input-area button {
  background: transparent;
  border: none;
  color: var(--neon-blue);
  padding: 0 20px;
  cursor: none;
}

/* ==========================================================================
   ANIMATIONS & REVEALS
   ========================================================================== */
.reveal-up {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active,
.reveal-scale.active {
  opacity: 1;
  transform: translate(0) scale(1);
}

.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}
.delay-4 {
  transition-delay: 0.4s;
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }
  .about-grid,
  .reports-wrapper,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .services-grid,
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav,
  .header-actions .btn {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-visual {
    display: none;
  }
  .hero {
    padding-top: 150px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .services-grid,
  .industry-grid {
    grid-template-columns: 1fr;
  }
  .calc-box {
    padding: 30px;
  }
  .prose {
    padding: 30px;
  }
  .page-title {
    font-size: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .social-links {
    justify-content: center;
  }
  .footer-contact li {
    justify-content: center;
  }
  .custom-form .form-row {
    flex-direction: column;
    gap: 0;
  }
}
