/* ==================================================
   VARIABLES & RESET
   ================================================== */
:root {
  /* Colors */
  --primary: #00f0ff; /* Neon Blue */
  --secondary: #7000ff; /* Deep Purple */
  --accent: #ff0055; /* Neon Pink */

  --bg-dark: #07070b;
  --bg-card: #12131e;
  --bg-surface: #1a1b2e;
  --bg-glow: rgba(0, 240, 255, 0.15);

  --text-main: #f0f0f5;
  --text-muted: #9aa0ba;

  /* Typography */
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-heading: "Space Grotesk", system-ui, sans-serif;

  /* Spacing & Borders */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition-fast: 0.2s ease;
  --transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --shadow-neon: 0 0 20px rgba(0, 240, 255, 0.3);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);

  /* Z-Index */
  --z-back: -1;
  --z-normal: 1;
  --z-header: 100;
  --z-overlay: 900;
  --z-modal: 1000;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body.dark-theme {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==================================================
   UTILITIES
   ================================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

.text-center {
  text-align: center;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-accent {
  color: var(--primary);
}

.mb-4 {
  margin-bottom: 1.5rem;
}
.mt-3 {
  margin-top: 1rem;
}
.mt-4 {
  margin-top: 1.5rem;
}

.bg-darker {
  background-color: #050508;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  font-weight: 600;
  font-family: var(--font-heading);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 4px 15px rgba(112, 0, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-neon);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background-color: #2a2b42;
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  background: rgba(0, 240, 255, 0.1);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.9rem;
}

.btn-full {
  width: 100%;
}

.glow-effect {
  position: relative;
}

.glow-effect::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    var(--primary),
    var(--secondary),
    var(--accent),
    var(--primary)
  );
  z-index: -1;
  filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50px;
  animation: glowing 20s linear infinite;
}

.glow-effect:hover::before {
  opacity: 1;
}

@keyframes glowing {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}

/* Animations Reveal */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease-out;
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: 0.8s ease-out;
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: 0.8s ease-out;
}
.reveal-active {
  opacity: 1;
  transform: translate(0, 0);
}

/* ==================================================
   PRELOADER
   ================================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-dark);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease;
}

.loader-container {
  position: relative;
  width: 150px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--primary);
  border-bottom-color: var(--secondary);
  animation: spin 1.5s linear infinite;
}

.loader-brand {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 2px;
  animation: pulseText 1.5s ease-in-out infinite alternate;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}
@keyframes pulseText {
  0% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

/* ==================================================
   HEADER & NAVBAR
   ================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  align-items: center;
  z-index: var(--z-header);
  transition: var(--transition);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(7, 7, 11, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.header.scrolled {
  height: 70px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo .logo-img {
  height: 60px;
  filter: invert(1) drop-shadow(0 0 8px rgba(0, 240, 255, 0.3));
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-weight: 500;
  font-family: var(--font-heading);
  color: var(--text-muted);
  font-size: 0.95rem;
  position: relative;
  padding: 5px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
  box-shadow: 0 0 8px var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hamburger {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 101;
}

.hamburger .bar {
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--text-main);
  transition: var(--transition);
}

.hamburger .bar:nth-child(1) {
  top: 0;
}
.hamburger .bar:nth-child(2) {
  top: 9px;
}
.hamburger .bar:nth-child(3) {
  top: 18px;
}

.hamburger.active .bar:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}
.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}
.hamburger.active .bar:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}

/* ==================================================
   HERO SECTION
   ================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-particles {
  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: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.badge-wrapper {
  margin-bottom: 20px;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 30px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 4rem;
  font-family: var(--font-heading);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 35px;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 15px;
  margin-bottom: 50px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
}

.stat-item h3 {
  display: inline;
  font-size: 2.5rem;
  font-family: var(--font-heading);
  color: var(--text-main);
}

.stat-item span {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: bold;
}

.stat-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 3D Dashboard Element */
.perspective-container {
  perspective: 1000px;
}

