/* ==========================================================================
   CSS VARIABLES & CORE THEME (Amethyst & Liquid Titanium)
   ========================================================================== */
:root {
   --bg-void: #07030a;
   --bg-plum: #130a1e;
   --bg-glass: rgba(19, 10, 30, 0.6);
   --bg-card: rgba(157, 78, 221, 0.03);

   --amethyst-main: #9d4edd;
   --amethyst-light: #c77dff;
   --amethyst-neon: #e0aaff;
   --magenta-glow: #ff0a54;

   --text-pure: #ffffff;
   --text-silver: #e2e8f0;
   --text-muted: #a1a1aa;

   --border-glass: rgba(255, 255, 255, 0.08);
   --border-amethyst: rgba(157, 78, 221, 0.3);

   --font-heading: 'Space Grotesk', system-ui, sans-serif;
   --font-body: 'Outfit', system-ui, sans-serif;

   --nav-height: 90px;
   --transition-swift: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
   --transition-fluid: 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   RESET & GLOBAL TYPOGRAPHY
   ========================================================================== */
* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

html {
   scroll-behavior: smooth;
   font-size: 16px;
   background: var(--bg-void);
}

body {
   font-family: var(--font-body);
   background-color: var(--bg-plum);
   color: var(--text-silver);
   line-height: 1.7;
   overflow-x: hidden;
   -webkit-font-smoothing: antialiased;
   /* Ambient mesh background */
   background-image:
      radial-gradient(circle at 10% 20%, rgba(157, 78, 221, 0.07) 0%, transparent 40%),
      radial-gradient(circle at 90% 80%, rgba(255, 10, 84, 0.05) 0%, transparent 40%);
}

a {
   text-decoration: none;
   color: inherit;
   transition: var(--transition-swift);
}

ul {
   list-style: none;
}

img {
   max-width: 100%;
   height: auto;
   display: block;
}

button,
input,
textarea,
select {
   font-family: inherit;
   border: none;
   outline: none;
   background: none;
}

/* Cyber-Luxury Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
   font-family: var(--font-heading);
   font-weight: 700;
   color: var(--text-pure);
   line-height: 1.15;
   margin-bottom: 1.2rem;
   letter-spacing: -0.02em;
}

h1 {
   font-size: clamp(3.2rem, 6vw, 6rem);
}

h2 {
   font-size: clamp(2.5rem, 4.5vw, 4rem);
}

h3 {
   font-size: clamp(1.5rem, 2.5vw, 2.2rem);
   font-weight: 600;
}

p {
   font-size: 1.1rem;
   margin-bottom: 1.5rem;
   color: var(--text-muted);
   font-weight: 300;
}

.container {
   max-width: 1400px;
   margin: 0 auto;
   padding: 0 5%;
}

.section-pad {
   padding: 8rem 0;
}

.text-center {
   text-align: center;
}

.text-amethyst {
   color: var(--amethyst-light);
   text-shadow: 0 0 20px rgba(199, 125, 255, 0.5);
}

.pill-badge {
   display: inline-flex;
   align-items: center;
   font-family: var(--font-heading);
   font-size: 0.8rem;
   text-transform: uppercase;
   letter-spacing: 3px;
   color: var(--amethyst-light);
   padding: 0.5rem 1.5rem;
   border-radius: 50px;
   border: 1px solid var(--border-amethyst);
   background: rgba(157, 78, 221, 0.05);
   margin-bottom: 1.5rem;
   box-shadow: 0 0 15px rgba(157, 78, 221, 0.1);
}

/* Liquid Buttons */
.btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   padding: 1.2rem 2.8rem;
   font-size: 0.95rem;
   font-weight: 600;
   font-family: var(--font-heading);
   border-radius: 50px;
   text-transform: uppercase;
   letter-spacing: 1.5px;
   cursor: pointer;
   position: relative;
   transition: var(--transition-swift);
   z-index: 1;
   overflow: hidden;
}

