/* --- START OF FILE styles.css --- */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Syne:wght@400;500;600;700;800&display=swap");

:root {
  /* Color Palette */
  --bg-dark: #050507;
  --bg-darker: #020203;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-glass: rgba(10, 10, 12, 0.6);

  --accent-primary: #00f3ff;
  --accent-secondary: #9d4edd;
  --accent-glow: rgba(0, 243, 255, 0.2);

  --text-main: #ffffff;
  --text-muted: #a0a0ab;
  --text-dark: #121214;

  --border-light: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 243, 255, 0.5);

  /* Typography */
  --font-heading: "Syne", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;

  /* Spacing & Layout */
  --section-pad-y: 120px;
  --container-width: 1400px;
  --container-pad: 5%;

  /* Animation */
  --transition-fast: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ================= Reset & Base ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none; /* Custom cursor */
}

::selection {
  background: var(--accent-primary);
  color: var(--text-dark);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

/* 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(--accent-primary);
}
.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent-primary);
  transition:
    width 0.2s,
    height 0.2s,
    background-color 0.2s;
}
.cursor-hover .cursor-outline {
  width: 60px;
  height: 60px;
  background-color: rgba(0, 243, 255, 0.1);
  border-color: transparent;
}

/* Typography Utilities */
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(
    to right,
    var(--accent-primary),
    var(--accent-secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
p {
  color: var(--text-muted);
  font-size: 1.125rem;
}
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

/* Layout Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.section-padding {
  padding: var(--section-pad-y) 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  cursor: none;
  z-index: 1;
  border: none;
}
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  transition: var(--transition-fast);
}
.btn-primary {
  background: var(--text-main);
  color: var(--text-dark);
}
.btn-primary::before {
  background: linear-gradient(
    45deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  opacity: 0;
}
.btn-primary:hover {
  color: var(--text-main);
}
.btn-primary:hover::before {
  opacity: 1;
}

/* Ambient Background */
.ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  filter: blur(150px);
  opacity: 0.4;
  border-radius: 50%;
  animation: floatBlob 20s infinite alternate;
}
.blob-1 {
  top: -10%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: var(--accent-secondary);
}
.blob-2 {
  bottom: -20%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: var(--accent-primary);
  animation-delay: -5s;
}

@keyframes floatBlob {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(100px, 50px) scale(1.2);
  }
}

/* ================= Header (STRICT CONSISTENCY) ================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: var(--transition-fast);
  padding: 1.5rem 0;
}
.header.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo img {
  height: 60px;
  object-fit: contain;
  filter: invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}
.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-primary);
  transition: var(--transition-fast);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 101;
}
.hamburger .bar {
  width: 30px;
  height: 2px;
  background: var(--text-main);
  transition: var(--transition-fast);
}

/* ================= Hero Section ================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
  overflow: hidden;
}
.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(3rem, 6vw, 6rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.hero p {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  margin-bottom: 2.5rem;
  max-width: 600px;
}
.hero-3d-element {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 50vw;
  height: 50vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle, var(--border-light) 1px, transparent 1px);
  background-size: 40px 40px;
  border-radius: 50%;
  mask-image: radial-gradient(circle, black 40%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, black 40%, transparent 70%);
  animation: rotate3d 60s linear infinite;
  z-index: 1;
}

@keyframes rotate3d {
  0% {
    transform: translateY(-50%) rotateZ(0deg);
  }
  100% {
    transform: translateY(-50%) rotateZ(360deg);
  }
}

/* ================= Infinite Marquee ================= */
.marquee-section {
  padding: 2rem 0;
  background: var(--text-main);
  color: var(--text-dark);
  overflow: hidden;
  transform: rotate(-2deg) scale(1.05);
  position: relative;
  z-index: 10;
}
.marquee-content {
  display: flex;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}
.marquee-content span {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0 2rem;
}
.marquee-content span.outline {
  color: transparent;
  -webkit-text-stroke: 1px var(--text-dark);
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ================= About / Intro ================= */
.about-section {
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  margin-bottom: 2rem;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.stat-item h3 {
  font-size: 3.5rem;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

/* ================= Services Section ================= */
.services-header {
  text-align: center;
  margin-bottom: 4rem;
}
.services-header h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 3rem 2rem;
  border-radius: 24px;
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    800px circle at var(--mouse-x) var(--mouse-y),
    rgba(0, 243, 255, 0.06),
    transparent 40%
  );
  z-index: 0;
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.service-card:hover::before {
  opacity: 1;
}
.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--border-focus);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.service-icon {
  font-size: 2.5rem;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.service-card h3 {
  font-size: 1.5rem;
  position: relative;
  z-index: 1;
}
.service-card p {
  position: relative;
  z-index: 1;
  font-size: 1rem;
}

/* ================= Industries ================= */
.industries-section {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.industries-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 3rem;
}
.industry-pill {
  padding: 1rem 2rem;
  border: 1px solid var(--border-light);
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  transition: var(--transition-fast);
  cursor: none;
}
.industry-pill:hover {
  background: var(--accent-secondary);
  color: white;
  border-color: var(--accent-secondary);
  transform: scale(1.05);
}

/* ================= ROI Calculator ================= */
.calculator-section {
  position: relative;
}
.calc-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 30px;
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  backdrop-filter: blur(10px);
}
.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.calc-group label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: var(--accent-primary);
  cursor: pointer;
  margin-top: -10px;
  box-shadow: 0 0 20px var(--accent-glow);
}
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: var(--border-light);
  border-radius: 2px;
}
.calc-results {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  border: 1px solid rgba(0, 243, 255, 0.2);
}
.result-val {
  font-size: 4rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--accent-primary);
  line-height: 1;
  margin: 1rem 0;
}

