/* ==========================================================================
   DOMAINTHEME - ELITE DIGITAL MARKETING UI/UX
   Target: Modern, Dark Mode, High-Converting, Tech-Forward
   ========================================================================== */

/* --- 1. Variables & Design Tokens --- */
:root {
  /* Color Palette */
  --color-bg-base: #060609;
  --color-bg-surface: #12121a;
  --color-bg-surface-light: #1c1c28;

  --color-cyan: #00f0ff;
  --color-cyan-glow: rgba(0, 240, 255, 0.4);
  --color-cyan-dim: rgba(0, 240, 255, 0.1);

  --color-purple: #b026ff;
  --color-purple-glow: rgba(176, 38, 255, 0.4);

  --color-text-main: #f8f8f8;
  --color-text-muted: #94a1b2;

  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-highlight: rgba(0, 240, 255, 0.3);

  --color-green: #00e676;
  --color-warning: #ffb400;

  /* Typography */
  --font-heading: "Outfit", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;

  /* Spacing & Layout */
  --container-width: 1280px;
  --section-padding: 6rem;
  --border-radius: 16px;
  --border-radius-lg: 24px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- 2. CSS Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-base);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-base);
}
::-webkit-scrollbar-thumb {
  background: var(--color-bg-surface-light);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-cyan);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