.btn-primary {
   background: linear-gradient(135deg, var(--amethyst-main), var(--magenta-glow));
   color: var(--text-pure);
   box-shadow: 0 10px 25px rgba(157, 78, 221, 0.4);
   border: 1px solid transparent;
}

.btn-primary::before {
   content: '';
   position: absolute;
   inset: 0;
   background: linear-gradient(135deg, var(--magenta-glow), var(--amethyst-main));
   opacity: 0;
   transition: var(--transition-fluid);
   z-index: -1;
}

.btn-primary:hover {
   transform: translateY(-3px);
   box-shadow: 0 15px 35px rgba(255, 10, 84, 0.4);
}

.btn-primary:hover::before {
   opacity: 1;
}

.btn-glass {
   background: rgba(255, 255, 255, 0.03);
   backdrop-filter: blur(10px);
   color: var(--text-pure);
   border: 1px solid var(--border-glass);
}

.btn-glass:hover {
   background: rgba(157, 78, 221, 0.1);
   border-color: var(--amethyst-light);
   color: var(--text-pure);
   transform: translateY(-3px);
}

/* ==========================================================================
   HEADER & NAVIGATION (Strictly Identical, Deep Void)
   ========================================================================== */
.site-header {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: var(--nav-height);
   background: transparent;
   z-index: 1000;
   transition: var(--transition-fluid);
   display: flex;
   align-items: center;
   border-bottom: 1px solid transparent;
}

