/* ==========================================================================
   CSS VARIABLES & CORE THEME (Emerald Glass & Quantum Tech)
   ========================================================================== */
:root {
   --bg-void: #010604;
   --bg-deep: #03120b;
   --bg-glass: rgba(3, 18, 11, 0.6);
   --bg-card: rgba(16, 185, 129, 0.03);

   --emerald-main: #10b981;
   --emerald-light: #34d399;
   --emerald-neon: #00ffaa;
   --emerald-glow: rgba(16, 185, 129, 0.3);

   --text-pure: #ffffff;
   --text-mint: #d1fae5;
   --text-muted: #94a3b8;

   --border-glass: rgba(255, 255, 255, 0.05);
   --border-emerald: rgba(16, 185, 129, 0.2);

   --font-heading: 'Space Grotesk', system-ui, sans-serif;
   --font-body: 'Inter', 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-deep);
   color: var(--text-mint);
   line-height: 1.7;
   overflow-x: hidden;
   -webkit-font-smoothing: antialiased;
   /* Ambient glow backgrounds */
   background-image:
      radial-gradient(circle at 15% 30%, rgba(16, 185, 129, 0.05) 0%, transparent 40%),
      radial-gradient(circle at 85% 70%, rgba(52, 211, 153, 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;
}

/* Quantum 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, 6vw, 5.5rem);
}

h2 {
   font-size: clamp(2.5rem, 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);
}

.container {
   max-width: 1350px;
   margin: 0 auto;
   padding: 0 5%;
}

.section-pad {
   padding: 8rem 0;
}

.text-center {
   text-align: center;
}

.text-emerald {
   color: var(--emerald-neon);
   text-shadow: 0 0 20px var(--emerald-glow);
}

.tag {
   display: inline-flex;
   align-items: center;
   font-family: var(--font-heading);
   font-size: 0.85rem;
   text-transform: uppercase;
   letter-spacing: 2px;
   color: var(--emerald-main);
   padding: 0.5rem 1.2rem;
   border-radius: 50px;
   border: 1px solid var(--border-emerald);
   background: rgba(16, 185, 129, 0.05);
   margin-bottom: 1.5rem;
}

/* Emerald Glass Buttons */
.btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   padding: 1.1rem 2.5rem;
   font-size: 1rem;
   font-weight: 600;
   font-family: var(--font-heading);
   border-radius: 8px;
   cursor: pointer;
   position: relative;
   transition: var(--transition-swift);
   z-index: 1;
}

.btn-emerald {
   background: var(--emerald-main);
   color: var(--bg-void);
   box-shadow: 0 10px 25px var(--emerald-glow);
}

.btn-emerald:hover {
   background: var(--emerald-neon);
   box-shadow: 0 15px 35px rgba(0, 255, 170, 0.4);
   transform: translateY(-3px);
}

.btn-glass {
   background: var(--border-glass);
   backdrop-filter: blur(10px);
   color: var(--text-pure);
   border: 1px solid var(--border-emerald);
}

.btn-glass:hover {
   background: var(--emerald-glow);
   border-color: var(--emerald-neon);
   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(1, 6, 4, 0.9);
   backdrop-filter: blur(15px);
   -webkit-backdrop-filter: blur(15px);
   border-bottom: 1px solid var(--border-emerald);
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.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: 2.5rem;
   align-items: center;
}

.nav-link {
   font-family: var(--font-heading);
   font-size: 0.95rem;
   font-weight: 500;
   color: var(--text-mint);
   position: relative;
   padding: 0.5rem 0;
}

.nav-link::before {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0;
   width: 5px;
   height: 5px;
   border-radius: 50%;
   background: var(--emerald-neon);
   opacity: 0;
   transition: var(--transition-swift);
}

.nav-link:hover {
   color: var(--text-pure);
}

.nav-link:hover::before {
   opacity: 1;
   transform: scale(1.5);
   box-shadow: 0 0 10px var(--emerald-neon);
}