.card-3d {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.floating-dashboard {
  padding: 20px;
  animation: float 6s ease-in-out infinite;
  transform: rotateY(-15deg) rotateX(10deg);
}

.floating-dashboard:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

.dash-header {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.dots {
  display: flex;
  gap: 6px;
  margin-right: 15px;
}
.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dots .red {
  background: #ff5f56;
}
.dots .yellow {
  background: #ffbd2e;
}
.dots .green {
  background: #27c93f;
}

.dash-header .title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.dash-body {
  display: flex;
  gap: 30px;
}

.chart-mockup {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 120px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
  flex: 1;
}

.bar-mockup {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px 4px 0 0;
  transition: height 1s ease;
}

.bar-mockup.gradient-bg {
  background: linear-gradient(to top, var(--secondary), var(--primary));
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.h-30 {
  height: 30%;
}
.h-50 {
  height: 50%;
}
.h-80 {
  height: 80%;
}
.h-60 {
  height: 60%;
}
.h-100 {
  height: 100%;
}

.metric-mockup {
  background: rgba(255, 255, 255, 0.03);
  padding: 15px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-width: 120px;
}

.metric-mockup i {
  font-size: 2rem;
  margin-bottom: 10px;
}
.metric-mockup h4 {
  font-size: 1.5rem;
  font-family: var(--font-heading);
}
.metric-mockup p {
  font-size: 0.7rem;
  color: var(--text-muted);
}

@keyframes float {
  0% {
    transform: translateY(0px) rotateY(-15deg) rotateX(10deg);
  }
  50% {
    transform: translateY(-20px) rotateY(-15deg) rotateX(10deg);
  }
  100% {
    transform: translateY(0px) rotateY(-15deg) rotateX(10deg);
  }
}

/* ==================================================
   MARQUEE
   ================================================== */
.brand-marquee {
  background: rgba(0, 240, 255, 0.05);
  padding: 20px 0;
  overflow: hidden;
  border-top: 1px solid rgba(0, 240, 255, 0.1);
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

.marquee-content {
  display: flex;
  gap: 40px;
  align-items: center;
  white-space: nowrap;
  animation: scroll-left 20s linear infinite;
}

.marquee-content span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==================================================
   ABOUT SECTION
   ================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.img-wrapper img {
  width: 100%;
  filter: grayscale(20%) contrast(120%);
  transition: var(--transition);
}

.img-wrapper:hover img {
  transform: scale(1.05);
  filter: grayscale(0%) contrast(110%);
}

.hologram-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 240, 255, 0) 0%,
    rgba(0, 240, 255, 0.2) 50%,
    rgba(0, 240, 255, 0) 100%
  );
  background-size: 100% 200%;
  animation: scanline 4s linear infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes scanline {
  0% {
    background-position: 0 -100%;
  }
  100% {
    background-position: 0 200%;
  }
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--bg-card);
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  z-index: 3;
  text-align: center;
}

.experience-badge h3 {
  font-size: 2.5rem;
  color: var(--primary);
  font-family: var(--font-heading);
}

.section-subtitle {
  display: inline-block;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.8rem;
  font-family: var(--font-heading);
  line-height: 1.2;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 500;
}

.feature-list i {
  color: var(--primary);
  font-size: 1.2rem;
}

/* ==================================================
   SERVICES SECTION (3D CARDS)
   ================================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
  perspective: 1000px;
}

.service-card-3d {
  height: 380px;
  background-color: transparent;
  perspective: 1000px;
  cursor: pointer;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.service-card-3d:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: var(--radius-md);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card-front {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-card);
}

.card-front::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.service-icon {
  width: 80px;
  height: 80px;
  background: rgba(0, 240, 255, 0.05);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 25px;
  transition: var(--transition);
}

.card-front h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.card-front p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card-back {
  background: linear-gradient(145deg, #151623, #0b0c14);
  border: 1px solid var(--primary);
  transform: rotateY(180deg);
}

.card-back h3 {
  color: var(--primary);
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.card-back ul {
  text-align: left;
  width: 100%;
  margin-bottom: 30px;
}

.card-back li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

.card-back li::before {
  content: "→";
  color: var(--primary);
  margin-right: 10px;
}

/* ==================================================
   INDUSTRY TABS
   ================================================== */
.industry-tabs {
  max-width: 900px;
  margin: 50px auto 0;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  padding: 12px 25px;
  border-radius: 30px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--primary);
  color: #000;
  box-shadow: var(--shadow-neon);
  border-color: var(--primary);
}

.tab-content {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 50px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.tab-pane.active {
  display: block;
}

.pane-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: center;
}

