/* ==========================================================================
   CSS VARIABLES & CORE THEME (Holographic Pearl & Liquid Sapphire)
   ========================================================================== */
:root {
   --bg-space: #010308;
   --bg-sapphire: #040a18;
   --bg-glass: rgba(4, 10, 24, 0.6);
   --bg-card: rgba(255, 255, 255, 0.02);

   --holo-cyan: #00E5FF;
   --holo-indigo: #5D00FF;
   --holo-magenta: #FF00AA;
   --holo-gradient: linear-gradient(135deg, var(--holo-cyan), var(--holo-indigo), var(--holo-magenta));

   --text-pure: #ffffff;
   --text-pearl: #e2e8f0;
   --text-muted: #8b9bb4;

   --border-light: rgba(255, 255, 255, 0.06);
   --border-cyan: rgba(0, 229, 255, 0.3);

   --font-heading: 'Space Grotesk', system-ui, sans-serif;
   --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

   --nav-height: 90px;
   --ease-holo: cubic-bezier(0.25, 1, 0.3, 1);
   --transition-fast: 0.3s ease;
   --transition-slow: 0.7s var(--ease-holo);
}

/* ==========================================================================
   RESET & GLOBAL TYPOGRAPHY
   ========================================================================== */
* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

html {
   scroll-behavior: smooth;
   font-size: 16px;
   background: var(--bg-space);
}

body {
   font-family: var(--font-body);
   background-color: var(--bg-sapphire);
   color: var(--text-pearl);
   line-height: 1.7;
   overflow-x: hidden;
   -webkit-font-smoothing: antialiased;
   /* Holographic ambient flares */
   background-image:
      radial-gradient(circle at 10% 20%, rgba(93, 0, 255, 0.08) 0%, transparent 40%),
      radial-gradient(circle at 90% 80%, rgba(0, 229, 255, 0.06) 0%, transparent 40%);
}

a {
   text-decoration: none;
   color: inherit;
   transition: var(--transition-fast);
}

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;
}

/* Futuristic Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
   font-family: var(--font-heading);
   font-weight: 700;
   color: var(--text-pure);
   line-height: 1.1;
   margin-bottom: 1.2rem;
   letter-spacing: -0.03em;
}

h1 {
   font-size: clamp(3rem, 6.5vw, 6.5rem);
}

h2 {
   font-size: clamp(2.5rem, 4.5vw, 4.5rem);
}

h3 {
   font-size: clamp(1.5rem, 2.5vw, 2.5rem);
   font-weight: 600;
}

p {
   font-size: 1.1rem;
   margin-bottom: 1.5rem;
   color: var(--text-muted);
   font-weight: 400;
}

.container {
   max-width: 1350px;
   margin: 0 auto;
   padding: 0 5%;
}

.section-pad {
   padding: 9rem 0;
}

.text-center {
   text-align: center;
}

.text-holo {
   background: var(--holo-gradient);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
}

.badge-tag {
   display: inline-flex;
   align-items: center;
   font-family: var(--font-heading);
   font-size: 0.85rem;
   text-transform: uppercase;
   letter-spacing: 2px;
   color: var(--holo-cyan);
   padding: 0.5rem 1.5rem;
   border-radius: 100px;
   border: 1px solid var(--border-cyan);
   background: rgba(0, 229, 255, 0.05);
   margin-bottom: 1.5rem;
   box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
}

/* Holographic Buttons */
.btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   padding: 1.2rem 2.8rem;
   font-size: 0.95rem;
   font-weight: 700;
   font-family: var(--font-heading);
   border-radius: 100px;
   text-transform: uppercase;
   letter-spacing: 1.5px;
   cursor: pointer;
   position: relative;
   transition: var(--transition-slow);
   z-index: 1;
   overflow: hidden;
}

.btn-primary {
   background: var(--text-pure);
   color: var(--bg-space);
}

.btn-primary::before {
   content: '';
   position: absolute;
   inset: 0;
   background: var(--holo-gradient);
   opacity: 0;
   transition: var(--transition-fast);
   z-index: -1;
}

.btn-primary:hover {
   color: var(--text-pure);
   box-shadow: 0 10px 30px rgba(93, 0, 255, 0.4);
   transform: translateY(-3px);
   border-color: transparent;
}

.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-light);
}

.btn-glass:hover {
   background: rgba(0, 229, 255, 0.1);
   border-color: var(--holo-cyan);
   color: var(--holo-cyan);
   transform: translateY(-3px);
}