a {
  color: var(--color-cyan);
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- 3. Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.py-section {
  padding: var(--section-padding) 0;
}
.text-center {
  text-align: center;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}
.w-100 {
  width: 100%;
}
.text-cyan {
  color: var(--color-cyan) !important;
}
.text-purple {
  color: var(--color-purple) !important;
}
.text-green {
  color: var(--color-green) !important;
}
.text-warning {
  color: var(--color-warning) !important;
}

/* Gradient Text Effect */
.text-gradient {
  background: linear-gradient(90deg, var(--color-cyan), var(--color-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Glassmorphism Panel */
.glass-panel {
  background: rgba(18, 18, 26, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Section Typography */
.section-subtitle {
  color: var(--color-cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}
.section-desc {
  max-width: 600px;
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

/* --- 4. Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-primary {
  background: linear-gradient(45deg, var(--color-cyan), #0073ff);
  color: #fff;
  box-shadow: 0 4px 15px var(--color-cyan-glow);
}
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--color-purple), var(--color-cyan));
  transition: var(--transition-normal);
  z-index: -1;
}
.btn-primary:hover::before {
  left: 0;
}
.btn-primary:hover {
  box-shadow: 0 6px 20px var(--color-purple-glow);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-text-main);
  border: 1px solid var(--color-border);
}
.btn-outline:hover {
  border-color: var(--color-cyan);
  background: var(--color-cyan-dim);
  transform: translateY(-2px);
}

.btn-glow {
  background: transparent;
  color: var(--color-cyan);
  border: 1px solid var(--color-cyan);
  box-shadow:
    inset 0 0 10px var(--color-cyan-dim),
    0 0 10px var(--color-cyan-dim);
}
.btn-glow:hover {
  background: var(--color-cyan);
  color: #000;
  box-shadow: 0 0 20px var(--color-cyan-glow);
}

/* --- 5. Header (Strictly Consistent) --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem 0;
  z-index: 1000;
  transition: var(--transition-normal);
  background: transparent;
}
.header.scrolled {
  background: rgba(6, 6, 9, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  padding: 0.8rem 0;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}
.logo {
  height: 40px;
  width: auto;
}
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text-main);
  letter-spacing: -0.5px;
}

.nav-list {
  display: flex;
  gap: 2.5rem;
}
.nav-link {
  color: var(--color-text-main);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-cyan);
  transition: var(--transition-normal);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-link:hover {
  color: var(--color-cyan);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1002;
}
.bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-text-main);
  transition: var(--transition-normal);
}
.bar-top {
  top: 0;
}
.bar-middle {
  top: 11px;
}
.bar-bottom {
  bottom: 0;
}

/* Mobile Menu Styles */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  z-index: 1001;
  transition: var(--transition-fast);
}
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--color-bg-surface);
  border-left: 1px solid var(--color-border);
  z-index: 1002;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}
.mobile-nav.open {
  right: 0;
}
.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}
.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}
.mobile-logo {
  height: 35px;
}
.mobile-close {
  background: none;
  border: none;
  color: var(--color-text-main);
  font-size: 1.5rem;
  cursor: pointer;
}
.mobile-nav-links ul {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.mobile-nav-links a {
  font-size: 1.2rem;
  display: block;
}
.mobile-nav-footer {
  margin-top: auto;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}

/* --- 6. Hero Section --- */
.hero-section {
  position: relative;
  padding: 12rem 0 8rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.orb-1 {
  top: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: var(--color-purple);
}
.orb-2 {
  bottom: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: var(--color-cyan);
}
.grid-overlay {
  position: absolute;
  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: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    black 40%,
    transparent 80%
  );
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  background: var(--color-cyan-dim);
  color: var(--color-cyan);
  border: 1px solid var(--color-cyan-glow);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: 4rem;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
}
.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 90%;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}
.trust-avatars {
  display: flex;
  align-items: center;
}
.trust-avatars img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--color-bg-base);
  margin-left: -10px;
}
.trust-avatars img:first-child {
  margin-left: 0;
}
.avatar-more {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg-surface-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  border: 2px solid var(--color-bg-base);
  margin-left: -10px;
  z-index: 1;
}

/* Hero Visual (3D Cards) */
.hero-visual {
  position: relative;
  perspective: 1000px;
  height: 500px;
}
.3d-float {
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0% {
    transform: translateY(0px) rotateX(5deg) rotateY(-5deg);
  }
  50% {
    transform: translateY(-20px) rotateX(10deg) rotateY(0deg);
  }
  100% {
    transform: translateY(0px) rotateX(5deg) rotateY(-5deg);
  }
}
.main-card {
  position: absolute;
  top: 10%;
  right: 10%;
  width: 350px;
  padding: 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(28, 28, 40, 0.8),
    rgba(18, 18, 26, 0.9)
  );
}
.card-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}
.chart-container {
  height: 150px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-end;
}
.bar-chart {
  display: flex;
  gap: 10px;
  width: 100%;
  height: 100%;
  align-items: flex-end;
}
.bar-chart .bar {
  flex: 1;
  background: var(--color-bg-surface-light);
  border-radius: 4px 4px 0 0;
  position: relative;
  overflow: hidden;
}
.bar-chart .bar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, var(--color-cyan), transparent);
  opacity: 0.3;
}
.bar-highlight {
  background: linear-gradient(
    to top,
    var(--color-purple),
    var(--color-cyan)
  ) !important;
  box-shadow: 0 0 15px var(--color-cyan-glow);
}
.card-stats {
  display: flex;
  justify-content: space-between;
}
.stat {
  display: flex;
  flex-direction: column;
}
.stat .label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.stat .value {
  font-size: 1.2rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.float-small {
  position: absolute;
  padding: 0.8rem 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--color-border-highlight);
  background: rgba(18, 18, 26, 0.9);
}
.shape-1 {
  bottom: 15%;
  left: 0;
  animation: floatAlt 5s ease-in-out infinite alternate;
  color: var(--color-cyan);
}
.shape-2 {
  top: 0;
  right: -5%;
  animation: floatAlt 7s ease-in-out infinite alternate-reverse;
  color: var(--color-purple);
}
@keyframes floatAlt {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(-15px) scale(1.05);
  }
}

/* --- 7. Trust Marquee --- */
.trust-marquee {
  background: var(--color-bg-surface);
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.trust-marquee::before,
.trust-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
}
.trust-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg-base), transparent);
}
.trust-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg-base), transparent);
}
.marquee-content {
  display: inline-block;
  animation: scrollMarquee 30s linear infinite;
}
.marquee-content span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin: 0 2rem;
}
@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --- 8. About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.image-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 100%; /* square */
}
.abstract-shape {
  position: absolute;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  border: 2px solid var(--color-border);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morph 8s ease-in-out infinite;
  border-color: var(--color-purple);
}
@keyframes morph {
  0%,
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  50% {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  }
}
.img-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    var(--color-bg-surface),
    var(--color-bg-surface-light)
  );
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--color-cyan-dim);
  overflow: hidden;
}
.img-placeholder::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  transform: skewX(-20deg);
  animation: shine 5s infinite;
}
@keyframes shine {
  0% {
    left: -100%;
  }
  20%,
  100% {
    left: 200%;
  }
}
.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--color-cyan);
  color: #000;
  padding: 1.5rem;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  box-shadow: 0 10px 30px var(--color-cyan-glow);
}
.experience-badge .num {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  line-height: 1;
}
.experience-badge .text {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
}