.pane-text h3 {
  font-size: 2rem;
  font-family: var(--font-heading);
  margin-bottom: 15px;
  color: var(--text-main);
}

.pane-text p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.pane-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 8rem;
  color: rgba(0, 240, 255, 0.1);
  background: linear-gradient(
    135deg,
    rgba(0, 240, 255, 0.2),
    rgba(112, 0, 255, 0.2)
  );
  -webkit-background-clip: text;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================================================
   REPORTS / DATA SIMULATION
   ================================================== */
.report-dashboard {
  max-width: 1000px;
  margin: 50px auto 0;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.report-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 15px;
}
.client-info .avatar {
  width: 50px;
  height: 50px;
  background: var(--bg-surface);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  color: var(--primary);
}

.client-info h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
}
.client-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.report-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.report-card h5 {
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 10px;
}

.report-card .value {
  font-size: 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.trend {
  font-size: 0.9rem;
  padding: 4px 8px;
  border-radius: 20px;
}
.trend.up {
  background: rgba(39, 201, 63, 0.1);
  color: #27c93f;
}
.trend.down {
  background: rgba(255, 95, 86, 0.1);
  color: #ff5f56;
}

.sparkline {
  height: 40px;
  margin-top: 15px;
  background-size: 100% 100%;
  opacity: 0.7;
}

.traffic-spark {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 30' preserveAspectRatio='none'%3E%3Cpath d='M0,30 L10,25 L20,28 L30,15 L40,20 L50,10 L60,18 L70,5 L80,12 L90,2 L100,8 L100,30 Z' fill='rgba(0, 240, 255, 0.2)'/%3E%3Cpath d='M0,30 L10,25 L20,28 L30,15 L40,20 L50,10 L60,18 L70,5 L80,12 L90,2 L100,8' fill='none' stroke='%2300f0ff' stroke-width='2'/%3E%3C/svg%3E");
}

.conv-spark {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 30' preserveAspectRatio='none'%3E%3Cpath d='M0,30 L10,28 L20,25 L30,22 L40,24 L50,15 L60,10 L70,12 L80,5 L90,8 L100,2 L100,30 Z' fill='rgba(112, 0, 255, 0.2)'/%3E%3Cpath d='M0,30 L10,28 L20,25 L30,22 L40,24 L50,15 L60,10 L70,12 L80,5 L90,8 L100,2' fill='none' stroke='%237000ff' stroke-width='2'/%3E%3C/svg%3E");
}

.cpa-spark {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 30' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L10,5 L20,2 L30,12 L40,8 L50,18 L60,15 L70,22 L80,18 L90,28 L100,25 L100,0 Z' fill='rgba(255, 95, 86, 0.1)'/%3E%3Cpath d='M0,0 L10,5 L20,2 L30,12 L40,8 L50,18 L60,15 L70,22 L80,18 L90,28 L100,25' fill='none' stroke='%23ff5f56' stroke-width='2'/%3E%3C/svg%3E");
  background-position: bottom;
}

.span-2 {
  grid-column: span 3;
} /* Making the chart take full width */

.bar-chart {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 150px;
  margin-top: 20px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.bar-group {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100%;
  position: relative;
  width: 40px;
}

.bar {
  width: 15px;
  border-radius: 3px 3px 0 0;
  transition: height 1s ease-out;
}

.bar.target {
  background: rgba(255, 255, 255, 0.2);
}
.bar.actual {
  background: linear-gradient(to top, var(--secondary), var(--primary));
}

.bar-group span {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.chart-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
  font-size: 0.85rem;
}

.chart-legend span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.chart-legend .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.target {
  background: rgba(255, 255, 255, 0.2);
}
.dot.actual {
  background: var(--primary);
}

/* ==================================================
   CALCULATOR SECTION
   ================================================== */
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.calc-features {
  margin-top: 30px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.cf-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.95rem;
}

.calc-ui {
  background: var(--bg-card);
  padding: 40px;
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.calc-group {
  margin-bottom: 30px;
}
.calc-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-family: var(--font-heading);
  font-weight: 500;
}
.val-display {
  color: var(--primary);
  font-weight: 700;
  background: rgba(0, 240, 255, 0.1);
  padding: 2px 10px;
  border-radius: 5px;
}

/* Custom Range Slider */
.custom-range {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  outline: none;
}

.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
  transition: transform 0.1s;
}

.custom-range::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-result {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.calc-result p {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.calc-result h3 {
  font-size: 3.5rem;
  font-family: var(--font-heading);
}

/* ==================================================
   TESTIMONIALS
   ================================================== */
.testimonial-slider {
  position: relative;
  max-width: 900px;
  margin: 50px auto 0;
  overflow: hidden;
}

.testi-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.testi-card {
  min-width: 100%;
  background: var(--bg-card);
  padding: 50px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.quote-icon {
  font-size: 3rem;
  color: rgba(0, 240, 255, 0.2);
  margin-bottom: 20px;
}

.testi-text {
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 30px;
  color: var(--text-main);
}

.author-info h4 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 1.1rem;
}
.author-info span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.slide-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.slide-btn:hover {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
}

/* ==================================================
   CTA SECTION
   ================================================== */
.cta-box {
  position: relative;
  padding: 80px 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #12131e, #1a1b2e);
  border: 1px solid rgba(112, 0, 255, 0.3);
  overflow: hidden;
  text-align: center;
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}
.cta-content h2 {
  font-size: 2.8rem;
  font-family: var(--font-heading);
  margin-bottom: 20px;
}
.cta-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.or-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.or-text strong {
  color: var(--text-main);
}

.bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(112, 0, 255, 0.2) 0%,
    rgba(0, 240, 255, 0) 70%
  );
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
}

/* ==================================================
   PAGE HEADERS (Internal Pages)
   ================================================== */
.page-content {
  padding-top: 80px; /* Offset header */
}

.page-header {
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--bg-card);
}