/* ==========================================================================
   HEADER & NAVIGATION (Strictly Identical, Deep Space)
   ========================================================================== */
.site-header {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: var(--nav-height);
   background: transparent;
   z-index: 1000;
   transition: var(--transition-slow);
   display: flex;
   align-items: center;
   border-bottom: 1px solid transparent;
}

.site-header.scrolled {
   height: 80px;
   background: rgba(1, 3, 8, 0.95);
   backdrop-filter: blur(20px);
   -webkit-backdrop-filter: blur(20px);
   border-bottom: 1px solid var(--border-light);
   box-shadow: 0 10px 40px 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(10);
}

.main-nav {
   display: flex;
   gap: 3rem;
   align-items: center;
}

.nav-link {
   font-family: var(--font-heading);
   font-size: 0.9rem;
   font-weight: 600;
   color: var(--text-pearl);
   text-transform: uppercase;
   letter-spacing: 1.5px;
   position: relative;
   padding: 0.5rem 0;
}

.nav-link::before {
   content: '';
   position: absolute;
   bottom: 0;
   left: 50%;
   width: 0;
   height: 2px;
   background: var(--holo-gradient);
   transition: var(--transition-fast);
   transform: translateX(-50%);
}

.nav-link:hover {
   color: var(--text-pure);
   text-shadow: 0 0 10px var(--holo-cyan);
}

.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(--holo-cyan);
}

.mobile-btn.active span:nth-child(2) {
   opacity: 0;
}

.mobile-btn.active span:nth-child(3) {
   top: 9px;
   transform: rotate(-45deg);
   background: var(--holo-cyan);
}

/* ==========================================================================
   HERO SECTION (3D Holographic Monolith)
   ========================================================================== */
.hero {
   min-height: 100vh;
   display: flex;
   align-items: center;
   padding-top: var(--nav-height);
   position: relative;
   overflow: hidden;
}

/* Core ambient flare */
.hero::after {
   content: '';
   position: absolute;
   top: 50%;
   left: 50%;
   width: 60vw;
   height: 60vw;
   background: radial-gradient(circle, rgba(93, 0, 255, 0.15) 0%, transparent 50%);
   transform: translate(-50%, -50%);
   pointer-events: none;
   filter: blur(60px);
   z-index: 0;
}

.hero-grid {
   display: grid;
   grid-template-columns: 1.1fr 0.9fr;
   gap: 4rem;
   align-items: center;
   position: relative;
   z-index: 2;
}

.hero-btns {
   display: flex;
   gap: 1.5rem;
   margin-top: 3.5rem;
}

/* Pure CSS 3D Holographic Monolith */
.monolith-wrapper {
   perspective: 1200px;
   display: flex;
   justify-content: center;
   align-items: center;
   height: 500px;
}

.monolith {
   width: 140px;
   height: 350px;
   position: relative;
   transform-style: preserve-3d;
   animation: floatMonolith 12s ease-in-out infinite;
}

.m-face {
   position: absolute;
   width: 100%;
   height: 100%;
   border: 1px solid rgba(255, 255, 255, 0.2);
   background: linear-gradient(to bottom, rgba(0, 229, 255, 0.2), rgba(255, 0, 170, 0.2));
   backdrop-filter: blur(5px);
   box-shadow: inset 0 0 30px rgba(0, 229, 255, 0.2);
}

.m-face.front {
   transform: translateZ(70px);
}

.m-face.back {
   transform: rotateY(180deg) translateZ(70px);
}

.m-face.right {
   transform: rotateY(90deg) translateZ(70px);
}

.m-face.left {
   transform: rotateY(-90deg) translateZ(70px);
}

.m-face.top {
   height: 140px;
   transform: rotateX(90deg) translateZ(70px);
   background: rgba(255, 255, 255, 0.4);
   box-shadow: 0 0 50px var(--holo-cyan);
}

.m-face.bottom {
   height: 140px;
   transform: rotateX(-90deg) translateZ(280px);
   background: rgba(93, 0, 255, 0.5);
   box-shadow: 0 0 80px var(--holo-indigo);
}

/* Rotating holographic rings around monolith */
.m-ring {
   position: absolute;
   top: 50%;
   left: -50%;
   width: 200%;
   height: 40px;
   border: 2px solid var(--holo-cyan);
   border-radius: 50%;
   transform-style: preserve-3d;
   animation: spinRing 6s linear infinite;
   box-shadow: 0 0 20px var(--holo-cyan), inset 0 0 20px var(--holo-cyan);
}

