/* ==========================================================================
   AWWARDS-LEVEL PREMIUM DIGITAL AGENCY THEME
   ========================================================================== */

:root {
  /* Color Palette - Deep Dark Tech Vibe */
  --bg-base: #050507;
  --bg-surface: #0a0a0f;
  --bg-glass: rgba(20, 20, 25, 0.6);
  --bg-glass-hover: rgba(30, 30, 40, 0.8);

  --text-main: #f0f0f5;
  --text-muted: #9aa0a6;
  --text-dark: #121212;

  --accent-1: #4361ee; /* Electric Blue */
  --accent-2: #7209b7; /* Neon Purple */
  --accent-3: #f72585; /* Pink Highlight */

  --gradient-primary: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  --gradient-glow: radial-gradient(
    circle,
    rgba(67, 97, 238, 0.15) 0%,
    rgba(5, 5, 7, 0) 70%
  );

  /* Typography */
  --font-head: "Space Grotesk", sans-serif;
  --font-body: "Manrope", sans-serif;

  /* Spacing & Layout */
  --container-width: 1400px;
  --section-pad: 120px;

  /* UI Elements */
  --border-glass: 1px solid rgba(255, 255, 255, 0.05);
  --border-glass-light: 1px solid rgba(255, 255, 255, 0.1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* Transitions */
  --cubic-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --trans-fast: 0.3s var(--cubic-smooth);
  --trans-slow: 0.8s var(--cubic-smooth);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-base);
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-base);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none; /* Custom cursor */
}

/* Hide scrollbar for a cleaner look but keep functionality */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-1);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
}
a {
  text-decoration: none;
  color: inherit;
  cursor: none;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font-family: inherit;
  cursor: none;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 5%;
}

.ptb-120 {
  padding: var(--section-pad) 0;
}
.mb-80 {
  margin-bottom: 80px;
}
.mb-40 {
  margin-bottom: 40px;
}
.mt-20 {
  margin-top: 20px;
}
.text-center {
  text-align: center;
}
.relative-z {
  position: relative;
  z-index: 10;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   CUSTOM CURSOR
   ========================================================================== */
.custom-cursor,
.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  border-radius: 50%;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

.custom-cursor {
  width: 8px;
  height: 8px;
  background: var(--accent-1);
  transition:
    width 0.3s,
    height 0.3s,
    background 0.3s;
}

.cursor-follower {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition:
    transform 0.1s linear,
    width 0.3s,
    height 0.3s,
    border-color 0.3s;
}

body.hovering .custom-cursor {
  width: 0;
  height: 0;
}
body.hovering .cursor-follower {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(2px);
  border-color: var(--accent-1);
}

@media (max-width: 1024px) {
  body {
    cursor: auto;
  }
  a,
  button {
    cursor: pointer;
  }
  .custom-cursor,
  .cursor-follower {
    display: none;
  }
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-base);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    opacity 0.8s ease,
    visibility 0.8s ease;
}
.preloader-content {
  text-align: center;
  width: 200px;
}
.preloader-img {
  width: 120px;
  margin: 0 auto 30px;
  opacity: 0;
  animation: pulseOp 2s infinite;
}
.progress-wrap {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  position: relative;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  width: 0%;
  background: var(--gradient-primary);
  transition: width 0.1s linear;
}
.progress-text {
  font-family: var(--font-head);
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 2px;
}

body:not(.loading) .preloader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes pulseOp {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* ==========================================================================
   GLASSMORPHISM COMPONENTS
   ========================================================================== */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 16px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  transition: var(--trans-fast);
  z-index: 1;
}

.btn-primary {
  background: var(--text-main);
  color: var(--text-dark);
}
.btn-primary .btn-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  z-index: -1;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s var(--cubic-smooth);
}
.btn-primary:hover {
  color: var(--text-main);
}
.btn-primary:hover .btn-fill {
  transform: scaleY(1);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-outline:hover {
  border-color: var(--accent-1);
  background: rgba(67, 97, 238, 0.1);
}

.btn-large {
  padding: 20px 40px;
  font-size: 18px;
  border-radius: 40px;
}
.w-100 {
  width: 100%;
}

/* ==========================================================================
   GLOBAL HEADER (STRICTLY CONSISTENT)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: all 0.4s ease;
}
.site-header.scrolled {
  padding: 10px 0;
  background: rgba(5, 5, 7, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: var(--border-glass);
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 5%;
}
.site-logo {
  height: 35px;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s;
}
.logo-link:hover .site-logo {
  opacity: 0.8;
}

.main-nav {
  display: block;
}
.nav-list {
  display: flex;
  gap: 40px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 5px 0;
}
.nav-link.active {
  color: var(--accent-1);
}

/* Hover Underline Effect */
.hover-underline::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--cubic-smooth);
}
.hover-underline:hover::after,
.hover-underline.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.hamburger-menu {
  display: none;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}