.features-list {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.feature-item {
  display: flex;
  gap: 1rem;
}
.icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(0, 240, 255, 0.1);
  color: var(--color-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.feature-item h5 {
  margin-bottom: 0.2rem;
  font-size: 1.1rem;
}
.feature-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* --- 9. Services Section --- */
.services-section {
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCI+CjxwYXRoIGQ9Ik0wIDBoNDB2NDBIMHoiIGZpbGw9Im5vbmUiLz4KPGNpcmNsZSBjeD0iMjAiIGN5PSIyMCIgcj0iMSIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIvPgo8L3N2Zz4=")
    var(--color-bg-surface);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.service-card {
  position: relative;
  background: var(--color-bg-base);
  border: 1px solid var(--color-border);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  transition: var(--transition-normal);
  overflow: hidden;
  z-index: 1;
}
.card-glow {
  position: absolute;
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    var(--color-cyan-glow) 0%,
    transparent 70%
  );
  top: -75px;
  right: -75px;
  z-index: -1;
  opacity: 0;
  transition: var(--transition-normal);
}
.service-card:hover .card-glow {
  opacity: 1;
  transform: scale(1.5);
}
.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-border-highlight);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}
.service-icon {
  font-size: 2.5rem;
  color: var(--color-purple);
  margin-bottom: 1.5rem;
}
.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.service-features {
  margin-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}
.service-features li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.service-features li i {
  color: var(--color-green);
  font-size: 0.8rem;
}

/* --- 10. Calculator Section --- */
.calc-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 4rem;
  position: relative;
  overflow: hidden;
}
.calc-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    var(--color-cyan),
    var(--color-purple)
  );
}
.calc-features {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}
.calc-features span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-cyan);
  background: var(--color-cyan-dim);
  padding: 0.5rem 1rem;
  border-radius: 50px;
}
.calc-form {
  background: rgba(0, 0, 0, 0.3);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
}
.range-group {
  margin-bottom: 2rem;
}
.range-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  font-weight: 600;
}
.range-value {
  color: var(--color-cyan);
  font-family: var(--font-heading);
  font-size: 1.1rem;
}
/* Input Range Styling */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: var(--color-cyan);
  cursor: pointer;
  margin-top: -8px;
  box-shadow: 0 0 10px var(--color-cyan-glow);
}
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: var(--color-bg-surface-light);
  border-radius: 2px;
}
input[type="range"]:focus {
  outline: none;
}
.calc-result-box {
  text-align: center;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  margin-top: 2rem;
}
#revenue-result {
  font-size: 3.5rem;
  margin: 0.5rem 0;
  text-shadow: 0 0 20px rgba(176, 38, 255, 0.3);
}

/* --- 11. Dashboard Mockup Section --- */
.dashboard-mockup {
  display: flex;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  height: 500px;
  position: relative;
}
.dash-sidebar {
  width: 80px;
  background: var(--color-bg-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 0;
  border-right: 1px solid var(--color-border);
}
.dash-logo {
  color: var(--color-cyan);
  font-size: 1.5rem;
  margin-bottom: 3rem;
}
.dash-item {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  cursor: pointer;
  transition: var(--transition-fast);
}
.dash-item:hover,
.dash-item.active {
  background: var(--color-cyan-dim);
  color: var(--color-cyan);
}
.dash-main {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.dash-date {
  background: var(--color-bg-base);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.8rem;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}
.dash-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.dash-card {
  background: var(--color-bg-base);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.2rem;
}
.dash-card span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
}
.dash-card h4 {
  font-size: 1.8rem;
  margin: 0.5rem 0;
  font-family: var(--font-body);
}
.trend {
  font-size: 0.85rem;
  font-weight: 600;
}
.trend.positive {
  color: var(--color-green);
}
.trend.neutral {
  color: var(--color-text-muted);
}
.dash-body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  flex: 1;
  min-height: 0;
}
.dash-chart-area,
.dash-sources {
  background: var(--color-bg-base);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.chart-title {
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.mock-line-chart {
  flex: 1;
  width: 100%;
  position: relative;
}
.mock-line-chart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
/* SVG Animation */
.chart-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLine 3s ease-out forwards;
}
@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}
.chart-fill {
  opacity: 0;
  animation: fadeInFill 1s 1.5s forwards;
}
@keyframes fadeInFill {
  to {
    opacity: 1;
  }
}

