/* ==========================================================================
   CSS VARIABLES & RESET
   ========================================================================== */
:root {
  /* Color Palette (Deep Tech/Marketing Theme) */
  --primary: #00f0ff;
  --primary-dark: #008b99;
  --secondary: #7000ff;
  --secondary-light: #9b4dff;
  --dark-bg: #0a0a10;
  --dark-surface: #14141e;
  --dark-surface-2: #1e1e2d;
  --text-light: #e0e0e6;
  --text-muted: #9ba1a6;
  --white: #ffffff;
  --gradient-1: linear-gradient(135deg, var(--primary), var(--secondary));
  --gradient-2: linear-gradient(90deg, #ff0055, #7000ff);

  /* Spacing & Sizes */
  --max-width: 1200px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  /* Typography */
  --font-heading: "Outfit", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 20px rgba(0, 240, 255, 0.3);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--dark-bg);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--dark-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--dark-surface-2);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-base);
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-padding {
  padding: 100px 0;
}
.text-center {
  text-align: center;
}
.bg-alt {
  background-color: var(--dark-surface);
}
.text-gradient {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.w-100 {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-family: var(--font-heading);
  cursor: pointer;
  border: none;
  text-align: center;
  transition: var(--transition-base);
}
.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}
.btn-primary {
  background: var(--gradient-1);
  color: var(--white);
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  opacity: 0;
  z-index: -1;
  transition: var(--transition-base);
}
.btn-primary:hover::before {
  opacity: 1;
}
.btn-glow:hover {
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
  transform: translateY(-3px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--dark-surface-2);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}