.hamburger-menu .line {
  width: 30px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-base);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  clip-path: circle(0% at top right);
  transition: clip-path 0.8s var(--cubic-smooth);
}
.mobile-menu-overlay.active {
  clip-path: circle(150% at top right);
}
.mobile-nav-list {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.mobile-link {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.4s;
}
.mobile-menu-overlay.active .mobile-link {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu-overlay.active li:nth-child(1) .mobile-link {
  transition-delay: 0.1s;
}
.mobile-menu-overlay.active li:nth-child(2) .mobile-link {
  transition-delay: 0.2s;
}
.mobile-menu-overlay.active li:nth-child(3) .mobile-link {
  transition-delay: 0.3s;
}
.mobile-menu-overlay.active li:nth-child(4) .mobile-link {
  transition-delay: 0.4s;
}
.mobile-menu-overlay.active li:nth-child(5) .mobile-link {
  transition-delay: 0.5s;
}

@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .header-actions .btn {
    display: none;
  }
  .hamburger-menu {
    display: flex;
  }
  .hamburger-menu.active .line-1 {
    transform: rotate(45deg) translate(5px, 6px);
  }
  .hamburger-menu.active .line-2 {
    opacity: 0;
  }
  .hamburger-menu.active .line-3 {
    transform: rotate(-45deg) translate(5px, -6px);
  }
}

/* ==========================================================================
   HERO SECTION (INDEX)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}
.hero-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  animation: floatOrb 10s ease-in-out infinite alternate;
}
.orb-1 {
  width: 600px;
  height: 600px;
  background: var(--accent-1);
  top: -200px;
  right: -100px;
}
.orb-2 {
  width: 500px;
  height: 500px;
  background: var(--accent-2);
  bottom: -100px;
  left: -200px;
  animation-delay: -5s;
}
.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(40px, 5vw, 80px);
  letter-spacing: -1px;
  margin-bottom: 30px;
}
.line-wrap {
  display: block;
  overflow: hidden;
}
.line-inner {
  display: block;
}
.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 90%;
}
.hero-btns {
  display: flex;
  gap: 20px;
}

/* Hero Visual Mockup */
.hero-visual {
  perspective: 1000px;
}
.hero-visual .glass-card {
  padding: 30px;
  background: rgba(10, 10, 15, 0.8);
  transform: rotateY(-15deg) rotateX(5deg);
  transition: transform 0.5s;
}
.hero-visual:hover .glass-card {
  transform: rotateY(0) rotateX(0);
}
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 15px;
}
.dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f56;
  margin-right: 5px;
}
.dots span:nth-child(2) {
  background: #ffbd2e;
}
.dots span:nth-child(3) {
  background: #27c93f;
}
.card-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
}
.chart-mockup {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 150px;
  margin-bottom: 30px;
}
.bar-wrap {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
}
.bar {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  transition: height 1s var(--cubic-smooth);
}
.bar.highlight {
  background: var(--gradient-primary);
  box-shadow: 0 0 20px rgba(67, 97, 238, 0.4);
}
.h-40 {
  height: 40%;
}
.h-60 {
  height: 60%;
}
.h-30 {
  height: 30%;
}
.h-80 {
  height: 80%;
}
.h-50 {
  height: 50%;
}
.h-90 {
  height: 90%;
}
.stats-row {
  display: flex;
  justify-content: space-between;
}
.stat-item .label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 5px;
}
.stat-item .value {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: #27c93f;
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 50px;
  }
  .hero-desc {
    margin: 0 auto 40px;
  }
  .hero-btns {
    justify-content: center;
    flex-direction: column;
  }
  .hero-visual {
    margin-top: 50px;
  }
  .hero-visual .glass-card {
    transform: none;
  }
}

/* ==========================================================================
   MARQUEE SECTION
   ========================================================================== */
