/* ==========================================================================
   [ CORE SETUP & VARIABLES ] — Ignition Technology presentation
   ========================================================================== */
:root {
  /* Color palette — cyber / enterprise tech */
  --bg-base: #050507;
  --bg-surface: #0a0b10;
  --bg-glass: rgba(15, 17, 26, 0.6);
  --bg-glass-hover: rgba(25, 28, 40, 0.8);

  --neon-cyan: #00f3ff;
  --neon-cyan-dim: rgba(0, 243, 255, 0.2);
  --neon-pink: #ff0055;
  --neon-pink-dim: rgba(255, 0, 85, 0.2);
  --neon-purple: #9d00ff;

  --text-main: #f0f2f5;
  --text-muted: #8b92a5;
  --text-dark: #050507;

  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: var(--neon-cyan);

  /* Typography */
  --font-heading: "Orbitron", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Spacing & Layout */
  --container-w: 1280px;
  --section-pad-y: 100px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 50px;

  /* Transitions & Shadows */
  --trans-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-med: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);

  --glow-cyan: 0 0 20px rgba(0, 243, 255, 0.4);
  --glow-pink: 0 0 20px rgba(255, 0, 85, 0.4);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

  /* Header Heights */
  --header-h: 90px;
  --header-h-scroll: 70px;
}

/* ==========================================================================
   [ RESET & BASE ]
   ========================================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: #1f2335;
  border-radius: 5px;
  border: 2px solid var(--bg-base);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-cyan);
}

/* Selection */
::selection {
  background: var(--neon-pink);
  color: #fff;
}

/* Base Elements */
a {
  color: inherit;
  text-decoration: none;
  transition: var(--trans-fast);
}

ul,
ol {
  list-style: none;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

/* ==========================================================================
   [ LAYOUT & UTILITIES ]
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-pad {
  padding: var(--section-pad-y) 0;
  position: relative;
}

.bg-darker {
  background-color: var(--bg-surface);
}

.bg-pattern {
  background-image: radial-gradient(var(--border-color) 1px, transparent 1px);
  background-size: 40px 40px;
}

.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.align-center {
  align-items: center;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mt-2 {
  margin-top: 1rem;
}
.mt-4 {
  margin-top: 2rem;
}
.mt-5 {
  margin-top: 3rem;
}

.text-neon-cyan {
  color: var(--neon-cyan) !important;
  text-shadow: 0 0 10px var(--neon-cyan-dim);
}
.text-neon-pink {
  color: var(--neon-pink) !important;
  text-shadow: 0 0 10px var(--neon-pink-dim);
}

.overflow-hidden {
  overflow: hidden;
}

/* ==========================================================================
   [ TYPOGRAPHY COMPONENTS ]
   ========================================================================== */
.sub-heading {
  display: inline-block;
  font-family: var(--font-heading);
  color: var(--neon-cyan);
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 40px;
}

.sub-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 2px;
  background: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
}