.m-ring:nth-child(2) {
   top: 30%;
   border-color: var(--holo-magenta);
   animation-duration: 8s;
   animation-direction: reverse;
   box-shadow: 0 0 20px var(--holo-magenta), inset 0 0 20px var(--holo-magenta);
}

@keyframes floatMonolith {

   0%,
   100% {
      transform: translateY(0) rotateX(-10deg) rotateY(0deg);
   }

   50% {
      transform: translateY(-40px) rotateX(10deg) rotateY(180deg);
   }
}

@keyframes spinRing {
   0% {
      transform: rotateX(70deg) rotateZ(0deg);
   }

   100% {
      transform: rotateX(70deg) rotateZ(360deg);
   }
}

/* ==========================================================================
   METRICS MARQUEE
   ========================================================================== */
.metrics-band {
   border-top: 1px solid var(--border-light);
   border-bottom: 1px solid var(--border-light);
   background: rgba(1, 3, 8, 0.7);
   backdrop-filter: blur(15px);
   padding: 3rem 0;
   overflow: hidden;
   white-space: nowrap;
   display: flex;
   align-items: center;
   position: relative;
   z-index: 5;
}

.metrics-track {
   display: inline-flex;
   animation: scrollMarquee 25s linear infinite;
   gap: 6rem;
   padding-right: 6rem;
}

.m-item {
   font-family: var(--font-heading);
   display: flex;
   align-items: center;
   gap: 1.5rem;
}

.m-num {
   font-size: 3.5rem;
   font-weight: 700;
   background: var(--holo-gradient);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
}

.m-label {
   font-size: 1rem;
   text-transform: uppercase;
   letter-spacing: 2px;
   color: var(--text-pearl);
   font-weight: 600;
}

@keyframes scrollMarquee {
   0% {
      transform: translateX(0);
   }

   100% {
      transform: translateX(-50%);
   }
}

/* ==========================================================================
   ABOUT / ETHOS (Centered Glow)
   ========================================================================== */
.section-ethos {
   background: var(--bg-sapphire);
   border-bottom: 1px solid var(--border-light);
   position: relative;
   overflow: hidden;
}

.section-ethos::before {
   content: '';
   position: absolute;
   top: 0;
   left: 50%;
   transform: translateX(-50%);
   width: 800px;
   height: 1px;
   background: var(--holo-gradient);
   box-shadow: 0 0 30px var(--holo-cyan);
}

/* ==========================================================================
   SERVICES (Holographic Glass Cards)
   ========================================================================== */
.services-section {
   position: relative;
}

.svc-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 2rem;
   margin-top: 5rem;
}

.svc-card {
   background: var(--bg-card);
   backdrop-filter: blur(12px);
   border: 1px solid var(--border-light);
   border-radius: 24px;
   padding: 4rem 3rem;
   position: relative;
   overflow: hidden;
   transition: var(--transition-slow);
   z-index: 1;
}

/* Gradient Reveal on Hover */
.svc-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: var(--holo-gradient);
   opacity: 0;
   transition: var(--transition-slow);
   z-index: -1;
}

