@import url("https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap");

:root {
  --bg-color: #030305;
  --surface-color: #0a0a0f;
  --surface-light: rgba(255, 255, 255, 0.05);
  --text-primary: #f0f0f0;
  --text-secondary: #a0a0a5;
  --accent-1: #ff0055;
  --accent-2: #00f0ff;
  --gradient-primary: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  --font-heading: "Syne", sans-serif;
  --font-body: "Inter", sans-serif;
  --transition-fast: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  --nav-height: 90px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none; /* Custom cursor */
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 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-2);
}
.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 240, 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, 0, 85, 0.1);
  border-color: var(--accent-1);
}

/* Global Typography & Utils */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-padding {
  padding: 8rem 0;
}
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all var(--transition-slow);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Background 3D Orbs */
.bg-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: float 20s infinite alternate linear;
}
.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--accent-1);
  top: -10%;
  left: -10%;
}
.orb-2 {
  width: 500px;
  height: 500px;
  background: var(--accent-2);
  bottom: -20%;
  right: -10%;
  animation-duration: 25s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(100px, 100px) scale(1.2);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-fast);
  z-index: 1;
  border: none;
  background: transparent;
}
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  z-index: -1;
  transition: opacity var(--transition-fast);
}
.btn-primary {
  color: #fff;
}
.btn-primary:hover {
  box-shadow: 0 10px 30px rgba(255, 0, 85, 0.3);
  transform: scale(1.05);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: var(--transition-fast);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(3, 3, 5, 0.85);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--surface-light);
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.logo img {
  height: 60px;
  display: block;
  filter: brightness(0) invert(1);
}
.nav-menu {
  display: flex;
  align-items: center;
}
.nav-list {
  display: flex;
  gap: 3rem;
}
.nav-link {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  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(--gradient-primary);
  transition: var(--transition-fast);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-close {
  display: none;
}
.nav-toggle {
  display: none;
  font-size: 1.5rem;
  color: #fff;
  z-index: 101;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--nav-height);
}
.hero-content {
  max-width: 900px;
  z-index: 2;
  position: relative;
}
.hero-subtitle {
  font-family: var(--font-heading);
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 1.5rem;
  display: block;
}
.hero-title {
  font-size: clamp(3rem, 6vw, 6rem);
  margin-bottom: 2rem;
  line-height: 1;
}
.hero-desc {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 3rem;
}

/* Marquee */
.marquee-section {
  padding: 2rem 0;
  background: var(--surface-color);
  border-top: 1px solid var(--surface-light);
  border-bottom: 1px solid var(--surface-light);
  overflow: hidden;
  display: flex;
}
.marquee-content {
  display: flex;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}
.marquee-item {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin: 0 2rem;
  color: transparent;
  -webkit-text-stroke: 1px var(--text-secondary);
  text-transform: uppercase;
}
.marquee-item span {
  color: var(--accent-1);
  -webkit-text-stroke: 0;
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Services Section */
.section-header {
  text-align: center;
  margin-bottom: 5rem;
}
.section-header h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  margin-bottom: 1rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.service-card {
  background: rgba(10, 10, 15, 0.6);
  border: 1px solid var(--surface-light);
  padding: 3rem 2rem;
  border-radius: 20px;
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition-slow);
  z-index: 0;
}
.service-card:hover {
  transform: translateY(-10px);
  border-color: transparent;
}
.service-card:hover::before {
  opacity: 0.1;
}
.service-icon {
  font-size: 3rem;
  color: var(--accent-2);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}
.service-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.service-card p {
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
}

/* Industries Section */
.industries-layout {
  display: flex;
  gap: 4rem;
  align-items: center;
}
.industry-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.industry-item {
  font-family: var(--font-heading);
  font-size: 2rem;
  padding: 1.5rem;
  border-bottom: 1px solid var(--surface-light);
  color: var(--text-secondary);
  transition: var(--transition-fast);
  display: flex;
  justify-content: space-between;
}
.industry-item:hover {
  color: var(--text-primary);
  padding-left: 2rem;
  border-color: var(--accent-1);
}
.industry-visual {
  flex: 1;
  height: 500px;
  background: var(--surface-color);
  border-radius: 30px;
  position: relative;
  overflow: hidden;
}
.industry-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: var(--transition-slow);
}
.industry-visual:hover img {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Sample Reports (Interactive) */
.reports-wrapper {
  background: var(--surface-color);
  border-radius: 30px;
  padding: 4rem;
  border: 1px solid var(--surface-light);
}
.chart-container {
  display: flex;
  align-items: flex-end;
  height: 300px;
  gap: 2rem;
  margin-top: 3rem;
}
.chart-bar {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px 10px 0 0;
  position: relative;
  transition: var(--transition-slow);
}
.chart-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--gradient-primary);
  border-radius: 10px 10px 0 0;
  height: 0;
  transition: height 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.chart-bar:hover .chart-fill {
  filter: brightness(1.2);
}
.chart-label {
  position: absolute;
  bottom: -30px;
  width: 100%;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.chart-tooltip {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #000;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  font-size: 0.8rem;
  opacity: 0;
  transition: var(--transition-fast);
  font-weight: 600;
}
.chart-bar:hover .chart-tooltip {
  opacity: 1;
  top: -50px;
}

/* Calculator Section */
.calc-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--surface-color);
  padding: 4rem;
  border-radius: 30px;
  border: 1px solid var(--surface-light);
}
.calc-group {
  margin-bottom: 2rem;
}
.calc-group label {
  display: block;
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  background: transparent;
}
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: var(--accent-2);
  margin-top: -9px;
  cursor: none;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}