.section-title {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(to right, #fff, var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 1.1rem;
  max-width: 600px;
}

/* Glitch Text Effect */
.glitch-text {
  position: relative;
  color: var(--text-main);
  display: inline-block;
}
.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-base);
}
.glitch-text::before {
  left: 2px;
  text-shadow: -2px 0 var(--neon-pink);
  clip: rect(24px, 550px, 90px, 0);
  animation: glitch-anim 3s infinite linear alternate-reverse;
}
.glitch-text::after {
  left: -2px;
  text-shadow: -2px 0 var(--neon-cyan);
  clip: rect(85px, 550px, 140px, 0);
  animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

/* ==========================================================================
   [ BUTTONS ]
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
  outline: none;
}

.btn-icon-wrap {
  margin-left: 10px;
  width: 20px;
  height: 20px;
  transition: transform var(--trans-fast);
}

.btn:hover .btn-icon-wrap {
  transform: translateX(5px);
}

.btn-primary {
  background: transparent;
  color: var(--bg-base);
}
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--neon-cyan);
  z-index: -1;
  transition: var(--trans-med);
}
.btn-primary:hover::before {
  background: #fff;
  box-shadow: var(--glow-cyan);
}

.btn-glow {
  background: var(--neon-pink);
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 0, 85, 0.4);
}
.btn-glow:hover {
  box-shadow: 0 0 30px rgba(255, 0, 85, 0.8);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}
.btn-outline:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: inset 0 0 10px var(--neon-cyan-dim);
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   [ HEADER & NAVIGATION ] (Strictly Consistent)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(5, 5, 7, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition:
    height var(--trans-fast),
    background var(--trans-fast);
  display: flex;
  align-items: center;
}

.site-header.scrolled {
  height: var(--header-h-scroll);
  background: rgba(5, 5, 7, 0.95);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.logo-img {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1) drop-shadow(0 0 5px var(--neon-cyan-dim));
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
}

.main-navigation {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--neon-cyan);
  transition: width var(--trans-fast);
  box-shadow: var(--glow-cyan);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 1001;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
}

.mobile-toggle .bar {
  position: absolute;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  left: 0;
  transition: var(--trans-fast);
}

.bar-1 {
  top: 0;
}
.bar-2 {
  top: 50%;
  transform: translateY(-50%);
}
.bar-3 {
  bottom: 0;
}

.mobile-toggle.active .bar-1 {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.mobile-toggle.active .bar-2 {
  opacity: 0;
}
.mobile-toggle.active .bar-3 {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* ==========================================================================
   [ HERO SECTION ]
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  padding-top: var(--header-h);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(
      circle at 15% 50%,
      rgba(0, 243, 255, 0.05),
      transparent 25%
    ),
    radial-gradient(circle at 85% 30%, rgba(255, 0, 85, 0.05), transparent 25%);
}

.hero-container {
  position: relative;
  z-index: 1;
}

.neon-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  background: rgba(0, 243, 255, 0.05);
  margin-bottom: 1.5rem;
  box-shadow: inset 0 0 10px rgba(0, 243, 255, 0.1);
}

.hero-title {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-desc {
  font-size: 1.2rem;
  max-width: 500px;
  margin-bottom: 2.5rem;
}

.hero-btn-group {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.5rem;
}

/* Hero 3D Visual Construct */
.hero-visual {
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.scene-3d {
  position: relative;
  width: 300px;
  height: 300px;
  transform-style: preserve-3d;
  animation: float 6s ease-in-out infinite;
}

.cube-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  transform-style: preserve-3d;
  animation: rotate3d 20s linear infinite;
}

.cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
}

.cube-face {
  position: absolute;
  width: 150px;
  height: 150px;
  background: rgba(10, 11, 16, 0.8);
  border: 2px solid var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--neon-cyan);
  box-shadow:
    inset 0 0 20px rgba(0, 243, 255, 0.2),
    0 0 10px rgba(0, 243, 255, 0.5);
  backdrop-filter: blur(5px);
}

.face-front {
  transform: translateZ(75px);
}
.face-back {
  transform: rotateY(180deg) translateZ(75px);
  border-color: var(--neon-pink);
  color: var(--neon-pink);
}
.face-right {
  transform: rotateY(90deg) translateZ(75px);
}
.face-left {
  transform: rotateY(-90deg) translateZ(75px);
  border-color: var(--neon-pink);
  color: var(--neon-pink);
}
.face-top {
  transform: rotateX(90deg) translateZ(75px);
}
.face-bottom {
  transform: rotateX(-90deg) translateZ(75px);
  border-color: var(--neon-purple);
  color: var(--neon-purple);
}

.cube-icon {
  width: 50px;
  height: 50px;
  stroke: var(--neon-cyan);
}

.floating-cards {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.float-card {
  position: absolute;
  background: rgba(20, 20, 30, 0.8);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  backdrop-filter: blur(10px);
}

.card-1 {
  top: -20px;
  right: -50px;
  width: 120px;
  height: 100px;
  transform: translateZ(100px);
  animation: float-alt 4s ease-in-out infinite reverse;
}
.card-2 {
  bottom: -30px;
  left: -40px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateZ(50px);
  animation: float-alt 5s ease-in-out infinite;
}
.card-2 svg {
  width: 40px;
  height: 40px;
  stroke: var(--neon-pink);
  fill: none;
  stroke-width: 2;
}

/* Mini Bar Chart in Card 1 */
.bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  gap: 5px;
}
.bar-chart .bar {
  width: 30%;
  background: linear-gradient(to top, var(--neon-purple), var(--neon-cyan));
  border-radius: 2px 2px 0 0;
}