.preloader.hidden {
  opacity: 0;
  pointer-events: none;
}
.preloader-logo img {
  width: 180px;
  margin-bottom: 20px;
}
.loader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--dark-surface-2);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* ==========================================================================
   HEADER / NAVIGATION (DARK BG FOR WHITE LOGO)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(10, 10, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-base);
}
.header.scrolled {
  height: 70px;
  background: rgba(10, 10, 16, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.logo img {
  height: 40px; /* Assuming logo.png is white, fits perfectly on dark bg */
  width: auto;
}
.nav-list {
  display: flex;
  gap: 30px;
}
.nav-link {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 5px 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: var(--transition-base);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle .bar {
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: var(--transition-base);
}

/* ==========================================================================
   HERO SECTION (3D + PARTICLES)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(112, 0, 255, 0.15) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 20% 80%,
      rgba(0, 240, 255, 0.1) 0%,
      transparent 40%
    );
}
.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content .badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(0, 240, 255, 0.1);
  color: var(--primary);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 25px;
  color: var(--white);
}
.hero-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 35px;
  max-width: 90%;
}
.hero-btns {
  display: flex;
  gap: 20px;
}

/* 3D Visual in Hero */
.hero-visual {
  perspective: 1000px;
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-3d-element {
  position: relative;
  width: 250px;
  height: 250px;
  transform-style: preserve-3d;
  animation: float3D 6s ease-in-out infinite;
}
.cube {
  width: 100%;
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
  animation: rotateCube 15s linear infinite;
}
.cube .face {
  position: absolute;
  width: 250px;
  height: 250px;
  background: rgba(30, 30, 45, 0.8);
  border: 2px solid var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 4rem;
  color: var(--primary);
  backdrop-filter: blur(5px);
  box-shadow: inset 0 0 30px rgba(0, 240, 255, 0.2);
}
.face.front {
  transform: translateZ(125px);
}
.face.back {
  transform: rotateY(180deg) translateZ(125px);
}
.face.right {
  transform: rotateY(90deg) translateZ(125px);
}
.face.left {
  transform: rotateY(-90deg) translateZ(125px);
}
.face.top {
  transform: rotateX(90deg) translateZ(125px);
}
.face.bottom {
  transform: rotateX(-90deg) translateZ(125px);
}

.floating-card {
  position: absolute;
  background: var(--dark-surface-2);
  padding: 15px 25px;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}
.floating-card i {
  color: var(--secondary);
  font-size: 1.5rem;
}
.card-1 {
  top: -20px;
  left: -50px;
  animation: floatCard1 4s ease-in-out infinite alternate;
}
.card-2 {
  bottom: -20px;
  right: -50px;
  animation: floatCard2 5s ease-in-out infinite alternate;
}

/* ==========================================================================
   TICKER SECTION
   ========================================================================== */
.ticker-section {
  background: var(--primary);
  color: var(--dark-bg);
  padding: 15px 0;
  overflow: hidden;
  position: relative;
}
.ticker-wrapper {
  width: 100%;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: scrollTicker 30s linear infinite;
  align-items: center;
}
.ticker-track span {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 30px;
}
.ticker-track i {
  font-size: 0.8rem;
}

/* ==========================================================================
   ABOUT & STATS SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}
.about-image .img-placeholder {
  width: 100%;
  aspect-ratio: 1/1;
  background: linear-gradient(
    135deg,
    var(--dark-surface),
    var(--dark-surface-2)
  );
  border-radius: var(--radius-lg);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 6rem;
  color: var(--secondary);
  border: 1px solid rgba(112, 0, 255, 0.2);
  overflow: hidden;
}
.circle-decoration {
  position: absolute;
  width: 150%;
  height: 150%;
  border: 2px dashed rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: spin 20s linear infinite;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: var(--white);
  margin-bottom: 10px;
}
.section-subtitle {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 25px;
  font-weight: 500;
}
.feature-list {
  margin-top: 30px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: var(--white);
}
.feature-list i {
  color: var(--primary);
  font-size: 1.2rem;
}

.stats-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  background: var(--dark-surface);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.stat-box {
  text-align: center;
}
.stat-box h3 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--white);
  display: inline-block;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-box span {
  font-size: 2rem;
  color: var(--primary);
  font-weight: 700;
}
.stat-box p {
  color: var(--text-muted);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.section-header {
  margin-bottom: 60px;
  max-width: 600px;
  margin-inline: auto;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.service-card {
  background: var(--dark-bg);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-base);
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(0, 240, 255, 0.2);
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-card .icon-wrapper {
  width: 70px;
  height: 70px;
  background: rgba(112, 0, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  color: var(--secondary-light);
  margin-bottom: 25px;
  transition: var(--transition-base);
}
.service-card:hover .icon-wrapper {
  background: var(--gradient-1);
  color: var(--white);
  transform: rotateY(180deg);
}
.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 15px;
}
.service-card p {
  color: var(--text-muted);
  margin-bottom: 25px;
}
.service-link {
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-link i {
  transition: transform 0.3s ease;
}
.service-link:hover i {
  transform: translateX(5px);
}

/* ==========================================================================
   INDUSTRIES (TABS)
   ========================================================================== */
.industry-tabs {
  background: var(--dark-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.tab-buttons {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--dark-surface-2);
}
.tab-btn {
  flex: 1;
  padding: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.tab-btn:hover {
  background: rgba(255, 255, 255, 0.02);
  color: var(--white);
}
.tab-btn.active {
  background: var(--dark-surface);
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}
.tab-content {
  display: none;
  padding: 60px;
  animation: fadeIn 0.5s ease;
}
.tab-content.active {
  display: block;
}
.tab-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.tab-text h3 {
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 20px;
}
.tab-text p {
  font-size: 1.1rem;
}
.tab-visual {
  background: var(--dark-bg);
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 5rem;
  color: var(--secondary);
  border: 1px dashed rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   ROI CALCULATOR
   ========================================================================== */
.calc-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}
.calc-info h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 20px;
}
.calc-decor {
  margin-top: 40px;
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.03);
}
.calc-card {
  background: var(--dark-bg);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: var(--shadow-glow);
}
.input-group {
  margin-bottom: 30px;
}
.input-group label {
  display: block;
  color: var(--white);
  margin-bottom: 15px;
  font-weight: 500;
}
input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  background: var(--dark-surface-2);
  height: 6px;
  border-radius: 3px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 10px var(--primary);
}
.val-display {
  display: block;
  text-align: right;
  margin-top: 10px;
  font-weight: 700;
  color: var(--secondary-light);
}
.calc-result {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}
.calc-result h4 {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.calc-result h2 {
  font-size: 3.5rem;
  margin: 0;
}

/* ==========================================================================
   SAMPLE DASHBOARD (REPORTS)
   ========================================================================== */
.dashboard-mockup {
  background: var(--dark-surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.dash-header {
  background: var(--dark-surface-2);
  padding: 15px 20px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.dash-header .dots {
  display: flex;
  gap: 8px;
}
.dash-header .dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dots .red {
  background: #ff5f56;
}
.dots .yellow {
  background: #ffbd2e;
}
.dots .green {
  background: #27c93f;
}
.dash-title {
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-family: monospace;
}
.dash-body {
  display: flex;
  min-height: 400px;
}
.dash-sidebar {
  width: 200px;
  background: rgba(0, 0, 0, 0.2);
  padding: 20px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}
.dash-sidebar ul li {
  padding: 15px 20px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  transition: 0.3s;
}
.dash-sidebar ul li:hover,
.dash-sidebar ul li.active {
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary);
  border-left: 3px solid var(--primary);
}
.dash-main {
  flex: 1;
  padding: 30px;
}
.dash-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}
.d-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: var(--radius-md);
}
.d-card h5 {
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 400;
}
.d-card h3 {
  color: var(--white);
  font-size: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.d-card span.positive {
  font-size: 0.9rem;
  color: #27c93f;
  background: rgba(39, 201, 63, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
}
.dash-chart {
  height: 200px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
}
.bar-chart {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 10px;
}
.bar {
  width: 40px;
  background: var(--gradient-1);
  border-radius: 4px 4px 0 0;
  position: relative;
  animation: growUp 1.5s ease-out forwards;
}
.bar span {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.testimo-card {
  background: var(--dark-bg);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}
.quote-icon {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.05);
}
.review {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 30px;
  color: var(--text-light);
}
.client-info {
  display: flex;
  align-items: center;
  gap: 15px;
}
.client-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--dark-surface-2);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  color: var(--primary);
}
.client-info h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin: 0;
}
.client-info span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
  padding: 80px 0;
}
.cta-box {
  background: linear-gradient(
    135deg,
    rgba(0, 240, 255, 0.1),
    rgba(112, 0, 255, 0.1)
  );
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
}
.cta-content h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 15px;
}
.cta-content p {
  font-size: 1.2rem;
  color: var(--text-light);
}

/* ==========================================================================
   FOOTER (STRICT CONSISTENCY)
   ========================================================================== */
.footer {
  background: rgba(10, 10, 16, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 80px;
  color: var(--text-muted);
}
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 60px;
}
.footer-brand p {
  margin: 20px 0;
}
.footer-logo img {
  width: 150px;
}
.social-links {
  display: flex;
  gap: 15px;
}
.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark-surface-2);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  transition: var(--transition-base);
}
.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}
.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}
.footer-links h4::after,
.footer-contact h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}
.footer-links ul li {
  margin-bottom: 12px;
}
.footer-links ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}
.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
}
.contact-info i {
  color: var(--primary);
  margin-top: 5px;
}
.footer-bottom {
  text-align: center;
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}