.marquee-section {
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(10, 10, 15, 0.5);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: scrollMarquee 30s linear infinite;
}
.marquee-content {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.marquee-content span {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--text-muted);
}
.separator {
  color: var(--accent-1) !important;
  margin: 0 40px;
  font-size: 20px !important;
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.section-title {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 20px;
}
.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.lead-text {
  font-size: 20px;
  color: #ddd;
  margin-bottom: 40px;
  font-weight: 300;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.feature-item {
  display: flex;
  gap: 20px;
}
.icon-box {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(67, 97, 238, 0.1);
  border: 1px solid rgba(67, 97, 238, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  color: var(--accent-1);
}
.icon-box svg {
  width: 30px;
  height: 30px;
}
.feature-item h4 {
  font-size: 20px;
  margin-bottom: 10px;
}
.feature-item p {
  color: var(--text-muted);
}

.about-visual {
  position: relative;
  height: 100%;
  min-height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.parallax-element {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.shape-1 {
  width: 300px;
  height: 300px;
  background: var(--accent-2);
  top: 0;
  left: 0;
  opacity: 0.4;
}
.shape-2 {
  width: 250px;
  height: 250px;
  background: var(--accent-1);
  bottom: 0;
  right: 0;
  opacity: 0.4;
}
.big-number {
  font-family: var(--font-head);
  font-size: 80px;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.big-number-label {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-top: 10px;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.service-card {
  background: var(--bg-surface);
  border: var(--border-glass-light);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s,
    background 0.3s;
  transform-style: preserve-3d;
}
.service-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(20, 20, 25, 1);
}
.card-icon {
  width: 50px;
  height: 50px;
  color: var(--accent-1);
  margin-bottom: 25px;
  transform: translateZ(20px);
}
.service-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  transform: translateZ(30px);
}
.card-text {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 15px;
  transform: translateZ(20px);
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--text-main);
  transform: translateZ(20px);
  transition: 0.3s;
}
.card-link .arrow {
  transition: transform 0.3s;
}
.service-card:hover .card-link {
  color: var(--accent-1);
}
.service-card:hover .arrow {
  transform: translateX(5px);
}
.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(67, 97, 238, 0.1),
    transparent 70%
  );
  opacity: 0;
  transition: 0.5s;
  pointer-events: none;
}
.service-card:hover .card-glow {
  opacity: 1;
}

/* ==========================================================================
   CALCULATOR SECTION
   ========================================================================== */
.dark-bg {
  background-color: #030305;
  position: relative;
}
.calc-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.calc-info h2 {
  font-size: 40px;
  margin-bottom: 20px;
}
.calc-info p {
  color: var(--text-muted);
  margin-bottom: 30px;
}
.calc-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 16px;
}
.check-icon {
  color: #27c93f;
  font-weight: bold;
  font-style: normal;
}

.input-group {
  margin-bottom: 30px;
}
.input-group label {
  display: block;
  font-family: var(--font-head);
  font-weight: 500;
  margin-bottom: 15px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.range-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}
input[type="range"] {
  flex: 1;
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-1);
  cursor: pointer;
  border: 4px solid var(--bg-surface);
  box-shadow: 0 0 10px rgba(67, 97, 238, 0.5);
}
.range-val {
  width: 80px;
  text-align: right;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
}

.calc-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 20px;
}
.result-box {
  padding: 25px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  text-align: center;
}
.result-box span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.result-box h3 {
  font-size: 36px;
  margin: 0;
}
.highlight-box {
  border-color: rgba(67, 97, 238, 0.3);
  background: rgba(67, 97, 238, 0.05);
}
.disclaimer-text {
  font-size: 12px;
  color: #666;
  text-align: center;
}

@media (max-width: 992px) {
  .calc-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .calc-results {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   INDUSTRIES TABS
   ========================================================================== */
.tabs-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 12px 24px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.3s;
}
.tab-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.tab-btn.active {
  background: var(--accent-1);
  color: #fff;
  border-color: var(--accent-1);
}

.tab-pane {
  display: none;
  animation: fadeIn 0.5s ease;
}
.tab-pane.active {
  display: block;
}
.tab-inner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.tab-inner-grid h3 {
  font-size: 32px;
  margin-bottom: 20px;
}
.tab-inner-grid p {
  color: var(--text-muted);
  margin-bottom: 30px;
}
.bullet-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  font-size: 16px;
}
.bullet-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-1);
  font-family: monospace;
}

/* UI Mockups for Tabs */
.tab-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.mock-ui {
  width: 100%;
  height: 100%;
  background: #111;
  border-radius: 8px;
  border: 1px solid #222;
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.ui-header {
  font-family: var(--font-head);
  font-size: 12px;
  color: #888;
  border-bottom: 1px solid #222;
  padding-bottom: 10px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.ui-chart.circular {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 15px solid #222;
  border-top-color: var(--accent-1);
  border-right-color: var(--accent-2);
  margin: auto;
  animation: spin 4s linear infinite;
}
.ui-bars {
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
  height: 100%;
}
.ui-bars .b {
  height: 20px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  border-radius: 10px;
}
.ui-wave {
  width: 100%;
  height: 60px;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(67, 97, 238, 0.2) 10px,
    rgba(67, 97, 238, 0.2) 20px
  );
  margin: auto;
  border-radius: 8px;
}
.ui-map-dots {
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#333 2px, transparent 2px);
  background-size: 20px 20px;
  position: relative;
}
.ui-map-dots::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  background: var(--accent-3);
  border-radius: 50%;
  top: 40%;
  left: 50%;
  box-shadow: 0 0 0 10px rgba(247, 37, 133, 0.2);
  animation: pulseMap 2s infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}