/* ==========================================================================
   [ TRUST MARQUEE ]
   ========================================================================== */
.trust-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  overflow: hidden;
}

.marquee-container {
  display: flex;
  white-space: nowrap;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  align-items: center;
  animation: marquee 20s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 0 2rem;
  text-transform: uppercase;
}

.marquee-item svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--neon-cyan);
  stroke-width: 2;
  margin: 0 1rem;
}

/* ==========================================================================
   [ CORE SERVICES GRID ]
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition:
    transform var(--trans-fast),
    border-color var(--trans-fast);
}

.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--neon-cyan-dim) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--trans-med);
  pointer-events: none;
  transform: translateZ(-1px);
}

.service-card:hover {
  border-color: var(--neon-cyan);
}

.service-card:hover .card-glow {
  opacity: 1;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 243, 255, 0.05);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 243, 255, 0.2);
  transform: translateZ(20px);
  transition: var(--trans-fast);
}

.service-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--neon-cyan);
}

.service-card:hover .service-icon {
  background: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
}
.service-card:hover .service-icon svg {
  stroke: var(--bg-base);
}

.service-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  transform: translateZ(30px);
}

.service-text {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  transform: translateZ(20px);
}

.service-features {
  list-style: none;
  transform: translateZ(10px);
}

.service-features li {
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.service-features li::before {
  content: "→";
  color: var(--neon-pink);
  margin-right: 10px;
  font-weight: bold;
}

/* ==========================================================================
   [ INTERACTIVE ROI CALCULATOR ]
   ========================================================================== */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass);
}

.check-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #fff;
}
.check-list li svg {
  width: 20px;
  height: 20px;
  stroke: var(--neon-cyan);
  fill: none;
  stroke-width: 3;
  margin-right: 15px;
  margin-top: 3px;
  flex-shrink: 0;
}

.calc-card {
  padding: 2rem;
}

.calc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.calc-header h3 {
  margin: 0;
  font-size: 1.2rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: #00ff00;
  border-radius: 50%;
  box-shadow: 0 0 10px #00ff00;
  animation: pulse 2s infinite;
}

.input-group {
  margin-bottom: 2rem;
  position: relative;
}

.input-group label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}
.input-group label span {
  color: #fff;
  font-weight: bold;
}

.custom-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  outline: none;
}
.custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--neon-cyan);
  cursor: pointer;
  box-shadow: var(--glow-cyan);
  transition: transform var(--trans-fast);
}
.custom-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px dashed var(--border-color);
}