.mobile-btn {
   display: none;
   width: 35px;
   height: 24px;
   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: 11px;
}

.mobile-btn span:nth-child(3) {
   top: 22px;
}

.mobile-btn.active span:nth-child(1) {
   top: 11px;
   transform: rotate(45deg);
   background: var(--emerald-neon);
}

.mobile-btn.active span:nth-child(2) {
   opacity: 0;
}

.mobile-btn.active span:nth-child(3) {
   top: 11px;
   transform: rotate(-45deg);
   background: var(--emerald-neon);
}

/* ==========================================================================
   HERO SECTION (3D Quantum Rings)
   ========================================================================== */
.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.2fr 1fr;
   gap: 4rem;
   align-items: center;
   position: relative;
   z-index: 2;
}

.hero-btns {
   display: flex;
   gap: 1.5rem;
   margin-top: 3rem;
}

/* Pure CSS 3D Quantum Rings */
.quantum-wrapper {
   perspective: 1000px;
   display: flex;
   justify-content: center;
   align-items: center;
   height: 500px;
}

.quantum-core {
   width: 350px;
   height: 350px;
   position: relative;
   transform-style: preserve-3d;
   animation: floatQuantum 6s ease-in-out infinite;
}

.q-ring {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   border-radius: 50%;
   border: 2px solid transparent;
   border-top-color: var(--emerald-main);
   border-bottom-color: var(--emerald-light);
   box-shadow: 0 0 30px var(--emerald-glow), inset 0 0 30px var(--emerald-glow);
   mix-blend-mode: screen;
}

.q-ring-1 {
   animation: spinXYZ 8s linear infinite;
}

.q-ring-2 {
   animation: spinXYZ 12s linear infinite reverse;
   width: 80%;
   height: 80%;
   top: 10%;
   left: 10%;
   border-color: var(--emerald-neon);
}

.q-ring-3 {
   animation: spinXYZ 16s linear infinite;
   width: 60%;
   height: 60%;
   top: 20%;
   left: 20%;
   border-color: var(--text-pure);
}

.q-center {
   position: absolute;
   top: 45%;
   left: 45%;
   width: 10%;
   height: 10%;
   background: var(--emerald-neon);
   border-radius: 50%;
   box-shadow: 0 0 50px var(--emerald-neon);
   animation: pulseCore 2s ease-in-out infinite alternate;
}

@keyframes spinXYZ {
   0% {
      transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
   }

   100% {
      transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
   }
}

@keyframes floatQuantum {

   0%,
   100% {
      transform: translateY(0);
   }

   50% {
      transform: translateY(-30px);
   }
}

@keyframes pulseCore {
   0% {
      transform: scale(1);
      opacity: 0.8;
   }

   100% {
      transform: scale(1.5);
      opacity: 1;
   }
}

/* ==========================================================================
   METRICS BANNER
   ========================================================================== */
.metrics-banner {
   border-top: 1px solid var(--border-glass);
   border-bottom: 1px solid var(--border-glass);
   background: rgba(0, 0, 0, 0.4);
   backdrop-filter: blur(10px);
   padding: 3rem 0;
}

.metrics-flex {
   display: flex;
   justify-content: space-around;
   flex-wrap: wrap;
   gap: 2rem;
}

.m-item {
   text-align: center;
}

.m-num {
   font-family: var(--font-heading);
   font-size: 3.5rem;
   font-weight: 700;
   color: var(--emerald-neon);
   line-height: 1;
   margin-bottom: 0.5rem;
   text-shadow: 0 0 20px var(--emerald-glow);
}

.m-label {
   font-size: 0.9rem;
   text-transform: uppercase;
   letter-spacing: 2px;
   color: var(--text-mint);
}

/* ==========================================================================
   SERVICES (Emerald Glass Cards)
   ========================================================================== */
.services-section {
   position: relative;
}

.svc-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 2rem;
   margin-top: 4rem;
}