@keyframes pulseMap {
  0% {
    box-shadow: 0 0 0 0 rgba(247, 37, 133, 0.4);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(247, 37, 133, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(247, 37, 133, 0);
  }
}

@media (max-width: 992px) {
  .tab-inner-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   REPORTS SECTION
   ========================================================================== */
.reports-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.reports-content p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.check-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 18px;
  font-weight: 500;
}
.chk {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(67, 97, 238, 0.2);
  position: relative;
}
.chk::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  width: 5px;
  height: 10px;
  border: solid var(--accent-1);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.dashboard-mockup {
  background: #0c0c12;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
}
.dashboard-mockup::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    transparent 50%
  );
  border-radius: var(--radius-lg);
  z-index: -1;
}
.dash-top {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}
.dash-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.02);
}
.dash-card .title {
  display: block;
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.dash-card .num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  display: block;
  margin-bottom: 5px;
}
.trend {
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
}
.trend.pos {
  background: rgba(39, 201, 63, 0.1);
  color: #27c93f;
}
.trend.neg {
  background: rgba(255, 95, 86, 0.1);
  color: #ff5f56;
}
.dash-main-chart {
  height: 200px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}
.line-graph {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.chart-area {
  fill: url(#grad) rgba(67, 97, 238, 0.2);
}
.chart-line {
  fill: none;
  stroke: var(--accent-1);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 5px 5px rgba(67, 97, 238, 0.5));
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLine 3s ease forwards;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}
@media (max-width: 992px) {
  .reports-grid {
    grid-template-columns: 1fr;
    grid-auto-flow: dense;
  }
  .reports-visual {
    grid-row: 2;
  }
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonial-slider {
  overflow: hidden;
  padding: 20px 0;
}
.testi-track {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  scrollbar-width: none;
}
.testi-track::-webkit-scrollbar {
  display: none;
}
.testi-card {
  min-width: 400px;
  scroll-snap-align: center;
  position: relative;
}
.quote-icon {
  position: absolute;
  top: 20px;
  right: 30px;
  font-family: serif;
  font-size: 80px;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
}
.testi-text {
  font-size: 18px;
  color: #ddd;
  margin-bottom: 30px;
  font-style: italic;
  position: relative;
  z-index: 1;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 15px;
}
.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  font-size: 18px;
}
.bg-1 {
  background: linear-gradient(45deg, #ff9a9e, #fecfef);
  color: #333;
}
.bg-2 {
  background: linear-gradient(45deg, #84fab0, #8fd3f4);
  color: #333;
}
.bg-3 {
  background: linear-gradient(45deg, #a18cd1, #fbc2eb);
}
.testi-author h4 {
  font-size: 16px;
  margin: 0;
}
.testi-author span {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .testi-card {
    min-width: 85vw;
  }
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
  padding: 80px 0 120px;
}
.cta-box {
  text-align: center;
  padding: 80px 40px;
  background: linear-gradient(
    135deg,
    rgba(20, 20, 25, 0.8),
    rgba(67, 97, 238, 0.1)
  );
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(114, 9, 183, 0.15) 0%,
    transparent 60%
  );
  z-index: 0;
  pointer-events: none;
}
.cta-content {
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
}
.cta-content h2 {
  font-size: clamp(32px, 5vw, 56px);
  margin-bottom: 20px;
}
.cta-content p {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}
.cta-action {
  position: relative;
  z-index: 1;
}
.sub-text {
  margin-top: 15px;
  font-size: 14px;
  color: #888;
}

/* ==========================================================================
   GLOBAL FOOTER (STRICTLY CONSISTENT)
   ========================================================================== */
.site-footer {
  background: #020203;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}
.footer-top {
  padding-bottom: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
}
.footer-logo img {
  height: 40px;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}
.brand-desc {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 30px;
  max-width: 300px;
}
.social-links {
  display: flex;
  gap: 15px;
}
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  transition: 0.3s;
}
.social-link:hover {
  background: var(--accent-1);
  border-color: var(--accent-1);
  transform: translateY(-3px);
}

.footer-heading {
  font-size: 18px;
  margin-bottom: 25px;
  color: #fff;
  letter-spacing: 1px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 15px;
  transition: 0.3s;
  position: relative;
  display: inline-block;
  width: fit-content;
}
.footer-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent-1);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.footer-links a:hover {
  color: #fff;
}
.footer-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  color: var(--text-muted);
  font-size: 15px;
}
.f-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-1);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-info a {
  color: var(--text-muted);
  transition: 0.3s;
}
.footer-contact-info a:hover {
  color: var(--accent-1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 25px 0;
  text-align: center;
  color: #666;
  font-size: 14px;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-brand {
    grid-column: span 2;
    max-width: 100%;
  }
  .brand-desc {
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: span 1;
  }
}

/* ==========================================================================
   PAGE HEADERS (Contact, Legal)
   ========================================================================== */
.page-header {
  padding: 200px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.page-title {
  font-size: clamp(40px, 5vw, 64px);
  margin-bottom: 20px;
  background: var(--text-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-subtitle {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   CONTACT PAGE STYLES
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}
.info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.info-card {
  padding: 30px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.info-card .icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(67, 97, 238, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent-1);
  flex-shrink: 0;
}
.info-card .icon-wrap svg {
  width: 24px;
  height: 24px;
}
.info-card h3 {
  font-size: 18px;
  margin-bottom: 5px;
  color: #fff;
}
.info-card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 15px;
}

.custom-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  margin-bottom: 25px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ddd;
  letter-spacing: 0.5px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
  transition: 0.3s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-1);
  box-shadow: 0 0 15px rgba(67, 97, 238, 0.2);
  background: rgba(0, 0, 0, 0.5);
}
.custom-select-wrap {
  position: relative;
}
.custom-select-wrap::after {
  content: "▼";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  pointer-events: none;
  font-size: 12px;
}
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .custom-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* Popup */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
}
.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}
.popup-content {
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
  transform: scale(0.9);
  transition: 0.4s var(--cubic-smooth);
}
.popup-overlay.active .popup-content {
  transform: scale(1);
}
.popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: #888;
  cursor: pointer;
}
.popup-close:hover {
  color: #fff;
}
.popup-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
}
.popup-content h3 {
  font-size: 28px;
  margin-bottom: 10px;
}
.popup-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ==========================================================================
   LEGAL PAGES (Privacy, Terms, Disclaimer)
   ========================================================================== */