.result-box {
  background: rgba(0, 0, 0, 0.3);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.result-box span {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.result-box h4 {
  font-size: 2rem;
  margin: 0;
}

/* ==========================================================================
   [ SAMPLE REPORTS MOCKUP ]
   ========================================================================== */
.dashboard-mockup {
  margin-top: 4rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  text-align: left;
}

.dash-header {
  background: #1a1b26;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--border-color);
}
.dash-dots {
  display: flex;
  gap: 8px;
}
.dash-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dash-dots span:nth-child(1) {
  background: #ff5f56;
}
.dash-dots span:nth-child(2) {
  background: #ffbd2e;
}
.dash-dots span:nth-child(3) {
  background: #27c93f;
}

.dash-url {
  flex: 1;
  text-align: center;
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: #0f111a;
  padding: 5px;
  border-radius: 4px;
}

.dash-body {
  display: flex;
  height: 400px;
}
.dash-sidebar {
  width: 60px;
  background: #161822;
  border-right: 1px solid var(--border-color);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.dash-sidebar .nav-item {
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
.dash-sidebar .nav-item.active {
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
}

.dash-content {
  flex: 1;
  padding: 20px;
  background: var(--bg-base);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.dash-top-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.dash-card {
  background: #161822;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}
.dash-card .val {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}
.dash-card .val svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke-width: 2;
}
.text-up {
  color: #00ff00;
}
.text-up svg {
  stroke: #00ff00;
}
.text-down {
  color: #ff0055;
}
.text-down svg {
  stroke: #ff0055;
}
.dash-card .lbl {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.dash-chart-area {
  flex: 1;
  background: #161822;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 20px;
  display: flex;
  align-items: flex-end;
}
.chart-bars {
  display: flex;
  justify-content: space-around;
  width: 100%;
  height: 100%;
  align-items: flex-end;
}
.c-bar-group {
  display: flex;
  gap: 5px;
  width: 40px;
  height: 100%;
  align-items: flex-end;
}
.c-bar {
  width: 50%;
  border-radius: 2px 2px 0 0;
  transform-origin: bottom;
  animation: growUp 1.5s cubic-bezier(0.1, 0.8, 0.1, 1) forwards;
  transform: scaleY(0);
}
.c-bar.b1 {
  background: linear-gradient(to top, rgba(0, 243, 255, 0.2), var(--neon-cyan));
}
.c-bar.b2 {
  background: linear-gradient(to top, rgba(255, 0, 85, 0.2), var(--neon-pink));
}

/* ==========================================================================
   [ INDUSTRY TABS ]
   ========================================================================== */
.custom-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2rem;
}
.tab-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 10px 20px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--trans-fast);
}
.tab-btn:hover {
  border-color: #fff;
  color: #fff;
}
.tab-btn.active {
  background: var(--neon-cyan);
  border-color: var(--neon-cyan);
  color: var(--bg-base);
  box-shadow: var(--glow-cyan);
}

.tab-panel {
  display: none;
  padding: 3rem;
  animation: fadeIn 0.5s ease;
  height: 100%;
}
.tab-panel.active {
  display: block;
}
.panel-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.panel-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--neon-pink);
  fill: none;
  stroke-width: 2;
}
.tab-panel h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.tab-panel p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* ==========================================================================
   [ TESTIMONIALS ]
   ========================================================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.review-card {
  background: var(--bg-surface);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  text-align: left;
  transform-style: preserve-3d;
}
.stars {
  color: #ffbd2e;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
}
.review-text {
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 2rem;
  color: #fff;
  line-height: 1.8;
}
.reviewer {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}
.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: bold;
  color: #fff;
}
.bg-cyan {
  background: linear-gradient(135deg, #00f3ff, #0088ff);
}
.bg-pink {
  background: linear-gradient(135deg, #ff0055, #ff00aa);
}
.bg-purple {
  background: linear-gradient(135deg, #9d00ff, #5500ff);
}
.r-info h4 {
  margin: 0;
  font-size: 1.1rem;
  text-transform: none;
}
.r-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   [ CONTACT FORM & INPUTS ]
   ========================================================================== */
.method-box {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--trans-fast);
}
.method-box:hover {
  border-color: var(--neon-cyan);
  background: rgba(0, 243, 255, 0.05);
  transform: translateX(10px);
}
.m-icon {
  width: 50px;
  height: 50px;
  background: #141414;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1);
}
.m-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--neon-cyan);
  stroke-width: 2;
}
.m-data span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 5px;
}
.m-data strong {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: 1px;
}

.contact-form-wrap {
  padding: 3rem;
}
.custom-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.custom-form .input-group {
  margin-bottom: 2rem;
  position: relative;
}
.custom-form input,
.custom-form textarea,
.custom-form select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: var(--trans-fast);
}
.custom-form select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  color: var(--text-muted);
}
.custom-form select option {
  background: var(--bg-surface);
  color: #fff;
}
.custom-form label {
  position: absolute;
  top: 15px;
  left: 0;
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--trans-fast);
  font-size: 1rem;
}
.select-wrapper::after {
  content: "▼";
  position: absolute;
  right: 0;
  top: 20px;
  color: var(--text-muted);
  pointer-events: none;
  font-size: 0.8rem;
}
.line-effect {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--neon-cyan);
  transition: width var(--trans-med);
  box-shadow: var(--glow-cyan);
}