.svc-glass {
   background: var(--bg-card);
   backdrop-filter: blur(12px);
   -webkit-backdrop-filter: blur(12px);
   border: 1px solid var(--border-glass);
   border-radius: 16px;
   padding: 3.5rem 2.5rem;
   position: relative;
   overflow: hidden;
   transition: var(--transition-fluid);
   z-index: 1;
}

/* Hover Glow */
.svc-glass::before {
   content: '';
   position: absolute;
   top: -50%;
   left: -50%;
   width: 200%;
   height: 200%;
   background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
   opacity: 0;
   transition: var(--transition-swift);
   z-index: -1;
}

.svc-glass:hover {
   transform: translateY(-10px);
   border-color: var(--border-emerald);
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.svc-glass:hover::before {
   opacity: 1;
}

.s-icon {
   font-size: 2.5rem;
   color: var(--emerald-main);
   margin-bottom: 1.5rem;
   display: inline-block;
   transition: var(--transition-swift);
}

.svc-glass:hover .s-icon {
   transform: scale(1.1);
   color: var(--emerald-neon);
   text-shadow: 0 0 15px var(--emerald-glow);
}

/* ==========================================================================
   ROI CALCULATOR (Quantum UI)
   ========================================================================== */
.calc-wrap {
   border: 1px solid var(--border-glass);
   border-radius: 24px;
   background: rgba(0, 0, 0, 0.3);
   backdrop-filter: blur(20px);
   display: grid;
   grid-template-columns: 1.2fr 0.8fr;
   overflow: hidden;
   box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.calc-left {
   padding: 5rem;
}

.calc-right {
   padding: 5rem;
   background: radial-gradient(circle at center, rgba(16, 185, 129, 0.1), transparent);
   border-left: 1px solid var(--border-glass);
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   text-align: center;
}

.c-slider-box {
   margin-bottom: 3rem;
}

.c-label-flex {
   display: flex;
   justify-content: space-between;
   margin-bottom: 1rem;
   font-family: var(--font-heading);
   color: var(--text-pure);
   font-size: 1.1rem;
}

.c-val {
   color: var(--emerald-neon);
   font-weight: 700;
   text-shadow: 0 0 10px var(--emerald-glow);
}

/* Custom Glass Slider */
.glass-slider {
   -webkit-appearance: none;
   width: 100%;
   height: 6px;
   border-radius: 3px;
   background: rgba(255, 255, 255, 0.1);
   outline: none;
}

.glass-slider::-webkit-slider-thumb {
   -webkit-appearance: none;
   width: 24px;
   height: 24px;
   border-radius: 50%;
   background: var(--emerald-neon);
   cursor: pointer;
   box-shadow: 0 0 15px var(--emerald-glow);
   border: 3px solid var(--bg-deep);
   transition: 0.2s;
}

.glass-slider::-webkit-slider-thumb:hover {
   transform: scale(1.2);
}

.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-glass);
   border-radius: 8px;
   padding: 1rem;
   text-align: center;
   color: var(--text-muted);
   font-size: 0.9rem;
   transition: var(--transition-swift);
   background: rgba(255, 255, 255, 0.02);
}

.chk-item input:checked+.chk-ui {
   border-color: var(--emerald-main);
   color: var(--emerald-neon);
   background: rgba(16, 185, 129, 0.1);
   box-shadow: inset 0 0 15px rgba(16, 185, 129, 0.1);
}

.r-title {
   font-size: 0.9rem;
   text-transform: uppercase;
   letter-spacing: 2px;
   color: var(--text-mint);
   margin-bottom: 1rem;
}

.r-number {
   font-family: var(--font-heading);
   font-size: 4.5rem;
   font-weight: 700;
   color: var(--text-pure);
   text-shadow: 0 0 30px var(--emerald-glow);
   line-height: 1;
   margin-bottom: 1rem;
}

/* ==========================================================================
   REPORTING DASHBOARD (Glass Data Viz)
   ========================================================================== */