.svc-card:hover {
   transform: translateY(-10px);
   border-color: transparent;
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.svc-card:hover::before {
   opacity: 0.1;
}

.s-icon {
   font-size: 2.8rem;
   color: var(--holo-cyan);
   margin-bottom: 2rem;
   display: inline-block;
   transition: var(--transition-fast);
}

.svc-card:hover .s-icon {
   transform: scale(1.1);
   color: var(--text-pure);
   text-shadow: 0 0 20px var(--holo-cyan);
}

.svc-card h3 {
   font-size: 1.8rem;
   margin-bottom: 1.5rem;
   transition: var(--transition-fast);
}

.svc-card:hover h3 {
   color: var(--holo-cyan);
}

/* ==========================================================================
   ROI CALCULATOR (Tech UI)
   ========================================================================== */
.calc-wrap {
   border: 1px solid var(--border-light);
   border-radius: 32px;
   background: rgba(1, 3, 8, 0.8);
   display: grid;
   grid-template-columns: 1fr 1fr;
   overflow: hidden;
   box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
   position: relative;
}

.calc-left {
   padding: 5rem;
   position: relative;
   z-index: 2;
   border-right: 1px solid var(--border-light);
}

.calc-right {
   padding: 5rem;
   background: radial-gradient(circle at center, rgba(93, 0, 255, 0.15), transparent);
   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.1rem;
   text-transform: uppercase;
   letter-spacing: 1px;
}

.c-val {
   color: var(--holo-cyan);
   font-weight: 700;
   text-shadow: 0 0 15px var(--border-cyan);
}

/* Custom Cyan Slider */
.holo-slider {
   -webkit-appearance: none;
   width: 100%;
   height: 4px;
   border-radius: 2px;
   background: var(--border-light);
   outline: none;
   position: relative;
}

.holo-slider::-webkit-slider-thumb {
   -webkit-appearance: none;
   width: 24px;
   height: 24px;
   border-radius: 50%;
   background: var(--text-pure);
   cursor: pointer;
   box-shadow: 0 0 20px var(--holo-cyan);
   border: 3px solid var(--holo-cyan);
   transition: 0.2s;
}

.holo-slider::-webkit-slider-thumb:hover {
   transform: scale(1.3);
   background: var(--holo-cyan);
}

.c-toggles {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 1rem;
}

.chk-item {
   display: block;
   position: relative;
   cursor: pointer;
}

.chk-item input {
   display: none;
}

.chk-ui {
   border: 1px solid var(--border-light);
   border-radius: 12px;
   padding: 1.2rem;
   text-align: center;
   color: var(--text-muted);
   font-size: 0.9rem;
   font-family: var(--font-heading);
   font-weight: 600;
   text-transform: uppercase;
   letter-spacing: 1px;
   transition: var(--transition-fast);
   background: rgba(255, 255, 255, 0.02);
}

.chk-item input:checked+.chk-ui {
   border-color: var(--holo-cyan);
   color: var(--text-pure);
   background: rgba(0, 229, 255, 0.1);
   box-shadow: inset 0 0 20px rgba(0, 229, 255, 0.15);
}

.r-title {
   font-size: 0.9rem;
   font-family: var(--font-heading);
   text-transform: uppercase;
   letter-spacing: 3px;
   color: var(--holo-cyan);
   margin-bottom: 1.5rem;
}

.r-number {
   font-family: var(--font-heading);
   font-size: 5rem;
   font-weight: 700;
   background: var(--holo-gradient);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   line-height: 1;
   margin-bottom: 1.5rem;
}

/* ==========================================================================
   REPORTING DASHBOARD (Holographic Charts)
   ========================================================================== */
.dash-panel {
   background: rgba(255, 255, 255, 0.02);
   border: 1px solid var(--border-light);
   border-radius: 32px;
   padding: 4rem;
   backdrop-filter: blur(15px);
}

.dash-header {
   display: flex;
   justify-content: space-between;
   align-items: flex-end;
   border-bottom: 1px solid var(--border-light);
   padding-bottom: 2rem;
   margin-bottom: 4rem;
}

.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: 1rem;
   text-transform: uppercase;
   letter-spacing: 1.5px;
   cursor: pointer;
   padding: 0.8rem 1.5rem;
   transition: var(--transition-fast);
   border-radius: 100px;
   border: 1px solid transparent;
}

.d-tab.active,
.d-tab:hover {
   background: rgba(93, 0, 255, 0.1);
   color: var(--text-pure);
   border: 1px solid rgba(93, 0, 255, 0.4);
   box-shadow: 0 0 20px rgba(93, 0, 255, 0.2);
}

.d-view {
   display: none;
   animation: popIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.d-view.active {
   display: block;
}

@keyframes popIn {
   from {
      opacity: 0;
      transform: scale(0.98);
   }

   to {
      opacity: 1;
      transform: scale(1);
   }
}

/* CSS Gradient Area Chart */
.chart-stage {
   height: 350px;
   border-bottom: 1px solid var(--border-light);
   border-left: 1px solid var(--border-light);
   margin-bottom: 4rem;
   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(0, 229, 255, 0.3), transparent);
   clip-path: polygon(0 100%, 0 60%, 25% 45%, 50% 80%, 75% 30%, 100% 20%, 100% 100%);
   border-top: 2px solid var(--holo-cyan);
   transform-origin: bottom;
   animation: growHolo 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
   opacity: 0;
   filter: drop-shadow(0 -5px 15px rgba(0, 229, 255, 0.4));
}

@keyframes growHolo {
   to {
      opacity: 1;
      transform: scaleY(1);
   }

   from {
      opacity: 0;
      transform: scaleY(0);
   }
}

.c-point {
   width: 14px;
   height: 14px;
   background: var(--text-pure);
   border-radius: 50%;
   position: absolute;
   z-index: 2;
   box-shadow: 0 0 20px var(--holo-cyan);
}