.page-header h1 {
  font-size: 3.5rem;
  font-family: var(--font-heading);
  margin-bottom: 15px;
  background: linear-gradient(135deg, #fff, var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.breadcrumbs {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--primary);
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.breadcrumbs .sep {
  margin: 0 10px;
  opacity: 0.5;
}

.bg-glow-top {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 200px;
  background: radial-gradient(
    ellipse at top,
    rgba(0, 240, 255, 0.15) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  pointer-events: none;
}

/* ==================================================
   CONTACT PAGE SPECIFIC
   ================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  margin-top: 50px;
}

.contact-info-block {
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.info-hologram {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(0, 240, 255, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.contact-info-block h3 {
  font-size: 1.8rem;
  font-family: var(--font-heading);
  margin-bottom: 10px;
  color: var(--primary);
}

.contact-info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  align-items: flex-start;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-text h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 5px;
}
.info-text p,
.info-text a {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.info-text a:hover {
  color: var(--primary);
}

.social-links-lg {
  display: flex;
  gap: 15px;
}
.social-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-main);
  transition: var(--transition);
}
.social-circle:hover {
  background: var(--primary);
  color: #000;
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form-block {
  background: var(--bg-card);
  padding: 50px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form-block h3 {
  font-size: 2rem;
  font-family: var(--font-heading);
  margin-bottom: 10px;
}
.form-desc {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 25px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-main);
}

.input-wrapper {
  position: relative;
}
.input-wrapper i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-sans);
  padding: 14px 15px;
  transition: var(--transition);
  outline: none;
}

.contact-form input,
.contact-form select {
  padding-left: 45px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
  background: rgba(0, 0, 0, 0.4);
}

.contact-form select option {
  background: var(--bg-card);
  color: var(--text-main);
}

/* Popup */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: var(--z-modal);
}

.popup-content {
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-lg);
  text-align: center;
  max-width: 400px;
  border: 1px solid rgba(0, 240, 255, 0.3);
  position: relative;
  animation: zoomIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}
.popup-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}
.popup-content h3 {
  font-family: var(--font-heading);
  margin-bottom: 10px;
  font-size: 1.5rem;
}
.popup-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ==================================================
   LEGAL PAGES SPECIFIC
   ================================================== */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.content-wrapper {
  background: var(--bg-card);
  padding: 50px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.content-wrapper h2 {
  font-size: 2.2rem;
  font-family: var(--font-heading);
  margin-bottom: 25px;
  color: var(--primary);
}
.content-wrapper h3 {
  font-size: 1.4rem;
  font-family: var(--font-heading);
  margin: 30px 0 15px;
  color: var(--text-main);
}
.content-wrapper p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: #b4bacf;
  line-height: 1.7;
}