.calc-output {
  text-align: center;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--surface-light);
}
.calc-result {
  font-size: 4rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--accent-1);
  line-height: 1;
  margin: 1rem 0;
}

/* Testimonials */
.testimonials-slider {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding-bottom: 2rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.testimonials-slider::-webkit-scrollbar {
  display: none;
}
.testi-card {
  min-width: 400px;
  background: rgba(10, 10, 15, 0.8);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid var(--surface-light);
  scroll-snap-align: start;
}
.testi-quote {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--text-primary);
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testi-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--accent-1);
}
.testi-author h4 {
  font-size: 1.1rem;
}
.testi-author span {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* CTA Contact Widget */
.cta-section {
  text-align: center;
}
.cta-box {
  background: var(--gradient-primary);
  padding: 6rem 2rem;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
}
.cta-box h2 {
  font-size: clamp(3rem, 5vw, 5rem);
  margin-bottom: 2rem;
  color: #fff;
}
.btn-dark {
  background: var(--bg-color);
  color: #fff;
}
.btn-dark::before {
  display: none;
}
.btn-dark:hover {
  background: #fff;
  color: var(--bg-color);
}

/* Footer */
.footer {
  background: #000;
  padding: 6rem 0 2rem;
  border-top: 1px solid var(--surface-light);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer-about .logo img {
  margin-bottom: 1.5rem;
}
.footer-text {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}
.social-links {
  display: flex;
  gap: 1rem;
}
.social-links a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--surface-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}
.social-links a:hover {
  background: var(--accent-1);
  color: #fff;
  transform: translateY(-5px);
}
.footer-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #fff;
}
.footer-links li {
  margin-bottom: 0.8rem;
}
.footer-links a {
  color: var(--text-secondary);
  transition: var(--transition-fast);
}
.footer-links a:hover {
  color: var(--accent-2);
  padding-left: 5px;
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--surface-light);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Live Chat Widget */
.live-chat {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
}
.chat-btn {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.3);
  transition: var(--transition-fast);
  border: none;
}
.chat-btn:hover {
  transform: scale(1.1);
}
.chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 320px;
  background: var(--surface-color);
  border-radius: 20px;
  border: 1px solid var(--surface-light);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: var(--transition-fast);
}
.chat-window.active {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.chat-header {
  background: var(--gradient-primary);
  padding: 1.5rem;
  color: #fff;
}
.chat-body {
  padding: 1.5rem;
  min-height: 200px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Page Header (Legal/Contact) */
.page-header {
  padding: 12rem 0 6rem;
  text-align: center;
  background: linear-gradient(to bottom, rgba(255, 0, 85, 0.05), transparent);
  border-bottom: 1px solid var(--surface-light);
}
.page-header h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  margin-bottom: 1rem;
}
.breadcrumbs a {
  color: var(--accent-2);
}

/* Legal Pages Content */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
}
.legal-content h2 {
  margin: 3rem 0 1.5rem;
  font-size: 2rem;
  color: #fff;
}
.legal-content p,
.legal-content li {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--text-secondary);
}
.legal-content ul {
  list-style: disc;
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

/* Contact Page Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}
.contact-info {
  background: var(--surface-color);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid var(--surface-light);
}
.info-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.info-icon {
  font-size: 2rem;
  color: var(--accent-1);
}
.info-item h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.info-item p,
.info-item a {
  color: var(--text-secondary);
}
.contact-form .form-group {
  margin-bottom: 2rem;
  position: relative;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--surface-light);
  padding: 1rem 0;
  color: #fff;
  font-size: 1.1rem;
  font-family: var(--font-body);
  transition: var(--transition-fast);
}
.contact-form textarea {
  resize: none;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-bottom-color: var(--accent-2);
}
.contact-form label {
  position: absolute;
  top: 1rem;
  left: 0;
  color: var(--text-secondary);
  pointer-events: none;
  transition: var(--transition-fast);
  font-size: 1.1rem;
}
.contact-form input:focus ~ label,
.contact-form input:valid ~ label,
.contact-form textarea:focus ~ label,
.contact-form textarea:valid ~ label {
  top: -1.2rem;
  font-size: 0.8rem;
  color: var(--accent-2);
}

/* Responsive */
@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
    flex-direction: column;
    justify-content: center;
    transition: var(--transition-slow);
    z-index: 100;
  }
  .nav-menu.active {
    right: 0;
  }
  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .nav-link {
    font-size: 1.5rem;
  }
  .nav-toggle {
    display: block;
  }
  .nav-close {
    display: block;
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2.5rem;
    background: transparent;
    border: none;
    color: #fff;
  }
  .header-actions .btn {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .industries-layout,
  .contact-grid {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .testi-card {
    min-width: 300px;
  }
  .chart-container {
    gap: 1rem;
  }
}