.custom-form input:focus ~ label,
.custom-form input:valid ~ label,
.custom-form textarea:focus ~ label,
.custom-form textarea:valid ~ label,
.custom-form select:focus ~ label,
.custom-form select:valid ~ label {
  top: -10px;
  font-size: 0.75rem;
  color: var(--neon-cyan);
}
.custom-form input:focus ~ .line-effect,
.custom-form textarea:focus ~ .line-effect,
.custom-form select:focus ~ .line-effect {
  width: 100%;
}

/* ==========================================================================
   [ LIVE CHAT MOCKUP ]
   ========================================================================== */
.live-chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}
.chat-toggle-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--neon-pink);
  border: none;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(255, 0, 85, 0.4);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-toggle-btn:hover {
  transform: scale(1.1);
}
.chat-toggle-btn svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: bottom right;
}
.chat-window.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.chat-header {
  background: #161822;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}
.agent-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.agent-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background:
    url("logo.png") center/contain no-repeat,
    #0a0b10;
  position: relative;
  border: 1px solid var(--border-color);
}
.status.online {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 10px;
  height: 10px;
  background: #00ff00;
  border-radius: 50%;
  border: 2px solid #161822;
}
.agent-info strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
}
.agent-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.chat-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color var(--trans-fast);
}
.chat-close:hover {
  color: #fff;
}
.chat-body {
  height: 300px;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.msg {
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 15px;
  font-size: 0.9rem;
  line-height: 1.4;
}
.msg.received {
  background: #161822;
  color: #fff;
  border-bottom-left-radius: 2px;
  align-self: flex-start;
}
.chat-input-area {
  padding: 15px;
  background: #161822;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 10px;
}
.chat-input-area input {
  flex: 1;
  background: var(--bg-base);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 10px 15px;
  color: #fff;
  outline: none;
  transition: border-color var(--trans-fast);
}
.chat-input-area input:focus {
  border-color: var(--neon-pink);
}
.chat-input-area button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--neon-pink);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: var(--trans-fast);
}
.chat-input-area button:hover {
  background: #fff;
  color: var(--neon-pink);
}
.chat-input-area button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* ==========================================================================
   [ FOOTER ] (Strictly Consistent)
   ========================================================================== */
.site-footer {
  background: #050507;
  position: relative;
  padding-top: 100px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top-wave {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.footer-top-wave svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
  fill: var(--bg-surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  padding-bottom: 4rem;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  max-width: 350px;
}

.social-matrix {
  display: flex;
  gap: 15px;
}
.social-node {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  transition: var(--trans-fast);
}
.social-node svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--text-muted);
  stroke-width: 2;
  transition: var(--trans-fast);
}
.social-node:hover {
  background: var(--neon-cyan);
  border-color: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-3px);
}
.social-node:hover svg {
  stroke: var(--bg-base);
}

.footer-heading {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}
.footer-heading::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--neon-pink);
}

.footer-links li {
  margin-bottom: 1rem;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}
.footer-links a::before {
  content: "›";
  color: var(--neon-pink);
  margin-right: 8px;
  font-size: 1.2rem;
  transition: transform var(--trans-fast);
}
.footer-links a:hover {
  color: var(--neon-cyan);
}
.footer-links a:hover::before {
  transform: translateX(5px);
  color: var(--neon-cyan);
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.footer-contact-list svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--neon-cyan);
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
  text-align: center;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* ==========================================================================
   [ LEGAL & INTERIOR PAGES STYLES ]
   ========================================================================== */
.page-header-section {
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: 4rem;
  background: linear-gradient(
    180deg,
    rgba(10, 11, 16, 1) 0%,
    var(--bg-base) 100%
  );
  border-bottom: 1px solid var(--border-color);
  position: relative;
}
.page-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-align: center;
}
.breadcrumbs {
  text-align: center;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.breadcrumbs a {
  color: var(--neon-cyan);
}
.breadcrumbs a:hover {
  text-shadow: var(--glow-cyan);
}

.legal-content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-surface);
  padding: 4rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.legal-content h2 {
  font-size: 1.8rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: #fff;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
}
.legal-content strong {
  color: #fff;
  font-weight: 600;
}

.contact-page-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.contact-side-info {
  background: var(--bg-surface);
  padding: 3rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}
.contact-side-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.contact-side-info p {
  margin-bottom: 2rem;
}