/* ==========================================================================
   PAGES: CONTACT, PRIVACY, TERMS, DISCLAIMER
   ========================================================================== */
.page-main {
  padding-top: var(--header-height);
  min-height: 80vh;
}
.page-hero {
  padding: 80px 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(to bottom, var(--dark-bg), var(--dark-surface));
}
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 15px;
}
.legal-section {
  max-width: 900px;
  margin: 0 auto;
}
.legal-content {
  background: var(--dark-surface);
  padding: 60px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.legal-content h2 {
  color: var(--white);
  font-family: var(--font-heading);
  margin: 40px 0 20px;
  font-size: 1.8rem;
}
.legal-content p {
  margin-bottom: 20px;
  color: var(--text-light);
}
.box-shadow {
  box-shadow: var(--shadow-soft);
}

/* Contact Specific */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}
.c-info-list {
  margin-top: 40px;
}
.c-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}
.c-item i {
  width: 50px;
  height: 50px;
  background: rgba(0, 240, 255, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
}
.c-item h3 {
  color: var(--white);
  margin-bottom: 5px;
  font-size: 1.2rem;
}
.custom-form {
  background: var(--dark-surface);
  padding: 50px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  margin-bottom: 25px;
}
.form-group label {
  display: block;
  margin-bottom: 10px;
  color: var(--text-light);
  font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px;
  background: var(--dark-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--white);
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition-base);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}