.legal-container {
  max-width: 900px;
}
.legal-document {
  padding: 60px;
}
.formatted-text h2 {
  font-size: 28px;
  margin: 40px 0 20px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}
.formatted-text p {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 20px;
  line-height: 1.8;
}
.formatted-text ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
  color: #ccc;
}
.formatted-text li {
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .legal-document {
    padding: 30px;
  }
}

/* ==========================================================================
   ANIMATIONS (Scroll reveals)
   ========================================================================== */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  transition:
    opacity 1s var(--cubic-smooth),
    transform 1s var(--cubic-smooth);
  will-change: opacity, transform;
}
.reveal-up {
  transform: translateY(60px);
}
.reveal-left {
  transform: translateX(-60px);
}
.reveal-right {
  transform: translateX(60px);
}
.reveal-scale {
  transform: scale(0.9);
}

.reveal-up.is-revealed,
.reveal-left.is-revealed,
.reveal-right.is-revealed,
.reveal-scale.is-revealed {
  opacity: 1;
  transform: translate(0) scale(1);
}

.delay-1 {
  transition-delay: 0.15s;
}
.delay-2 {
  transition-delay: 0.3s;
}

/* Text reveal animation */
.reveal-text .line-wrap {
  overflow: hidden;
  display: block;
}
.reveal-text .line-inner {
  display: block;
  transform: translateY(100%);
  transition: transform 1s cubic-bezier(0.2, 0, 0.2, 1);
}
.reveal-text.is-revealed .line-inner {
  transform: translateY(0);
}
.reveal-text.is-revealed .line-wrap:nth-child(2) .line-inner {
  transition-delay: 0.15s;
}

/* Live Chat Pulse */
.live-chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
  z-index: 990;
  cursor: pointer;
  transition: transform 0.3s;
}
.live-chat-widget:hover {
  transform: scale(1.1);
}
.live-chat-widget svg {
  width: 28px;
  height: 28px;
}
.pulse-anim::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--accent-1);
  border-radius: 50%;
  z-index: -1;
  animation: pulseChat 2s infinite;
}
@keyframes pulseChat {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
@media (max-width: 768px) {
  .live-chat-widget {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  .live-chat-widget svg {
    width: 24px;
    height: 24px;
  }
}