/* ================= Sample Reports Dashboard ================= */
.reports-section {
  overflow: hidden;
}
.dashboard-mockup {
  background: #0f0f13;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  margin-top: 3rem;
  position: relative;
}
.dash-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
}
.dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.metric-box {
  background: rgba(255, 255, 255, 0.02);
  padding: 1.5rem;
  border-radius: 12px;
}
.metric-box h4 {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.metric-box .val {
  font-size: 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
}
.metric-box .growth {
  color: #00ff88;
  font-size: 0.8rem;
}
.dash-chart {
  height: 200px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding-top: 20px;
  border-left: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.chart-bar {
  flex: 1;
  background: linear-gradient(
    to top,
    rgba(0, 243, 255, 0.1),
    var(--accent-primary)
  );
  border-radius: 4px 4px 0 0;
  animation: growBar 2s ease-out forwards;
  transform-origin: bottom;
  transform: scaleY(0);
}
@keyframes growBar {
  to {
    transform: scaleY(1);
  }
}

/* ================= Testimonials ================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}
.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 3rem;
  border-radius: 20px;
  position: relative;
}
.testi-quote {
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: white;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.author-avatar {
  width: 50px;
  height: 50px;
  background: var(--border-light);
  border-radius: 50%;
}

/* ================= Contact Section (Index & Contact Page) ================= */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 30px;
  padding: 4rem;
}
.contact-info h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}
.contact-details {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
}
.detail-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.form-control {
  width: 100%;
  padding: 1rem 1.5rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  color: white;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
}
.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(0, 243, 255, 0.02);
}
textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* ================= Footer (STRICT CONSISTENCY) ================= */
.footer {
  border-top: 1px solid var(--border-light);
  padding: 5rem 0 2rem;
  background: var(--bg-darker);
  position: relative;
  overflow: hidden;
}
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer-logo img {
  height: 60px;
  filter: invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
  margin-bottom: 1.5rem;
}
.footer-about p {
  margin-bottom: 2rem;
  max-width: 300px;
}
.footer-social {
  display: flex;
  gap: 1rem;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}
.footer-social a:hover {
  background: var(--accent-primary);
  color: var(--text-dark);
  border-color: var(--accent-primary);
}
.footer-links h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}
.footer-links ul {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.8rem;
}
.footer-links a:hover {
  color: var(--accent-primary);
  padding-left: 5px;
}
.footer-contact h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}
.footer-contact ul {
  list-style: none;
}
.footer-contact li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}
.footer-contact i {
  color: var(--accent-primary);
  margin-top: 5px;
}
.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}
.footer-legal {
  display: flex;
  gap: 2rem;
}
.footer-legal a:hover {
  color: white;
}

/* ================= Legal Pages specific ================= */
.page-header {
  padding: 150px 0 80px;
  text-align: center;
  background: linear-gradient(to bottom, rgba(0, 243, 255, 0.05), transparent);
  border-bottom: 1px solid var(--border-light);
}
.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}
.legal-content {
  max-width: 900px;
  margin: 0 auto;
}
.content-wrapper h2 {
  font-size: 2rem;
  margin: 3rem 0 1.5rem;
  color: white;
}
.content-wrapper p,
.content-wrapper ul {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}
.content-wrapper ul {
  padding-left: 2rem;
  color: var(--text-muted);
}
.content-wrapper li {
  margin-bottom: 0.5rem;
}

/* ================= Live Chat Widget ================= */
.live-chat-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--accent-primary);
  color: var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: none;
  z-index: 99;
  box-shadow: 0 10px 20px rgba(0, 243, 255, 0.3);
  transition: var(--transition-fast);
}
.live-chat-btn:hover {
  transform: scale(1.1);
}
.chat-window {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 350px;
  background: var(--bg-darker);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  z-index: 99;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
}
.chat-window.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.chat-header {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
}
.chat-body {
  height: 300px;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.msg {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  max-width: 80%;
  font-size: 0.9rem;
}
.msg.bot {
  background: rgba(255, 255, 255, 0.05);
  align-self: flex-start;
}
.chat-input {
  padding: 1rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 10px;
}
.chat-input input {
  flex: 1;
  background: transparent;
  border: none;
  color: white;
  outline: none;
}
.chat-input button {
  background: transparent;
  border: none;
  color: var(--accent-primary);
  cursor: none;
}

/* ================= Animations & Interactions ================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* ================= Media Queries ================= */
@media (max-width: 1024px) {
  .about-grid,
  .calc-wrapper,
  .contact-wrapper,
  .footer-main {
    grid-template-columns: 1fr;
  }
  .footer-main {
    gap: 2rem;
  }
  .hero-3d-element {
    opacity: 0.3;
    right: -20%;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition-fast);
    z-index: 100;
  }
  .nav-menu.active {
    right: 0;
  }
  .header-actions .btn {
    display: none;
  }
  .dash-metrics {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
  }
}