.dash-panel {
   background: rgba(255, 255, 255, 0.02);
   border: 1px solid var(--border-glass);
   border-radius: 24px;
   padding: 4rem;
   backdrop-filter: blur(10px);
}

.dash-header {
   display: flex;
   justify-content: space-between;
   align-items: flex-end;
   border-bottom: 1px solid var(--border-glass);
   padding-bottom: 1.5rem;
   margin-bottom: 3rem;
}

.dash-tabs {
   display: flex;
   gap: 1rem;
}

.d-tab {
   background: transparent;
   color: var(--text-muted);
   font-family: var(--font-heading);
   font-weight: 600;
   font-size: 1.1rem;
   cursor: pointer;
   padding: 0.5rem 1rem;
   transition: var(--transition-swift);
   border-radius: 8px;
}

.d-tab.active {
   background: rgba(16, 185, 129, 0.1);
   color: var(--emerald-neon);
   border: 1px solid var(--border-emerald);
}

.d-view {
   display: none;
   animation: fadeInView 0.5s ease-out;
}

.d-view.active {
   display: block;
}

@keyframes fadeInView {
   from {
      opacity: 0;
      transform: translateY(10px);
   }

   to {
      opacity: 1;
      transform: translateY(0);
   }
}

/* CSS Bar Chart */
.chart-stage {
   height: 300px;
   display: flex;
   align-items: flex-end;
   justify-content: space-around;
   padding-bottom: 2rem;
   border-bottom: 1px solid var(--border-glass);
   margin-bottom: 3rem;
   position: relative;
}