/* ==========================================================================
   [ ANIMATIONS & KEYFRAMES ]
   ========================================================================== */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}
@keyframes float-alt {
  0% {
    transform: translateY(0px) translateZ(100px);
  }
  50% {
    transform: translateY(15px) translateZ(100px);
  }
  100% {
    transform: translateY(0px) translateZ(100px);
  }
}
@keyframes rotate3d {
  0% {
    transform: translate(-50%, -50%) rotateX(0deg) rotateY(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotateX(360deg) rotateY(360deg);
  }
}
@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(0, 255, 0, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 255, 0, 0);
  }
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes growUp {
  to {
    transform: scaleY(1);
  }
}
@keyframes glitch-anim {
  0% {
    clip: rect(44px, 9999px, 83px, 0);
  }
  5% {
    clip: rect(66px, 9999px, 20px, 0);
  }
  10% {
    clip: rect(80px, 9999px, 60px, 0);
  }
  15% {
    clip: rect(2px, 9999px, 96px, 0);
  }
  20% {
    clip: rect(38px, 9999px, 26px, 0);
  }
  25% {
    clip: rect(98px, 9999px, 45px, 0);
  }
  30% {
    clip: rect(22px, 9999px, 73px, 0);
  }
  35% {
    clip: rect(54px, 9999px, 12px, 0);
  }
  40% {
    clip: rect(90px, 9999px, 33px, 0);
  }
  45% {
    clip: rect(15px, 9999px, 88px, 0);
  }
  50% {
    clip: rect(69px, 9999px, 51px, 0);
  }
  55% {
    clip: rect(31px, 9999px, 9px, 0);
  }
  60% {
    clip: rect(85px, 9999px, 64px, 0);
  }
  65% {
    clip: rect(7px, 9999px, 42px, 0);
  }
  70% {
    clip: rect(49px, 9999px, 77px, 0);
  }
  75% {
    clip: rect(92px, 9999px, 18px, 0);
  }
  80% {
    clip: rect(26px, 9999px, 91px, 0);
  }
  85% {
    clip: rect(63px, 9999px, 5px, 0);
  }
  90% {
    clip: rect(11px, 9999px, 86px, 0);
  }
  95% {
    clip: rect(76px, 9999px, 29px, 0);
  }
  100% {
    clip: rect(58px, 9999px, 53px, 0);
  }
}

/* Scroll Reveal Classes (Triggered by JS) */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translate(0);
}

/* ==========================================================================
   [ RESPONSIVE MEDIA QUERIES ]
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 992px) {
  .grid-2-col,
  .contact-page-wrap {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-visual {
    height: 400px;
    margin-top: 3rem;
  }
  .hero-section {
    padding-top: calc(var(--header-h) + 2rem);
    text-align: center;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-btn-group {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .legal-content-wrapper {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .header-actions .cta-button {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }

  .main-navigation {
    position: fixed;
    top: var(--header-h);
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(5, 5, 7, 0.98);
    backdrop-filter: blur(15px);
    overflow: hidden;
    transition: height 0.4s ease;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 0;
    border-bottom: 1px solid var(--border-color);
  }
  .main-navigation.active {
    height: calc(100vh - var(--header-h));
    padding-top: 2rem;
  }
  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .nav-link {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2.2rem;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .calc-results {
    grid-template-columns: 1fr;
  }
  .dash-body {
    flex-direction: column;
    height: auto;
  }
  .dash-sidebar {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 10px;
  }
  .dash-top-cards {
    grid-template-columns: 1fr;
  }
  .dash-chart-area {
    height: 200px;
  }

  .custom-tabs {
    justify-content: center;
  }
  .tab-panel {
    padding: 2rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-desc {
    margin: 0 auto 2rem;
  }
  .social-matrix {
    justify-content: center;
  }
  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-links a,
  .footer-contact-list li {
    justify-content: center;
  }

  .chat-window {
    width: calc(100vw - 40px);
    right: 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-btn-group {
    flex-direction: column;
    width: 100%;
  }
  .btn {
    width: 100%;
  }
  .custom-form .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .page-title {
    font-size: 2.5rem;
  }
}