.legal-list {
  margin-bottom: 20px;
  padding-left: 20px;
}
.legal-list li {
  margin-bottom: 10px;
  font-size: 1.05rem;
  color: #b4bacf;
  list-style-type: disc;
}

/* ==================================================
   FOOTER
   ================================================== */
.footer {
  background: var(--bg-card);
  padding: 80px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo img {
  height: 60px;
  filter: invert(1) drop-shadow(0 0 8px rgba(0, 240, 255, 0.3));
  margin-bottom: 20px;
}
.footer-about p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-main);
}
.footer-social a:hover {
  background: var(--primary);
  color: #000;
  transform: translateY(-3px);
}

.footer-links h3,
.footer-contact h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--text-main);
}

.footer-links ul li {
  margin-bottom: 12px;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  display: inline-block;
}
.footer-links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-muted);
  margin-bottom: 15px;
  font-size: 0.95rem;
}
.contact-list i {
  color: var(--primary);
  margin-top: 4px;
}
.contact-list a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-legal a:hover {
  color: var(--primary);
}
.separator {
  opacity: 0.3;
}

/* ==================================================
   WIDGETS (CHAT & BACK TO TOP)
   ================================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 45px;
  height: 45px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary);
  font-size: 1.2rem;
  z-index: var(--z-overlay);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--primary);
  color: #000;
  transform: translateY(-5px);
}

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: var(--z-overlay);
}

.chat-button {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.chat-button:hover {
  transform: scale(1.1);
}

.chat-popup {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 320px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-card);
  display: none;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  animation: scaleUp 0.3s ease;
}

@keyframes scaleUp {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.chat-header {
  background: linear-gradient(90deg, #151623, #1a1b2e);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.online-dot {
  width: 8px;
  height: 8px;
  background: #27c93f;
  border-radius: 50%;
  box-shadow: 0 0 5px #27c93f;
}
.chat-header h3 {
  font-size: 1rem;
  font-family: var(--font-heading);
  color: var(--text-main);
}
.close-chat {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.chat-body {
  height: 250px;
  padding: 20px;
  overflow-y: auto;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-message {
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 15px;
  font-size: 0.9rem;
  line-height: 1.4;
}
.chat-message.received {
  background: var(--bg-surface);
  color: var(--text-main);
  align-self: flex-start;
  border-bottom-left-radius: 5px;
}
.chat-message.sent {
  background: var(--primary);
  color: #000;
  align-self: flex-end;
  border-bottom-right-radius: 5px;
}

.chat-footer {
  display: flex;
  padding: 15px;
  background: var(--bg-card);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.chat-footer input {
  flex: 1;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 8px 15px;
  color: var(--text-main);
  outline: none;
  font-family: var(--font-sans);
}
.chat-footer button {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.2rem;
  margin-left: 10px;
  cursor: pointer;
  transition: var(--transition-fast);
}
.chat-footer button:hover {
  transform: scale(1.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ==================================================
   RESPONSIVE DESIGN
   ================================================== */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.2rem;
  }
  .hero-stats {
    gap: 20px;
  }
}

@media (max-width: 992px) {
  .hero-container,
  .about-grid,
  .calc-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-visual {
    order: 1;
    margin-bottom: 30px;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }

  .about-content {
    text-align: left;
  }

  .pane-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .pane-icon {
    display: none;
  }

  .report-grid {
    grid-template-columns: 1fr 1fr;
  }
  .span-2 {
    grid-column: span 2;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .navbar {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(7, 7, 11, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.4s ease-in-out;
  }

  .navbar.active {
    left: 0;
  }
  .nav-menu {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  .nav-link {
    font-size: 1.2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }
  .section-title {
    font-size: 2.2rem;
  }

  .report-grid {
    grid-template-columns: 1fr;
  }
  .span-2 {
    grid-column: span 1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-about p {
    margin: 0 auto 20px;
  }
  .footer-social,
  .contact-list li {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-btns {
    flex-direction: column;
    width: 100%;
  }
  .stat-item h3 {
    font-size: 1.8rem;
  }
  .tab-buttons {
    flex-direction: column;
  }
  .calc-ui {
    padding: 20px;
  }
  .cta-box {
    padding: 40px 20px;
  }
  .contact-form-block {
    padding: 30px 20px;
  }
  .content-wrapper {
    padding: 30px 20px;
  }
}