.c-bar {
   width: 10%;
   background: linear-gradient(to top, var(--emerald-main), var(--emerald-neon));
   border-radius: 4px 4px 0 0;
   transform-origin: bottom;
   animation: barGrow 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
   opacity: 0;
   position: relative;
   box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.c-bar:nth-child(even) {
   background: linear-gradient(to top, #0f766e, #14b8a6);
}

@keyframes barGrow {
   to {
      opacity: 1;
   }
}

.dash-metrics {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 2rem;
}

.d-metric {
   background: rgba(0, 0, 0, 0.3);
   border: 1px solid var(--border-glass);
   border-radius: 12px;
   padding: 1.5rem;
}

.d-metric p {
   margin: 0 0 0.5rem;
   font-size: 0.85rem;
   text-transform: uppercase;
   color: var(--text-muted);
   letter-spacing: 1px;
}

.d-metric h4 {
   margin: 0;
   font-size: 2.2rem;
   color: var(--text-pure);
   font-weight: 700;
}

/* ==========================================================================
   INDUSTRIES (Dark Frosted Cards)
   ========================================================================== */
.ind-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 2rem;
}

.ind-card {
   position: relative;
   height: 350px;
   border-radius: 16px;
   overflow: hidden;
   border: 1px solid var(--border-glass);
   display: flex;
   flex-direction: column;
   justify-content: flex-end;
   padding: 2.5rem;
   cursor: pointer;
   transition: var(--transition-swift);
   background: var(--bg-void);
}

.ind-card::before {
   content: '';
   position: absolute;
   inset: 0;
   background: linear-gradient(to top, rgba(3, 18, 11, 0.9), transparent);
   z-index: 1;
   transition: var(--transition-swift);
}

.ind-card:hover {
   border-color: var(--emerald-main);
   box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
   transform: translateY(-5px);
}

.ind-card:hover::before {
   background: linear-gradient(to top, rgba(16, 185, 129, 0.4), transparent);
}

.ind-info {
   position: relative;
   z-index: 2;
}

.ind-info h3 {
   margin-bottom: 0.5rem;
}

.ind-info p {
   margin: 0;
   font-size: 0.95rem;
   opacity: 0;
   transform: translateY(15px);
   transition: var(--transition-fluid);
}

.ind-card:hover .ind-info p {
   opacity: 1;
   transform: translateY(0);
   color: var(--text-mint);
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testi-grid {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 2rem;
}

.testi-box {
   background: var(--bg-card);
   backdrop-filter: blur(10px);
   border: 1px solid var(--border-glass);
   border-radius: 16px;
   padding: 3.5rem;
   position: relative;
}

.t-quote {
   position: absolute;
   top: 1.5rem;
   right: 2.5rem;
   font-family: serif;
   font-size: 5rem;
   color: rgba(16, 185, 129, 0.1);
   line-height: 1;
}

.t-text {
   font-size: 1.15rem;
   font-weight: 400;
   line-height: 1.8;
   color: var(--text-pure);
   margin-bottom: 2rem;
   position: relative;
   z-index: 1;
}

.t-author {
   display: flex;
   align-items: center;
   gap: 1rem;
}

.t-ava {
   width: 50px;
   height: 50px;
   border-radius: 50%;
   background: linear-gradient(135deg, var(--emerald-main), #0f766e);
   display: flex;
   align-items: center;
   justify-content: center;
   font-weight: 700;
   color: var(--text-pure);
}

.t-info h4 {
   margin: 0;
   font-size: 1.05rem;
}

.t-info span {
   font-size: 0.85rem;
   color: var(--text-muted);
}

/* ==========================================================================
   CONTACT CTA (Glowing Inputs)
   ========================================================================== */
.contact-layout {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 5rem;
   background: rgba(255, 255, 255, 0.02);
   border: 1px solid var(--border-glass);
   border-radius: 24px;
   padding: 5rem;
   backdrop-filter: blur(10px);
}

.contact-list {
   margin-top: 2rem;
}

.contact-list li {
   display: flex;
   align-items: center;
   gap: 1rem;
   margin-bottom: 1.5rem;
   color: var(--text-mint);
}

.c-icon {
   width: 40px;
   height: 40px;
   border-radius: 50%;
   background: rgba(16, 185, 129, 0.1);
   border: 1px solid var(--border-emerald);
   display: flex;
   align-items: center;
   justify-content: center;
   color: var(--emerald-neon);
}

.quantum-form {
   display: grid;
   gap: 1.5rem;
}

.q-row {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 1.5rem;
}

.q-input {
   width: 100%;
   background: rgba(0, 0, 0, 0.3);
   border: 1px solid var(--border-glass);
   padding: 1.25rem 1.5rem;
   border-radius: 8px;
   color: var(--text-pure);
   font-size: 1rem;
   transition: var(--transition-swift);
}

.q-input:focus {
   border-color: var(--emerald-neon);
   box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
   background: rgba(0, 0, 0, 0.5);
}

textarea.q-input {
   height: 140px;
   resize: none;
}

/* ==========================================================================
   FOOTER (Strictly Identical, Deep Void)
   ========================================================================== */
.site-footer {
   background: var(--bg-void);
   padding: 6rem 0 2rem;
   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: 4rem;
}

.footer-logo {
   max-height: 60px;
   filter: brightness(0) invert(1);
   margin-bottom: 1.5rem;
}

.footer-desc {
   color: var(--text-muted);
   font-size: 0.95rem;
   max-width: 320px;
   line-height: 1.8;
}

.f-socials {
   display: flex;
   gap: 1rem;
   margin-top: 2rem;
}

.f-socials a {
   width: 40px;
   height: 40px;
   border-radius: 8px;
   background: rgba(255, 255, 255, 0.05);
   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(--emerald-main);
   border-color: var(--emerald-neon);
   transform: translateY(-3px);
   box-shadow: 0 5px 15px var(--emerald-glow);
}

.f-title {
   font-size: 1.1rem;
   color: var(--text-pure);
   margin-bottom: 1.5rem;
}

.f-links li {
   margin-bottom: 1rem;
}

.f-links a {
   color: var(--text-muted);
   font-size: 0.95rem;
   transition: var(--transition-swift);
}

.f-links a:hover {
   color: var(--emerald-neon);
   padding-left: 5px;
}

.f-contact p {
   display: flex;
   align-items: center;
   gap: 10px;
   margin-bottom: 1rem;
   color: var(--text-mint);
   font-size: 0.95rem;
}

.footer-bottom {
   border-top: 1px solid var(--border-glass);
   padding-top: 2rem;
   text-align: center;
   color: var(--text-muted);
   font-size: 0.9rem;
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-hero {
   padding: 12rem 0 6rem;
   text-align: center;
   border-bottom: 1px solid var(--border-glass);
   background: radial-gradient(circle at top, rgba(16, 185, 129, 0.05), transparent 70%);
}

.legal-content {
   max-width: 850px;
   margin: 0 auto;
   padding: 6rem 5%;
}

.legal-content h2 {
   margin: 3rem 0 1.5rem;
   color: var(--emerald-neon);
   font-size: 1.8rem;
}

.legal-content p {
   color: var(--text-muted);
   font-size: 1.1rem;
   line-height: 1.8;
   margin-bottom: 1.5rem;
}

.legal-content ul {
   padding-left: 1.5rem;
   margin-bottom: 2rem;
}

.legal-content li {
   color: var(--text-muted);
   margin-bottom: 0.8rem;
   list-style-type: square;
}

/* ==========================================================================
   LIVE CHAT WIDGET
   ========================================================================== */
.chat-widget {
   position: fixed;
   bottom: 30px;
   right: 30px;
   z-index: 2000;
}

.chat-btn {
   width: 60px;
   height: 60px;
   border-radius: 50%;
   background: var(--emerald-main);
   color: var(--bg-void);
   font-size: 1.5rem;
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   box-shadow: 0 10px 25px var(--emerald-glow);
   transition: var(--transition-swift);
}

.chat-btn:hover {
   transform: scale(1.1);
   background: var(--emerald-neon);
}

.chat-window {
   position: absolute;
   bottom: 80px;
   right: 0;
   width: 340px;
   background: rgba(3, 18, 11, 0.95);
   backdrop-filter: blur(15px);
   border: 1px solid var(--border-emerald);
   border-radius: 16px;
   overflow: hidden;
   box-shadow: 0 20px 40px 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.05);
   border-bottom: 1px solid var(--border-glass);
   padding: 1.2rem;
   display: flex;
   justify-content: space-between;
   align-items: center;
}

.chat-top h4 {
   margin: 0;
   font-size: 1rem;
   color: var(--text-pure);
}

.chat-close {
   background: none;
   color: var(--text-pure);
   font-size: 1.5rem;
   cursor: pointer;
}

.chat-body {
   padding: 1.5rem;
   height: 280px;
   overflow-y: auto;
   display: flex;
   flex-direction: column;
   gap: 1rem;
}

.msg {
   padding: 1rem;
   border-radius: 12px;
   font-size: 0.95rem;
   max-width: 85%;
}

.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(16, 185, 129, 0.2);
   border: 1px solid var(--emerald-main);
   color: var(--emerald-neon);
   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: rgba(255, 255, 255, 0.05);
   border: 1px solid var(--border-glass);
   border-radius: 50px;
   padding: 0.7rem 1rem;
   color: var(--text-pure);
   outline: none;
}

.c-input:focus {
   border-color: var(--emerald-main);
}

.c-send {
   background: var(--emerald-main);
   color: var(--bg-void);
   width: 40px;
   height: 40px;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   font-weight: bold;
}

/* ==========================================================================
   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: 4rem;
   }

   .hero-grid,
   .calc-wrap,
   .contact-layout,
   .footer-grid {
      grid-template-columns: 1fr;
   }

   .quantum-wrapper {
      height: 350px;
   }

   .svc-grid,
   .ind-grid,
   .testi-grid {
      grid-template-columns: repeat(2, 1fr);
   }

   .calc-left,
   .calc-right,
   .contact-layout {
      padding: 3rem;
   }

   .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-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;
   }

   .metrics-flex {
      flex-direction: column;
   }

   .dash-tabs {
      flex-wrap: wrap;
   }

   .dash-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;
   }
}