.dash-metrics {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 3rem;
}

.d-metric {
   border-left: 2px solid var(--holo-cyan);
   padding-left: 2rem;
   background: rgba(0, 229, 255, 0.02);
   padding: 1.5rem 1.5rem 1.5rem 2rem;
   border-radius: 0 16px 16px 0;
}

.d-metric p {
   margin: 0 0 0.5rem;
   font-size: 0.85rem;
   font-family: var(--font-heading);
   text-transform: uppercase;
   color: var(--text-muted);
   letter-spacing: 1px;
}

.d-metric h4 {
   margin: 0;
   font-size: 2.8rem;
   color: var(--text-pure);
   font-weight: 700;
}

/* ==========================================================================
   INDUSTRIES (Holo-Reveal Overlays)
   ========================================================================== */
.ind-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 2rem;
}

.ind-card {
   position: relative;
   height: 420px;
   border-radius: 24px;
   overflow: hidden;
   border: 1px solid var(--border-light);
   display: flex;
   flex-direction: column;
   justify-content: flex-end;
   padding: 3rem;
   cursor: pointer;
   transition: var(--transition-slow);
   background: var(--bg-space);
}

.ind-card::before {
   content: '';
   position: absolute;
   inset: 0;
   background: linear-gradient(to top, rgba(1, 3, 8, 1), transparent);
   z-index: 1;
   transition: var(--transition-fast);
}

.ind-bg {
   position: absolute;
   inset: 0;
   background: var(--holo-gradient);
   opacity: 0;
   transition: var(--transition-slow);
   filter: blur(30px);
}

.ind-card:hover {
   border-color: var(--holo-cyan);
   transform: translateY(-10px);
   box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.ind-card:hover .ind-bg {
   opacity: 0.2;
}

.ind-info {
   position: relative;
   z-index: 2;
}

.ind-info h3 {
   margin-bottom: 1rem;
   font-size: 2rem;
   transition: var(--transition-fast);
}

.ind-card:hover .ind-info h3 {
   color: var(--holo-cyan);
}

.ind-info p {
   margin: 0;
   font-size: 1.05rem;
   opacity: 0;
   transform: translateY(20px);
   transition: var(--transition-slow);
   color: var(--text-pearl);
}

.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-light);
   border-radius: 24px;
   padding: 4rem;
   position: relative;
   backdrop-filter: blur(10px);
}

.t-quote {
   position: absolute;
   top: 1.5rem;
   right: 2.5rem;
   font-family: serif;
   font-size: 7rem;
   color: rgba(0, 229, 255, 0.08);
   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: 40px;
   height: 3px;
   background: var(--holo-gradient);
   border-radius: 3px;
}

.t-info h4 {
   margin: 0;
   font-size: 1.1rem;
   text-transform: uppercase;
   letter-spacing: 1px;
}

.t-info span {
   font-size: 0.85rem;
   color: var(--holo-magenta);
   font-family: var(--font-heading);
   text-transform: uppercase;
   letter-spacing: 1.5px;
   font-weight: 600;
}

/* ==========================================================================
   CONTACT CTA (Holographic Form)
   ========================================================================== */
.contact-layout {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 6rem;
   background: rgba(255, 255, 255, 0.01);
   border: 1px solid var(--border-light);
   border-radius: 32px;
   padding: 6rem;
   backdrop-filter: blur(20px);
   box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
   position: relative;
   overflow: hidden;
}

.contact-layout::after {
   content: '';
   position: absolute;
   bottom: 0;
   right: 0;
   width: 400px;
   height: 400px;
   background: radial-gradient(circle, rgba(255, 0, 170, 0.1), transparent 60%);
   pointer-events: none;
   filter: blur(50px);
}

.contact-list {
   margin-top: 3rem;
   position: relative;
   z-index: 2;
}

.contact-list li {
   display: flex;
   align-items: center;
   gap: 1.5rem;
   margin-bottom: 2rem;
   color: var(--text-pearl);
   font-size: 1.15rem;
}

.c-icon {
   font-size: 1.5rem;
   background: var(--holo-gradient);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
}

.holo-form {
   display: grid;
   gap: 2rem;
   position: relative;
   z-index: 2;
}

.q-row {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 2rem;
}

.q-input {
   width: 100%;
   background: rgba(0, 0, 0, 0.4);
   border: 1px solid var(--border-light);
   padding: 1.25rem 1.5rem;
   border-radius: 8px;
   color: var(--text-pure);
   font-size: 1rem;
   transition: var(--transition-fast);
   font-family: var(--font-body);
}