.source-item {
  margin-bottom: 1rem;
}
.source-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}
.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--color-bg-surface-light);
  border-radius: 3px;
  overflow: hidden;
}
.progress-bar .fill {
  height: 100%;
  width: 0;
  transition: width 1.5s ease-out;
}

/* --- 12. Industry Tabs Section --- */
.industries-section {
  background: var(--color-bg-surface);
}
.industry-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.industry-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 2rem;
}
.tab-btn {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  padding: 1rem 1.5rem;
  text-align: left;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.tab-btn i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}
.tab-btn:hover {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.1);
}
.tab-btn.active {
  background: linear-gradient(90deg, var(--color-cyan-dim), transparent);
  border-left: 3px solid var(--color-cyan);
  color: var(--color-text-main);
}
.tab-btn.active i {
  color: var(--color-cyan);
  transform: scale(1.1);
}

.industry-content-area {
  background: var(--color-bg-base);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  min-height: 450px;
  position: relative;
}
.tab-content {
  display: none;
  height: 100%;
  animation: fadeTab 0.5s ease forwards;
}
.tab-content.active {
  display: block;
}
@keyframes fadeTab {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.tab-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--color-border);
}
.tab-details {
  padding: 2rem;
}
.tab-details h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.tab-details ul {
  margin-top: 1.5rem;
}
.tab-details li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 500;
}

/* --- 13. Testimonials Section --- */
.testimonials-section {
  position: relative;
  overflow: hidden;
}
.orb-3 {
  top: 30%;
  left: 40%;
  width: 400px;
  height: 400px;
  background: rgba(0, 240, 255, 0.2);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.testimonial-card {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.quote-icon {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 3rem;
  color: var(--color-border);
  opacity: 0.5;
}
.rating {
  color: var(--color-warning);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.review-text {
  font-size: 1.05rem;
  font-style: italic;
  flex-grow: 1;
  margin-bottom: 2rem;
}
.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}
.client-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.client-name {
  font-size: 1.1rem;
  margin-bottom: 0;
}
.client-role {
  font-size: 0.8rem;
  color: var(--color-cyan);
  font-weight: 600;
  text-transform: uppercase;
}

/* --- 14. CTA Section --- */
.cta-box {
  padding: 5rem 2rem;
  border-color: var(--color-border-highlight);
  background: linear-gradient(
    135deg,
    rgba(18, 18, 26, 0.8),
    rgba(0, 240, 255, 0.05)
  );
  text-align: center;
}
.cta-box h2 {
  font-size: 3rem;
}

/* --- 15. Footer (Strictly Consistent) --- */
.footer {
  background: #040406;
  border-top: 1px solid var(--color-border);
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-cyan),
    transparent
  );
  opacity: 0.5;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  margin-bottom: 1.5rem;
}
.footer-logo {
  height: 35px;
}
.footer-desc {
  font-size: 0.95rem;
  margin-bottom: 2rem;
}
.social-links {
  display: flex;
  gap: 1rem;
}
.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
}
.social-links a:hover {
  background: var(--color-cyan);
  color: #000;
  border-color: var(--color-cyan);
  transform: translateY(-3px);
}