.site-header.scrolled {
   height: 75px;
   background: rgba(7, 3, 10, 0.95);
   backdrop-filter: blur(20px);
   -webkit-backdrop-filter: blur(20px);
   border-bottom: 1px solid var(--border-glass);
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.header-wrap {
   display: flex;
   justify-content: space-between;
   align-items: center;
   width: 100%;
}

.site-logo {
   max-height: 60px;
   filter: brightness(0) invert(1);
}

.main-nav {
   display: flex;
   gap: 3rem;
   align-items: center;
}

.nav-link {
   font-family: var(--font-heading);
   font-size: 0.9rem;
   font-weight: 500;
   color: var(--text-silver);
   text-transform: uppercase;
   letter-spacing: 1px;
   position: relative;
   padding: 0.5rem 0;
}

.nav-link::before {
   content: '';
   position: absolute;
   bottom: 0;
   left: 50%;
   width: 0;
   height: 2px;
   background: var(--amethyst-light);
   transition: var(--transition-swift);
   transform: translateX(-50%);
   box-shadow: 0 0 10px var(--amethyst-neon);
}

.nav-link:hover {
   color: var(--text-pure);
}

.nav-link:hover::before {
   width: 100%;
}

.mobile-btn {
   display: none;
   width: 35px;
   height: 20px;
   position: relative;
   cursor: pointer;
   z-index: 1001;
}

.mobile-btn span {
   display: block;
   position: absolute;
   height: 2px;
   width: 100%;
   background: var(--text-pure);
   border-radius: 2px;
   transition: 0.3s ease-in-out;
}

.mobile-btn span:nth-child(1) {
   top: 0;
}

.mobile-btn span:nth-child(2) {
   top: 9px;
}

.mobile-btn span:nth-child(3) {
   top: 18px;
}

.mobile-btn.active span:nth-child(1) {
   top: 9px;
   transform: rotate(45deg);
   background: var(--amethyst-light);
}

.mobile-btn.active span:nth-child(2) {
   opacity: 0;
}

.mobile-btn.active span:nth-child(3) {
   top: 9px;
   transform: rotate(-45deg);
   background: var(--amethyst-light);
}

/* ==========================================================================
   HERO SECTION (3D Liquid Orb)
   ========================================================================== */
.hero {
   min-height: 100vh;
   display: flex;
   align-items: center;
   padding-top: var(--nav-height);
   position: relative;
   overflow: hidden;
}

.hero-grid {
   display: grid;
   grid-template-columns: 1.1fr 0.9fr;
   gap: 3rem;
   align-items: center;
   position: relative;
   z-index: 2;
}

.hero-btns {
   display: flex;
   gap: 1.5rem;
   margin-top: 3rem;
}

/* Pure CSS 3D Liquid Orb */
.orb-container {
   perspective: 1000px;
   display: flex;
   justify-content: center;
   align-items: center;
   height: 500px;
   position: relative;
}

.liquid-orb {
   width: 350px;
   height: 350px;
   position: relative;
   transform-style: preserve-3d;
   animation: floatOrb 8s ease-in-out infinite;
}

.orb-layer {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   border-radius: 45% 55% 40% 60% / 55% 45% 60% 40%;
   mix-blend-mode: screen;
   filter: blur(3px);
}

.orb-layer:nth-child(1) {
   background: linear-gradient(45deg, var(--amethyst-main), transparent);
   animation: morphOrb 10s linear infinite;
}

.orb-layer:nth-child(2) {
   background: linear-gradient(-45deg, var(--magenta-glow), transparent);
   animation: morphOrb 12s linear infinite reverse;
   transform: rotate(45deg);
}

.orb-layer:nth-child(3) {
   background: radial-gradient(circle, var(--amethyst-neon) 10%, transparent 60%);
   animation: morphOrb 14s linear infinite;
   transform: rotate(90deg);
   filter: blur(10px);
   opacity: 0.6;
}

.orb-core {
   position: absolute;
   top: 15%;
   left: 15%;
   width: 70%;
   height: 70%;
   border-radius: 50%;
   box-shadow: inset 0 0 50px var(--amethyst-light), 0 0 50px var(--magenta-glow);
   backdrop-filter: blur(5px);
}

@keyframes floatOrb {

   0%,
   100% {
      transform: translateY(0) rotateX(10deg) rotateY(10deg);
   }

   50% {
      transform: translateY(-30px) rotateX(-10deg) rotateY(-10deg);
   }
}

@keyframes morphOrb {
   0% {
      border-radius: 45% 55% 40% 60% / 55% 45% 60% 40%;
      transform: rotate(0deg);
   }

   50% {
      border-radius: 60% 40% 55% 45% / 40% 60% 45% 55%;
   }

   100% {
      border-radius: 45% 55% 40% 60% / 55% 45% 60% 40%;
      transform: rotate(360deg);
   }
}

/* ==========================================================================
   METRICS MARQUEE
   ========================================================================== */
.metrics-band {
   border-top: 1px solid var(--border-glass);
   border-bottom: 1px solid var(--border-glass);
   background: rgba(7, 3, 10, 0.6);
   backdrop-filter: blur(10px);
   padding: 3rem 0;
   overflow: hidden;
   white-space: nowrap;
   display: flex;
   align-items: center;
}

.metrics-track {
   display: inline-flex;
   animation: scrollMarquee 30s linear infinite;
   gap: 5rem;
   padding-right: 5rem;
}

.m-item {
   font-family: var(--font-heading);
   display: flex;
   align-items: center;
   gap: 1rem;
}

.m-num {
   font-size: 2.5rem;
   font-weight: 700;
   color: var(--amethyst-light);
   text-shadow: 0 0 15px var(--amethyst-main);
}

.m-label {
   font-size: 1rem;
   text-transform: uppercase;
   letter-spacing: 2px;
   color: var(--text-silver);
   font-weight: 500;
}

@keyframes scrollMarquee {
   0% {
      transform: translateX(0);
   }

   100% {
      transform: translateX(-50%);
   }
}

/* ==========================================================================
   SERVICES (Amethyst Glass Cards)
   ========================================================================== */
.services-section {
   position: relative;
}

.svc-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 2rem;
   margin-top: 4rem;
}

.svc-card {
   background: rgba(255, 255, 255, 0.01);
   backdrop-filter: blur(12px);
   -webkit-backdrop-filter: blur(12px);
   border: 1px solid var(--border-glass);
   border-radius: 20px;
   padding: 3.5rem 2.5rem;
   position: relative;
   overflow: hidden;
   transition: var(--transition-fluid);
   z-index: 1;
}