/* ==========================================================================
   LIVE CHAT
   ========================================================================== */
.live-chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 999;
  box-shadow: var(--shadow-glow);
  animation: pulse 2s infinite;
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(0, 240, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 240, 255, 0);
  }
}
@keyframes float3D {
  0% {
    transform: translateY(0px) rotateX(0) rotateY(0);
  }
  50% {
    transform: translateY(-20px) rotateX(5deg) rotateY(5deg);
  }
  100% {
    transform: translateY(0px) rotateX(0) rotateY(0);
  }
}
@keyframes rotateCube {
  0% {
    transform: rotateX(0) rotateY(0) rotateZ(0);
  }
  100% {
    transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
  }
}
@keyframes floatCard1 {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-15px);
  }
}
@keyframes floatCard2 {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(15px);
  }
}
@keyframes scrollTicker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes growUp {
  0% {
    height: 0;
  }
}

/* AOS Classes (Triggered via JS) */
.aos {
  opacity: 0;
  transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.aos.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}
.fade-in {
  transform: scale(0.95);
}
.slide-up {
  transform: translateY(40px);
}
.slide-left {
  transform: translateX(50px);
}
.slide-right {
  transform: translateX(-50px);
}

/* Delay classes */
[data-delay="100"] {
  transition-delay: 0.1s;
}
[data-delay="200"] {
  transition-delay: 0.2s;
}
[data-delay="300"] {
  transition-delay: 0.3s;
}
[data-delay="400"] {
  transition-delay: 0.4s;
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-wrapper,
  .about-grid,
  .calc-wrapper,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    height: 400px;
    margin-top: 50px;
  }
  .stats-wrapper {
    grid-template-columns: 1fr 1fr;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .dash-body {
    flex-direction: column;
  }
  .dash-sidebar {
    width: 100%;
    display: flex;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow-x: auto;
  }
  .dash-sidebar ul {
    display: flex;
  }
}

@media (max-width: 768px) {
  .header-actions .btn {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .nav {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--dark-bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.4s ease;
  }
  .nav.active {
    left: 0;
  }
  .nav-list {
    flex-direction: column;
    gap: 40px;
    text-align: center;
    font-size: 1.5rem;
  }
  .hero-content h1 {
    font-size: 3rem;
  }
  .tab-buttons {
    flex-direction: column;
  }
  .tab-inner {
    grid-template-columns: 1fr;
  }
  .cta-box {
    flex-direction: column;
    text-align: center;
  }
  .legal-content {
    padding: 30px;
  }
  .footer-main {
    grid-template-columns: 1fr;
  }
  .dash-cards {
    grid-template-columns: 1fr;
  }
  .stats-wrapper {
    grid-template-columns: 1fr;
  }
  .custom-form {
    padding: 30px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