.links-col h3,
.contact-col h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}
.links-col ul li {
  margin-bottom: 0.8rem;
}
.links-col a {
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.links-col a i {
  font-size: 0.7rem;
  color: var(--color-cyan);
  transition: transform 0.2s;
}
.links-col a:hover {
  color: var(--color-cyan);
}
.links-col a:hover i {
  transform: translateX(5px);
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
  color: var(--color-text-muted);
}
.contact-info i {
  margin-top: 0.3rem;
}
.contact-info a {
  color: var(--color-text-muted);
}
.contact-info a:hover {
  color: var(--color-cyan);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* --- 16. Chat Widget --- */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}
.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-cyan);
  color: #000;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 240, 255, 0.4);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.chat-toggle:hover {
  transform: scale(1.1);
}
.chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  height: 450px;
  background: rgba(18, 18, 26, 0.95);
  display: flex;
  flex-direction: column;
  border-radius: var(--border-radius);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: bottom right;
}
.chat-window.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.chat-header {
  background: linear-gradient(90deg, #1c1c28, #2a2a3c);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-header h4 {
  margin: 0;
  font-size: 1.1rem;
}
.status {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.dot {
  width: 8px;
  height: 8px;
  background: var(--color-green);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 5px var(--color-green);
}
.close-chat {
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  font-size: 1.2rem;
}
.chat-body {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.msg {
  max-width: 80%;
  display: flex;
  gap: 0.8rem;
  align-items: flex-end;
}
.bot-msg {
  align-self: flex-start;
}
.user-msg {
  align-self: flex-end;
  flex-direction: row-reverse;
}
.bot-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  padding: 2px;
}
.msg p {
  background: var(--color-bg-surface-light);
  padding: 0.8rem 1rem;
  border-radius: 12px 12px 12px 0;
  margin: 0;
  font-size: 0.9rem;
  color: #fff;
}
.user-msg p {
  background: var(--color-purple);
  border-radius: 12px 12px 0 12px;
}
.chat-footer {
  padding: 1rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: 0.5rem;
  background: var(--color-bg-base);
}
.chat-footer input {
  flex: 1;
  background: var(--color-bg-surface-light);
  border: 1px solid var(--color-border);
  color: #fff;
  padding: 0.8rem 1rem;
  border-radius: 20px;
  outline: none;
}
.chat-footer input:focus {
  border-color: var(--color-cyan);
}
.chat-footer button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-cyan);
  border: none;
  color: #000;
  cursor: pointer;
}

/* --- 17. Animations & Utility (Scroll Reveals) --- */
.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-up.active,
.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translate(0);
}

/* Initial load animations */
.fade-in-up {
  animation: fadeInUp 1s ease forwards;
}
.fade-in-left {
  animation: fadeInLeft 1s ease forwards;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* --- 18. Legal & Subpages Specific CSS --- */
.page-header-section {
  padding: 12rem 0 6rem;
  text-align: center;
  position: relative;
  background: var(--color-bg-surface);
  border-bottom: 1px solid var(--color-border);
}
.page-header-section h1 {
  font-size: 3.5rem;
  text-shadow: 0 0 20px var(--color-cyan-glow);
}
.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.breadcrumbs a {
  color: var(--color-cyan);
}
.page-content {
  padding: 5rem 0;
}
.content-wrapper {
  background: var(--color-bg-surface);
  padding: 4rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.content-wrapper h2 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
  color: var(--color-cyan);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.5rem;
}
.content-wrapper p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}
.content-wrapper ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  list-style: disc;
  color: var(--color-text-muted);
}
.content-wrapper li {
  margin-bottom: 0.5rem;
}

/* Contact Page Specific */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}
.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.contact-methods {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-method {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.method-icon {
  width: 50px;
  height: 50px;
  background: var(--color-cyan-dim);
  color: var(--color-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.method-details h3 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
  font-family: var(--font-body);
}
.method-details p,
.method-details a {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.contact-form {
  background: var(--color-bg-surface);
  padding: 3rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-main);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--color-bg-base);
  border: 1px solid var(--color-border);
  padding: 1rem;
  border-radius: 8px;
  color: var(--color-text-main);
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition-fast);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-cyan);
  box-shadow: 0 0 10px var(--color-cyan-dim);
}

/* Popup (Mockup) */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}
.popup-overlay.show {
  opacity: 1;
  visibility: visible;
}
.popup-content {
  background: var(--color-bg-surface);
  padding: 3rem;
  border-radius: var(--border-radius);
  text-align: center;
  border: 1px solid var(--color-cyan);
  max-width: 400px;
  transform: scale(0.8);
  transition: 0.3s;
}
.popup-overlay.show .popup-content {
  transform: scale(1);
}
.popup-icon {
  font-size: 4rem;
  color: var(--color-green);
  margin-bottom: 1rem;
}

/* --- 19. Media Queries --- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-trust {
    justify-content: center;
  }
  .hero-visual {
    display: none; /* Hide 3D cards on tablet to save space */
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .calc-wrapper {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  .industry-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .industry-tabs {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 1rem;
  }
  .tab-btn {
    white-space: nowrap;
  }
  .dash-body {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-list,
  .header-cta {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .dash-cards {
    grid-template-columns: 1fr;
  }
  .dashboard-mockup {
    height: auto;
    flex-direction: column;
  }
  .dash-sidebar {
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
    padding: 1rem;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }
  .dash-logo {
    margin-bottom: 0;
  }
  .dash-item {
    margin-bottom: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .content-wrapper {
    padding: 2rem 1.5rem;
  }
}