.svc-card::after {
   content: '';
   position: absolute;
   inset: 0;
   border-radius: 20px;
   padding: 2px;
   background: linear-gradient(135deg, var(--amethyst-main), var(--magenta-glow));
   -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
   -webkit-mask-composite: xor;
   mask-composite: exclude;
   opacity: 0;
   transition: var(--transition-fluid);
}

.svc-card:hover {
   transform: translateY(-10px);
   background: rgba(157, 78, 221, 0.05);
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.svc-card:hover::after {
   opacity: 1;
}

.s-icon {
   font-size: 3rem;
   color: var(--text-silver);
   margin-bottom: 1.5rem;
   display: inline-block;
   transition: var(--transition-swift);
   font-style: normal;
}

.svc-card:hover .s-icon {
   transform: scale(1.1);
   color: var(--amethyst-neon);
   text-shadow: 0 0 20px var(--amethyst-main);
}

/* ==========================================================================
   ROI CALCULATOR (Cyber-Luxury UI)
   ========================================================================== */
.calc-wrap {
   border: 1px solid var(--border-glass);
   border-radius: 30px;
   background: rgba(7, 3, 10, 0.8);
   display: grid;
   grid-template-columns: 1.2fr 0.8fr;
   overflow: hidden;
   box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
   position: relative;
}

.calc-left {
   padding: 5rem;
   position: relative;
   z-index: 2;
}

.calc-right {
   padding: 5rem;
   background: radial-gradient(circle at center, rgba(157, 78, 221, 0.15), transparent);
   border-left: 1px solid var(--border-glass);
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   text-align: center;
   position: relative;
   z-index: 2;
}

.c-slider-box {
   margin-bottom: 4rem;
}

.c-label-flex {
   display: flex;
   justify-content: space-between;
   margin-bottom: 1.5rem;
   font-family: var(--font-heading);
   color: var(--text-pure);
   font-size: 1.2rem;
   text-transform: uppercase;
   letter-spacing: 1px;
}

.c-val {
   color: var(--amethyst-light);
   font-weight: 700;
   text-shadow: 0 0 15px var(--amethyst-main);
}

/* Custom Magenta/Amethyst Slider */
.glass-slider {
   -webkit-appearance: none;
   width: 100%;
   height: 4px;
   border-radius: 2px;
   background: var(--border-glass);
   outline: none;
}

.glass-slider::-webkit-slider-thumb {
   -webkit-appearance: none;
   width: 20px;
   height: 20px;
   border-radius: 50%;
   background: var(--text-pure);
   cursor: pointer;
   box-shadow: 0 0 20px var(--amethyst-neon);
   border: 3px solid var(--amethyst-main);
   transition: 0.2s;
}

.glass-slider::-webkit-slider-thumb:hover {
   transform: scale(1.3);
   background: var(--amethyst-neon);
   border-color: var(--text-pure);
}

.c-toggles {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 1.5rem;
}

.chk-item {
   display: block;
   position: relative;
   cursor: pointer;
}

.chk-item input {
   display: none;
}

.chk-ui {
   border: 1px solid var(--border-glass);
   border-radius: 12px;
   padding: 1.2rem;
   text-align: center;
   color: var(--text-muted);
   font-size: 0.95rem;
   font-family: var(--font-heading);
   font-weight: 500;
   text-transform: uppercase;
   letter-spacing: 1px;
   transition: var(--transition-swift);
   background: rgba(255, 255, 255, 0.02);
}

.chk-item input:checked+.chk-ui {
   border-color: var(--amethyst-light);
   color: var(--text-pure);
   background: rgba(157, 78, 221, 0.15);
   box-shadow: 0 0 20px rgba(157, 78, 221, 0.2);
}

.r-title {
   font-size: 1rem;
   font-family: var(--font-heading);
   text-transform: uppercase;
   letter-spacing: 3px;
   color: var(--amethyst-light);
   margin-bottom: 1rem;
}

.r-number {
   font-family: var(--font-heading);
   font-size: 5rem;
   font-weight: 700;
   color: var(--text-pure);
   text-shadow: 0 0 40px var(--amethyst-main);
   line-height: 1;
   margin-bottom: 1.5rem;
}

/* ==========================================================================
   REPORTING DASHBOARD (Neon Data Viz)
   ========================================================================== */
.dash-panel {
   background: rgba(255, 255, 255, 0.02);
   border: 1px solid var(--border-glass);
   border-radius: 30px;
   padding: 4rem;
   backdrop-filter: blur(15px);
}

.dash-header {
   display: flex;
   justify-content: space-between;
   align-items: flex-end;
   border-bottom: 1px solid var(--border-glass);
   padding-bottom: 2rem;
   margin-bottom: 3rem;
}

.dash-tabs {
   display: flex;
   gap: 1.5rem;
}

.d-tab {
   background: transparent;
   color: var(--text-muted);
   font-family: var(--font-heading);
   font-weight: 600;
   font-size: 1.1rem;
   text-transform: uppercase;
   letter-spacing: 1px;
   cursor: pointer;
   padding: 0.8rem 1.5rem;
   transition: var(--transition-swift);
   border-radius: 50px;
   border: 1px solid transparent;
}

.d-tab.active {
   background: rgba(157, 78, 221, 0.1);
   color: var(--text-pure);
   border: 1px solid var(--border-amethyst);
   box-shadow: 0 0 20px rgba(157, 78, 221, 0.15);
}

.d-view {
   display: none;
   animation: fadeInView 0.5s ease-out;
}

.d-view.active {
   display: block;
}

@keyframes fadeInView {
   from {
      opacity: 0;
      transform: translateY(20px);
      filter: blur(5px);
   }

   to {
      opacity: 1;
      transform: translateY(0);
      filter: blur(0);
   }
}

/* CSS Line/Area Chart Simulation */
.chart-stage {
   height: 320px;
   border-bottom: 1px solid var(--border-glass);
   border-left: 1px solid var(--border-glass);
   margin-bottom: 3rem;
   position: relative;
   display: flex;
   align-items: flex-end;
   padding: 0 2%;
}

.chart-grid {
   position: absolute;
   width: 100%;
   height: 1px;
   background: rgba(255, 255, 255, 0.03);
   left: 0;
}

.c-area {
   position: absolute;
   bottom: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: linear-gradient(to top, rgba(157, 78, 221, 0.3), transparent);
   clip-path: polygon(0 100%, 0 60%, 25% 45%, 50% 70%, 75% 30%, 100% 15%, 100% 100%);
   border-top: 2px solid var(--amethyst-light);
   transform-origin: bottom;
   animation: growArea 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
   opacity: 0;
   filter: drop-shadow(0 -5px 15px var(--amethyst-main));
}

@keyframes growArea {
   to {
      opacity: 1;
      transform: scaleY(1);
   }

   from {
      opacity: 0;
      transform: scaleY(0);
   }
}

.c-point {
   width: 12px;
   height: 12px;
   background: var(--text-pure);
   border-radius: 50%;
   position: absolute;
   z-index: 2;
   box-shadow: 0 0 15px var(--amethyst-neon);
}

.dash-metrics {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 2rem;
}

.d-metric {
   border-left: 2px solid var(--amethyst-main);
   padding-left: 1.5rem;
}

.d-metric p {
   margin: 0 0 0.5rem;
   font-size: 0.9rem;
   font-family: var(--font-heading);
   text-transform: uppercase;
   color: var(--text-muted);
   letter-spacing: 1.5px;
}

.d-metric h4 {
   margin: 0;
   font-size: 2.5rem;
   color: var(--text-pure);
   font-weight: 700;
}

/* ==========================================================================
   INDUSTRIES (Hover Reveal Imagery)
   ========================================================================== */
.ind-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 2rem;
}