.q-input:focus {
   border-color: var(--holo-cyan);
   box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
   background: rgba(0, 0, 0, 0.6);
}

.q-input::placeholder {
   color: rgba(255, 255, 255, 0.3);
   font-weight: 300;
}

textarea.q-input {
   height: 140px;
   resize: none;
}

/* ==========================================================================
   FOOTER (Strictly Identical, Deep Space)
   ========================================================================== */
.site-footer {
   background: var(--bg-space);
   padding: 8rem 0 3rem;
   border-top: 1px solid var(--border-light);
   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(10);
   margin-bottom: 2rem;
}

.footer-desc {
   color: var(--text-muted);
   font-size: 1rem;
   max-width: 350px;
   line-height: 1.8;
   font-weight: 400;
}

.f-socials {
   display: flex;
   gap: 1.2rem;
   margin-top: 2.5rem;
}

.f-socials a {
   width: 45px;
   height: 45px;
   border-radius: 12px;
   background: rgba(255, 255, 255, 0.03);
   border: 1px solid var(--border-light);
   display: flex;
   align-items: center;
   justify-content: center;
   color: var(--text-pure);
   transition: var(--transition-fast);
}

.f-socials a:hover {
   background: var(--holo-gradient);
   border-color: transparent;
   transform: translateY(-5px);
   box-shadow: 0 10px 20px rgba(93, 0, 255, 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-fast);
}

.f-links a:hover {
   color: var(--holo-cyan);
   padding-left: 8px;
}

.f-contact p {
   display: flex;
   align-items: center;
   gap: 15px;
   margin-bottom: 1.2rem;
   color: var(--text-pearl);
   font-size: 0.95rem;
}

.f-contact i {
   color: var(--holo-cyan);
   font-style: normal;
   font-size: 1.2rem;
}

.footer-bottom {
   border-top: 1px solid var(--border-light);
   padding-top: 3rem;
   text-align: center;
   color: var(--text-muted);
   font-size: 0.9rem;
   text-transform: uppercase;
   letter-spacing: 2px;
   font-family: var(--font-heading);
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-hero {
   padding: 14rem 0 7rem;
   text-align: center;
   border-bottom: 1px solid var(--border-light);
   background: radial-gradient(circle at top, rgba(0, 229, 255, 0.05), transparent 60%);
}

.legal-content {
   max-width: 850px;
   margin: 0 auto;
   padding: 8rem 5%;
}

.legal-content h2 {
   margin: 4rem 0 1.5rem;
   background: var(--holo-gradient);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   font-size: 1.8rem;
   font-family: var(--font-heading);
   text-transform: uppercase;
   letter-spacing: 1px;
}

.legal-content p {
   color: var(--text-pearl);
   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-pearl);
   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: var(--holo-gradient);
   color: var(--text-pure);
   font-size: 1.8rem;
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   box-shadow: 0 15px 35px rgba(93, 0, 255, 0.4);
   transition: var(--transition-fast);
}

.chat-btn:hover {
   transform: scale(1.1);
   box-shadow: 0 20px 40px rgba(0, 229, 255, 0.5);
}

.chat-window {
   position: absolute;
   bottom: 90px;
   right: 0;
   width: 360px;
   background: rgba(4, 10, 24, 0.95);
   backdrop-filter: blur(20px);
   border: 1px solid var(--border-cyan);
   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-fast);
}

.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-light);
   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: 400;
}

.msg.bot {
   background: rgba(255, 255, 255, 0.05);
   border: 1px solid var(--border-light);
   align-self: flex-start;
   border-bottom-left-radius: 2px;
}

.msg.user {
   background: rgba(0, 229, 255, 0.15);
   border: 1px solid var(--holo-cyan);
   color: var(--holo-cyan);
   align-self: flex-end;
   border-bottom-right-radius: 2px;
}

.chat-input-area {
   padding: 1rem;
   border-top: 1px solid var(--border-light);
   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(--holo-cyan);
   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(40px);
   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;
   }

   .monolith-wrapper {
      height: 400px;
   }

   .svc-grid,
   .ind-grid,
   .testi-grid {
      grid-template-columns: repeat(2, 1fr);
   }

   .calc-left,
   .calc-right,
   .contact-layout {
      padding: 4rem;
      border-right: none;
   }

   .dash-metrics {
      gap: 1rem;
   }
}

@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-space);
      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: 2.5rem;
   }
}