.ind-card {
   position: relative;
   height: 400px;
   border-radius: 20px;
   overflow: hidden;
   border: 1px solid var(--border-glass);
   display: flex;
   flex-direction: column;
   justify-content: flex-end;
   padding: 3rem;
   cursor: pointer;
   transition: var(--transition-fluid);
   background: var(--bg-void);
}

.ind-card::before {
   content: '';
   position: absolute;
   inset: 0;
   background: linear-gradient(to top, rgba(7, 3, 10, 1), transparent);
   z-index: 1;
   transition: var(--transition-swift);
}

.ind-bg {
   position: absolute;
   inset: 0;
   background: radial-gradient(circle at center, var(--amethyst-main), var(--bg-void));
   opacity: 0;
   transition: var(--transition-fluid);
   filter: blur(20px);
}

.ind-card:hover {
   border-color: var(--amethyst-light);
   transform: translateY(-10px);
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.ind-card:hover .ind-bg {
   opacity: 0.3;
}

.ind-info {
   position: relative;
   z-index: 2;
}

.ind-info h3 {
   margin-bottom: 0.5rem;
   font-size: 1.8rem;
   transition: var(--transition-swift);
}

.ind-card:hover .ind-info h3 {
   color: var(--amethyst-light);
}

.ind-info p {
   margin: 0;
   font-size: 1rem;
   opacity: 0;
   transform: translateY(20px);
   transition: var(--transition-fluid);
   color: var(--text-silver);
}

.ind-card:hover .ind-info p {
   opacity: 1;
   transform: translateY(0);
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testi-grid {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 3rem;
}

.testi-box {
   background: rgba(255, 255, 255, 0.02);
   border: 1px solid var(--border-glass);
   border-radius: 24px;
   padding: 4rem;
   position: relative;
}

.t-quote {
   position: absolute;
   top: 2rem;
   right: 3rem;
   font-family: serif;
   font-size: 6rem;
   color: rgba(157, 78, 221, 0.1);
   line-height: 1;
   font-weight: bold;
}

.t-text {
   font-size: 1.25rem;
   font-weight: 300;
   line-height: 1.8;
   color: var(--text-pure);
   margin-bottom: 3rem;
   position: relative;
   z-index: 1;
   font-style: italic;
}

.t-author {
   display: flex;
   align-items: center;
   gap: 1.5rem;
}

.t-line {
   width: 50px;
   height: 2px;
   background: linear-gradient(90deg, var(--amethyst-main), var(--magenta-glow));
}

.t-info h4 {
   margin: 0;
   font-size: 1.1rem;
   text-transform: uppercase;
   letter-spacing: 1px;
}

.t-info span {
   font-size: 0.85rem;
   color: var(--amethyst-light);
   font-family: var(--font-heading);
   text-transform: uppercase;
   letter-spacing: 1px;
}

/* ==========================================================================
   CONTACT CTA (Glowing Form)
   ========================================================================== */
.contact-layout {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 6rem;
   background: rgba(255, 255, 255, 0.01);
   border: 1px solid var(--border-glass);
   border-radius: 30px;
   padding: 6rem;
   backdrop-filter: blur(15px);
}

.contact-list {
   margin-top: 3rem;
}

.contact-list li {
   display: flex;
   align-items: center;
   gap: 1.5rem;
   margin-bottom: 2rem;
   color: var(--text-silver);
   font-size: 1.1rem;
}

.c-icon {
   font-size: 1.5rem;
   color: var(--amethyst-light);
   text-shadow: 0 0 10px var(--amethyst-main);
}

.cyber-form {
   display: grid;
   gap: 2rem;
}

.q-row {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 2rem;
}

.q-input {
   width: 100%;
   background: rgba(0, 0, 0, 0.4);
   border: none;
   border-bottom: 2px solid var(--border-glass);
   padding: 1.2rem 1rem;
   color: var(--text-pure);
   font-size: 1rem;
   transition: var(--transition-swift);
   font-family: var(--font-body);
   border-radius: 4px 4px 0 0;
}

.q-input:focus {
   border-color: var(--amethyst-main);
   background: rgba(157, 78, 221, 0.05);
}

.q-input::placeholder {
   color: rgba(255, 255, 255, 0.3);
}

textarea.q-input {
   height: 120px;
   resize: none;
}

/* ==========================================================================
   FOOTER (Strictly Identical, Deep Void)
   ========================================================================== */
.site-footer {
   background: var(--bg-void);
   padding: 8rem 0 3rem;
   border-top: 1px solid var(--border-glass);
   position: relative;
   z-index: 10;
}

.footer-grid {
   display: grid;
   grid-template-columns: 2fr 1fr 1fr 1.5fr;
   gap: 4rem;
   margin-bottom: 5rem;
}

.footer-logo {
   max-height: 60px;
   filter: brightness(0) invert(1);
   margin-bottom: 2rem;
}

.footer-desc {
   color: var(--text-muted);
   font-size: 1rem;
   max-width: 350px;
   line-height: 1.8;
   font-weight: 300;
}

.f-socials {
   display: flex;
   gap: 1.2rem;
   margin-top: 2.5rem;
}

.f-socials a {
   width: 45px;
   height: 45px;
   border-radius: 50%;
   background: rgba(255, 255, 255, 0.03);
   border: 1px solid var(--border-glass);
   display: flex;
   align-items: center;
   justify-content: center;
   color: var(--text-pure);
   transition: var(--transition-swift);
}

.f-socials a:hover {
   background: var(--amethyst-main);
   border-color: var(--amethyst-light);
   transform: translateY(-5px);
   box-shadow: 0 10px 20px rgba(157, 78, 221, 0.3);
}

.f-title {
   font-size: 1.1rem;
   color: var(--text-pure);
   margin-bottom: 2rem;
   font-family: var(--font-heading);
   text-transform: uppercase;
   letter-spacing: 2px;
}

.f-links li {
   margin-bottom: 1.2rem;
}

.f-links a {
   color: var(--text-muted);
   font-size: 0.95rem;
   transition: var(--transition-swift);
}

.f-links a:hover {
   color: var(--amethyst-light);
   padding-left: 8px;
}

.f-contact p {
   display: flex;
   align-items: center;
   gap: 15px;
   margin-bottom: 1.2rem;
   color: var(--text-silver);
   font-size: 0.95rem;
}

.f-contact i {
   color: var(--amethyst-main);
   font-style: normal;
   font-size: 1.2rem;
}

.footer-bottom {
   border-top: 1px solid var(--border-glass);
   padding-top: 3rem;
   text-align: center;
   color: var(--text-muted);
   font-size: 0.9rem;
   text-transform: uppercase;
   letter-spacing: 2px;
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-hero {
   padding: 14rem 0 7rem;
   text-align: center;
   border-bottom: 1px solid var(--border-glass);
   background: radial-gradient(circle at top, rgba(157, 78, 221, 0.1), transparent 60%);
}

.legal-content {
   max-width: 850px;
   margin: 0 auto;
   padding: 8rem 5%;
}

.legal-content h2 {
   margin: 4rem 0 1.5rem;
   color: var(--amethyst-light);
   font-size: 1.8rem;
   font-family: var(--font-heading);
   text-transform: uppercase;
   letter-spacing: 1px;
}

.legal-content p {
   color: var(--text-silver);
   font-size: 1.1rem;
   line-height: 1.8;
   margin-bottom: 1.8rem;
   font-weight: 300;
}

.legal-content ul {
   padding-left: 2rem;
   margin-bottom: 2.5rem;
}

.legal-content li {
   color: var(--text-silver);
   margin-bottom: 1rem;
   list-style-type: square;
   font-weight: 300;
}

/* ==========================================================================
   LIVE CHAT WIDGET
   ========================================================================== */
.chat-widget {
   position: fixed;
   bottom: 40px;
   right: 40px;
   z-index: 2000;
}

.chat-btn {
   width: 65px;
   height: 65px;
   border-radius: 50%;
   background: linear-gradient(135deg, var(--amethyst-main), var(--magenta-glow));
   color: var(--text-pure);
   font-size: 1.8rem;
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   box-shadow: 0 15px 35px rgba(157, 78, 221, 0.4);
   transition: var(--transition-swift);
}

.chat-btn:hover {
   transform: scale(1.1);
   box-shadow: 0 20px 40px rgba(255, 10, 84, 0.5);
}

.chat-window {
   position: absolute;
   bottom: 90px;
   right: 0;
   width: 360px;
   background: rgba(19, 10, 30, 0.95);
   backdrop-filter: blur(20px);
   border: 1px solid var(--border-amethyst);
   border-radius: 20px;
   overflow: hidden;
   box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
   opacity: 0;
   visibility: hidden;
   transform: translateY(20px);
   transition: var(--transition-swift);
}

.chat-window.open {
   opacity: 1;
   visibility: visible;
   transform: translateY(0);
}

.chat-top {
   background: rgba(255, 255, 255, 0.03);
   border-bottom: 1px solid var(--border-glass);
   padding: 1.5rem;
   display: flex;
   justify-content: space-between;
   align-items: center;
}

.chat-top h4 {
   margin: 0;
   font-size: 1rem;
   color: var(--text-pure);
   font-family: var(--font-heading);
   text-transform: uppercase;
   letter-spacing: 1px;
}

.chat-close {
   background: none;
   color: var(--text-pure);
   font-size: 1.5rem;
   cursor: pointer;
}

.chat-body {
   padding: 1.5rem;
   height: 300px;
   overflow-y: auto;
   display: flex;
   flex-direction: column;
   gap: 1rem;
}

.msg {
   padding: 1rem;
   border-radius: 12px;
   font-size: 0.95rem;
   max-width: 85%;
   font-weight: 300;
}

.msg.bot {
   background: rgba(255, 255, 255, 0.05);
   border: 1px solid var(--border-glass);
   align-self: flex-start;
   border-bottom-left-radius: 2px;
}

.msg.user {
   background: rgba(157, 78, 221, 0.2);
   border: 1px solid var(--amethyst-main);
   color: var(--amethyst-light);
   align-self: flex-end;
   border-bottom-right-radius: 2px;
}

.chat-input-area {
   padding: 1rem;
   border-top: 1px solid var(--border-glass);
   display: flex;
   gap: 0.5rem;
   background: rgba(0, 0, 0, 0.5);
}

.c-input {
   flex: 1;
   background: transparent;
   border: none;
   padding: 0.8rem;
   color: var(--text-pure);
   font-family: var(--font-body);
   font-weight: 300;
   outline: none;
}

.c-send {
   color: var(--amethyst-main);
   padding: 0 1rem;
   font-family: var(--font-heading);
   text-transform: uppercase;
   font-weight: 700;
   cursor: pointer;
   letter-spacing: 1px;
}

/* ==========================================================================
   ANIMATIONS & RESPONSIVE
   ========================================================================== */
.reveal {
   opacity: 0;
   transform: translateY(50px);
   transition: 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
   opacity: 1;
   transform: translateY(0);
}

@media (max-width: 1024px) {
   h1 {
      font-size: 4.5rem;
   }

   .hero-grid,
   .calc-wrap,
   .contact-layout,
   .footer-grid {
      grid-template-columns: 1fr;
   }

   .orb-container {
      height: 350px;
   }

   .svc-grid,
   .ind-grid,
   .testi-grid {
      grid-template-columns: repeat(2, 1fr);
   }

   .calc-left,
   .calc-right,
   .contact-layout {
      padding: 4rem;
   }
}

@media (max-width: 768px) {
   .main-nav {
      position: fixed;
      top: var(--nav-height);
      left: -100%;
      width: 100%;
      height: calc(100vh - var(--nav-height));
      background: var(--bg-void);
      flex-direction: column;
      justify-content: center;
      transition: 0.4s ease;
   }

   .main-nav.active {
      left: 0;
   }

   .mobile-btn {
      display: block;
   }

   .svc-grid,
   .ind-grid,
   .testi-grid,
   .dash-metrics,
   .c-toggles,
   .q-row {
      grid-template-columns: 1fr;
   }

   .dash-tabs {
      flex-wrap: wrap;
   }

   .dash-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 1.5rem;
   }

   .metrics-track {
      gap: 3rem;
      padding-right: 3rem;
   }

   .m-num {
      font-size: 2rem;
   }
}