/* ==========================================================================
   DIGITAL MARKETING V5 - HOLOGRAPHIC MATRIX THEME
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;600&family=Outfit:wght@300;400;600;800;900&display=swap');

:root {
   --bg-base: #060913;
   --bg-surface: #0f1528;
   --bg-glass: rgba(15, 21, 40, 0.6);
   --cyan: #00f0ff;
   --cyan-glow: rgba(0, 240, 255, 0.4);
   --coral: #ff4a5a;
   --coral-glow: rgba(255, 74, 90, 0.4);
   --text-main: #ffffff;
   --text-muted: #8b9bb4;
   --border-color: rgba(0, 240, 255, 0.15);

   --font-heading: 'Outfit', sans-serif;
   --font-mono: 'Fira Code', monospace;

   --transition-fast: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
   --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   RESET & TYPOGRAPHY
   ========================================================================== */
*,
*::before,
*::after {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

html {
   scroll-behavior: smooth;
   font-size: 16px;
   background: var(--bg-base);
}

body {
   font-family: var(--font-heading);
   color: var(--text-main);
   background-color: var(--bg-base);
   overflow-x: hidden;
   line-height: 1.6;
   background-image:
      radial-gradient(circle at 10% 20%, rgba(0, 240, 255, 0.05) 0%, transparent 40%),
      radial-gradient(circle at 90% 80%, rgba(255, 74, 90, 0.05) 0%, transparent 40%);
   background-attachment: fixed;
}

h1,
h2,
h3,
h4,
h5,
h6 {
   font-weight: 800;
   line-height: 1.1;
}

a {
   text-decoration: none;
   color: inherit;
}

ul {
   list-style: none;
}

img {
   max-width: 100%;
   display: block;
}

::selection {
   background: var(--cyan);
   color: var(--bg-base);
}

::-webkit-scrollbar {
   width: 6px;
}

::-webkit-scrollbar-track {
   background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
   background: var(--cyan);
   border-radius: 10px;
}

/* ==========================================================================
   GLOBAL HEADER (STRICTLY IDENTICAL ACCROSS ALL PAGES)
   ========================================================================== */
.site-header {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   z-index: 1000;
   background: rgba(6, 9, 19, 0.7);
   backdrop-filter: blur(20px);
   -webkit-backdrop-filter: blur(20px);
   border-bottom: 1px solid var(--border-color);
   transition: var(--transition-fast);
   padding: 1.2rem 0;
}

.site-header.scrolled {
   padding: 0.8rem 0;
   background: rgba(6, 9, 19, 0.95);
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.header-inner {
   max-width: 1400px;
   margin: 0 auto;
   padding: 0 2rem;
   display: flex;
   justify-content: space-between;
   align-items: center;
}

.logo-container img {
   height: 50px;
}

.nav-menu {
   display: flex;
   gap: 3rem;
   align-items: center;
}

.nav-menu li a {
   font-size: 1rem;
   font-weight: 600;
   color: var(--text-muted);
   transition: color var(--transition-fast);
   position: relative;
}

.nav-menu li a::after {
   content: '';
   position: absolute;
   bottom: -5px;
   left: 50%;
   transform: translateX(-50%);
   width: 0;
   height: 2px;
   background: var(--cyan);
   transition: width var(--transition-fast);
   box-shadow: 0 0 10px var(--cyan-glow);
}

.nav-menu li a:hover {
   color: var(--text-main);
}

.nav-menu li a:hover::after {
   width: 100%;
}

.btn-holographic {
   background: rgba(0, 240, 255, 0.1);
   color: var(--cyan) !important;
   border: 1px solid var(--cyan);
   padding: 0.6rem 1.8rem;
   border-radius: 4px;
   font-weight: 800;
   text-transform: uppercase;
   letter-spacing: 1px;
   position: relative;
   overflow: hidden;
   transition: var(--transition-fast);
   box-shadow: inset 0 0 10px var(--cyan-glow), 0 0 10px var(--cyan-glow);
}

.btn-holographic::before {
   content: '';
   position: absolute;
   top: 0;
   left: -100%;
   width: 100%;
   height: 100%;
   background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.4), transparent);
   transition: 0.5s;
}

.btn-holographic:hover {
   background: var(--cyan);
   color: var(--bg-base) !important;
   box-shadow: 0 0 20px var(--cyan-glow);
}

.btn-holographic:hover::before {
   left: 100%;
}

.btn-holographic::after {
   display: none !important;
}

.mobile-menu-btn {
   display: none;
   background: none;
   border: none;
   color: var(--cyan);
   font-size: 2rem;
   cursor: pointer;
}

/* ==========================================================================
   GLOBAL FOOTER (STRICTLY IDENTICAL ACCROSS ALL PAGES)
   ========================================================================== */
.site-footer {
   background: var(--bg-surface);
   border-top: 1px solid var(--border-color);
   padding: 6rem 0 2rem;
   position: relative;
}

.footer-mesh {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-image: radial-gradient(var(--border-color) 1px, transparent 1px);
   background-size: 30px 30px;
   opacity: 0.3;
   pointer-events: none;
}

.footer-grid {
   max-width: 1400px;
   margin: 0 auto;
   padding: 0 2rem;
   display: grid;
   grid-template-columns: 2fr 1fr 1fr 1.5fr;
   gap: 4rem;
   position: relative;
   z-index: 2;
}

.footer-brand img {
   height: 45px;
   margin-bottom: 1.5rem;
}

.footer-brand p {
   color: var(--text-muted);
   font-size: 1rem;
   line-height: 1.8;
   max-width: 350px;
}

.footer-col h4 {
   font-size: 1.2rem;
   text-transform: uppercase;
   letter-spacing: 2px;
   margin-bottom: 1.5rem;
   color: var(--text-main);
   display: inline-block;
   border-bottom: 2px solid var(--coral);
   padding-bottom: 5px;
}

.footer-col ul {
   display: flex;
   flex-direction: column;
   gap: 1rem;
}

.footer-col ul a {
   color: var(--text-muted);
   transition: var(--transition-fast);
}

.footer-col ul a:hover {
   color: var(--cyan);
   transform: translateX(5px);
   display: inline-block;
}

.footer-contact-list {
   display: flex;
   flex-direction: column;
   gap: 1.2rem;
}

.footer-contact-list p {
   display: flex;
   align-items: center;
   gap: 1rem;
   color: var(--text-muted);
   font-size: 1rem;
}

.footer-contact-list svg {
   width: 22px;
   height: 22px;
   fill: var(--cyan);
   flex-shrink: 0;
}

.footer-bottom {
   max-width: 1400px;
   margin: 4rem auto 0;
   padding: 2rem 2rem 0;
   border-top: 1px solid var(--border-color);
   display: flex;
   justify-content: space-between;
   align-items: center;
   color: var(--text-muted);
   font-size: 0.9rem;
   position: relative;
   z-index: 2;
}

.legal-links a {
   color: var(--text-muted);
   margin-left: 2rem;
   transition: var(--transition-fast);
}

.legal-links a:hover {
   color: var(--coral);
}

/* ==========================================================================
   REUSABLE SECTION COMPONENTS
   ========================================================================== */
.section-pad {
   padding: 8rem 0;
   position: relative;
   z-index: 2;
}

.container {
   max-width: 1400px;
   margin: 0 auto;
   padding: 0 2rem;
   position: relative;
}

.sec-title {
   text-align: center;
   margin-bottom: 5rem;
}

.sec-title h2 {
   font-size: 4rem;
   text-transform: uppercase;
   margin-bottom: 1rem;
   letter-spacing: 2px;
}

.sec-title h2 span {
   color: var(--coral);
   text-shadow: 0 0 20px var(--coral-glow);
}

.sec-title p {
   max-width: 650px;
   margin: 0 auto;
   font-size: 1.2rem;
   color: var(--text-muted);
}

/* ==========================================================================
   1. HERO SECTION (3D HOLOGRAPHIC FUNNEL)
   ========================================================================== */
.hero-section {
   min-height: 100vh;
   display: flex;
   align-items: center;
   padding-top: 5rem;
   overflow: hidden;
   position: relative;
}

.hero-grid {
   display: grid;
   grid-template-columns: 1.2fr 1fr;
   gap: 4rem;
   align-items: center;
}

.hero-content h1 {
   font-size: 5.5rem;
   line-height: 1.1;
   margin-bottom: 1.5rem;
   text-transform: uppercase;
   letter-spacing: -2px;
}

.hero-content h1 .stroke-text {
   color: transparent;
   -webkit-text-stroke: 2px var(--cyan);
   text-shadow: 0 0 20px var(--cyan-glow);
}

.hero-content p {
   font-size: 1.3rem;
   color: var(--text-muted);
   margin-bottom: 3rem;
   max-width: 550px;
}

.hero-btns {
   display: flex;
   gap: 1.5rem;
   align-items: center;
}

.btn-solid {
   background: var(--coral);
   color: #fff;
   padding: 1rem 2.5rem;
   font-weight: 800;
   text-transform: uppercase;
   letter-spacing: 1px;
   border-radius: 4px;
   box-shadow: 0 0 20px var(--coral-glow);
   transition: var(--transition-fast);
}

.btn-solid:hover {
   transform: translateY(-3px);
   box-shadow: 0 10px 30px var(--coral-glow);
}

/* CSS 3D Holographic Funnel */
.hero-visual {
   position: relative;
   height: 500px;
   perspective: 1200px;
   display: flex;
   justify-content: center;
   align-items: center;
}

.funnel-container {
   transform-style: preserve-3d;
   transform: rotateX(60deg) rotateZ(-30deg);
   animation: rotateFunnel 20s linear infinite;
}

.funnel-ring {
   position: absolute;
   border: 2px solid var(--cyan);
   border-radius: 50%;
   box-shadow: 0 0 20px var(--cyan-glow), inset 0 0 20px var(--cyan-glow);
   transform-style: preserve-3d;
}

.funnel-ring::after {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 240, 255, 0.05);
   border-radius: 50%;
}

.ring-1 {
   width: 400px;
   height: 400px;
   transform: translate(-50%, -50%) translateZ(150px);
}

.ring-2 {
   width: 300px;
   height: 300px;
   transform: translate(-50%, -50%) translateZ(50px);
   border-color: rgba(0, 240, 255, 0.6);
}

.ring-3 {
   width: 200px;
   height: 200px;
   transform: translate(-50%, -50%) translateZ(-50px);
   border-color: var(--coral);
   box-shadow: 0 0 20px var(--coral-glow), inset 0 0 20px var(--coral-glow);
}

.ring-4 {
   width: 100px;
   height: 100px;
   transform: translate(-50%, -50%) translateZ(-150px);
   background: var(--coral);
   box-shadow: 0 0 50px var(--coral);
}

.data-particle {
   position: absolute;
   width: 6px;
   height: 6px;
   background: #fff;
   border-radius: 50%;
   box-shadow: 0 0 10px #fff;
   animation: dropData 3s infinite linear;
}

.dp-1 {
   left: -100px;
   top: -100px;
   animation-delay: 0s;
}

.dp-2 {
   left: 100px;
   top: -50px;
   animation-delay: 1s;
}

.dp-3 {
   left: 0px;
   top: 150px;
   animation-delay: 2s;
}

/* ==========================================================================
   2. CLIENT MARQUEE
   ========================================================================== */
.marquee-section {
   border-y: 1px solid var(--border-color);
   background: var(--bg-surface);
   padding: 2rem 0;
   overflow: hidden;
}

.marquee-track {
   display: flex;
   width: max-content;
   animation: marqueeScroll 25s linear infinite;
}

.marquee-item {
   font-family: var(--font-mono);
   font-size: 1.5rem;
   color: var(--text-muted);
   margin: 0 4rem;
   opacity: 0.5;
   transition: var(--transition-fast);
}

.marquee-item:hover {
   opacity: 1;
   color: var(--cyan);
   text-shadow: 0 0 10px var(--cyan-glow);
}

/* ==========================================================================
   3. ABOUT / METRICS
   ========================================================================== */
.about-grid {
   display: grid;
   grid-template-columns: 1fr 1.2fr;
   gap: 5rem;
   align-items: center;
}

.metric-cards {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 2rem;
}

.m-card {
   background: var(--bg-glass);
   border: 1px solid var(--border-color);
   border-radius: 8px;
   padding: 3rem 2rem;
   text-align: center;
   backdrop-filter: blur(10px);
   position: relative;
   overflow: hidden;
}

.m-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 4px;
   background: var(--cyan);
   box-shadow: 0 0 15px var(--cyan-glow);
}

.m-card:nth-child(even)::before {
   background: var(--coral);
   box-shadow: 0 0 15px var(--coral-glow);
}

.m-num {
   font-size: 3.5rem;
   font-family: var(--font-mono);
   color: var(--text-main);
   margin-bottom: 0.5rem;
}

.m-label {
   color: var(--text-muted);
   font-size: 1.1rem;
   text-transform: uppercase;
   letter-spacing: 1px;
}

.about-text h3 {
   font-size: 3rem;
   margin-bottom: 1.5rem;
   text-transform: uppercase;
   line-height: 1.2;
}

.about-text p {
   font-size: 1.2rem;
   color: var(--text-muted);
   margin-bottom: 2rem;
}

.code-block {
   background: #000;
   border: 1px solid #333;
   padding: 1.5rem;
   border-radius: 8px;
   font-family: var(--font-mono);
   color: #00ff00;
   font-size: 0.9rem;
   position: relative;
}

.code-block::before {
   content: 'terminal ~ /ops/infrastructure';
   position: absolute;
   top: -10px;
   left: 15px;
   background: #000;
   padding: 0 10px;
   font-size: 0.8rem;
   color: #666;
}

/* ==========================================================================
   4. CORE SERVICES (3D TILT CARDS)
   ========================================================================== */
.services-section {
   background: var(--bg-surface);
}

.services-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
   gap: 3rem;
   perspective: 1000px;
}

.svc-card {
   background: var(--bg-base);
   border: 1px solid var(--border-color);
   padding: 4rem 3rem;
   border-radius: 12px;
   transform-style: preserve-3d;
   position: relative;
   transition: border-color var(--transition-fast);
}

/* Fallback for non-JS tilt */
.svc-card:hover {
   border-color: var(--cyan);
   box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 240, 255, 0.1);
}

.svc-icon {
   width: 70px;
   height: 70px;
   border-radius: 16px;
   background: rgba(0, 240, 255, 0.1);
   border: 1px solid var(--cyan);
   display: flex;
   justify-content: center;
   align-items: center;
   margin-bottom: 2rem;
   transform: translateZ(30px);
}

.svc-icon svg {
   width: 35px;
   height: 35px;
   fill: var(--cyan);
}

.svc-card h3 {
   font-size: 1.8rem;
   margin-bottom: 1rem;
   transform: translateZ(20px);
}

.svc-card p {
   color: var(--text-muted);
   margin-bottom: 2rem;
   transform: translateZ(10px);
}

.svc-link {
   color: var(--coral);
   font-family: var(--font-mono);
   font-weight: 600;
   text-transform: uppercase;
   font-size: 0.9rem;
   transform: translateZ(20px);
   display: inline-block;
}

/* ==========================================================================
   5. INTERACTIVE ROI CALCULATOR
   ========================================================================== */
.roi-section {
   border-y: 1px solid var(--border-color);
}

.roi-container {
   background: var(--bg-surface);
   border: 1px solid var(--border-color);
   border-radius: 16px;
   display: grid;
   grid-template-columns: 1.2fr 1fr;
   overflow: hidden;
   box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.roi-controls {
   padding: 4rem;
}

.slider-wrap {
   margin-bottom: 3rem;
}

.slider-head {
   display: flex;
   justify-content: space-between;
   margin-bottom: 1rem;
   font-family: var(--font-mono);
}

.slider-val {
   color: var(--cyan);
   font-size: 1.2rem;
}

input[type=range] {
   -webkit-appearance: none;
   width: 100%;
   height: 6px;
   background: var(--bg-base);
   border-radius: 3px;
   outline: none;
}

input[type=range]::-webkit-slider-thumb {
   -webkit-appearance: none;
   width: 24px;
   height: 24px;
   background: var(--cyan);
   border-radius: 50%;
   cursor: pointer;
   box-shadow: 0 0 15px var(--cyan-glow);
}

.roi-display {
   background: var(--bg-base);
   padding: 4rem;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   text-align: center;
   border-left: 1px solid var(--border-color);
   position: relative;
}

.roi-display::before {
   content: '';
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   width: 300px;
   height: 300px;
   background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
   opacity: 0.2;
   pointer-events: none;
}

.roi-display h4 {
   color: var(--text-muted);
   text-transform: uppercase;
   letter-spacing: 2px;
   margin-bottom: 1rem;
}

.output-val {
   font-size: 5rem;
   font-family: var(--font-mono);
   color: var(--text-main);
   text-shadow: 0 0 30px var(--cyan-glow);
   margin-bottom: 1rem;
   line-height: 1;
}

.output-tag {
   background: rgba(255, 74, 90, 0.1);
   color: var(--coral);
   border: 1px solid var(--coral);
   padding: 0.5rem 1.5rem;
   border-radius: 30px;
   font-weight: 800;
   font-size: 0.9rem;
   text-transform: uppercase;
}

/* ==========================================================================
   6. CSS DATA DASHBOARD MOCKUP
   ========================================================================== */
.dash-section {
   background: var(--bg-surface);
}

.dash-mockup {
   background: var(--bg-base);
   border: 1px solid var(--border-color);
   border-radius: 12px;
   overflow: hidden;
   box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.dash-nav {
   background: var(--bg-surface);
   padding: 15px 20px;
   display: flex;
   gap: 8px;
   border-bottom: 1px solid var(--border-color);
}

.dash-dot {
   width: 12px;
   height: 12px;
   border-radius: 50%;
   background: #333;
}

.dash-dot.r {
   background: #ff5f56;
}

.dash-dot.y {
   background: #ffbd2e;
}

.dash-dot.g {
   background: #27c93f;
}

.dash-body {
   padding: 3rem;
}

.kpi-grid {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 2rem;
   margin-bottom: 4rem;
}

.kpi-box {
   padding: 1.5rem;
   border-left: 3px solid var(--cyan);
   background: linear-gradient(90deg, rgba(0, 240, 255, 0.05), transparent);
}

.kpi-box span {
   display: block;
   color: var(--text-muted);
   font-size: 0.9rem;
   text-transform: uppercase;
   margin-bottom: 10px;
}

.kpi-box strong {
   font-size: 2.2rem;
   font-family: var(--font-mono);
   color: var(--text-main);
}

.kpi-box .t-up {
   color: var(--cyan);
   font-size: 0.9rem;
   margin-left: 10px;
}

/* Pure CSS Radial Chart & Wave Graph */
.visuals-grid {
   display: grid;
   grid-template-columns: 1fr 2fr;
   gap: 3rem;
   align-items: center;
}

.radial-chart {
   position: relative;
   width: 200px;
   height: 200px;
   border-radius: 50%;
   background: conic-gradient(var(--coral) 0% 75%, var(--bg-surface) 75% 100%);
   display: flex;
   justify-content: center;
   align-items: center;
   margin: 0 auto;
   box-shadow: 0 0 30px rgba(255, 74, 90, 0.2);
}

.radial-inner {
   width: 160px;
   height: 160px;
   background: var(--bg-base);
   border-radius: 50%;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
}

.radial-inner h3 {
   font-size: 2.5rem;
   font-family: var(--font-mono);
}

.radial-inner span {
   color: var(--text-muted);
   font-size: 0.9rem;
   text-transform: uppercase;
}

.css-wave-graph {
   height: 200px;
   position: relative;
   border-bottom: 1px solid var(--border-color);
   border-left: 1px solid var(--border-color);
   display: flex;
   align-items: flex-end;
   padding: 0 20px;
   justify-content: space-between;
}

.wave-bar {
   width: 40px;
   background: linear-gradient(180deg, var(--cyan), transparent);
   border-top: 2px solid var(--cyan);
   border-radius: 4px 4px 0 0;
   opacity: 0;
   animation: riseUp 1s forwards;
}

.wave-bar:nth-child(1) {
   height: 30%;
   animation-delay: 0.1s;
}

.wave-bar:nth-child(2) {
   height: 50%;
   animation-delay: 0.2s;
}

.wave-bar:nth-child(3) {
   height: 40%;
   animation-delay: 0.3s;
}

.wave-bar:nth-child(4) {
   height: 70%;
   animation-delay: 0.4s;
}

.wave-bar:nth-child(5) {
   height: 60%;
   animation-delay: 0.5s;
}

.wave-bar:nth-child(6) {
   height: 90%;
   animation-delay: 0.6s;
}

.wave-bar:nth-child(7) {
   height: 100%;
   background: linear-gradient(180deg, var(--coral), transparent);
   border-color: var(--coral);
   animation-delay: 0.7s;
   box-shadow: 0 0 20px var(--coral-glow);
}

/* ==========================================================================
   7. INDUSTRIES (NEON GRID)
   ========================================================================== */
.ind-section {
   border-y: 1px solid var(--border-color);
}

.ind-grid {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 1px;
   background: var(--border-color);
   border: 1px solid var(--border-color);
}

.ind-cell {
   background: var(--bg-base);
   padding: 4rem 2rem;
   text-align: center;
   transition: var(--transition-fast);
}

.ind-cell:hover {
   background: var(--bg-surface);
   transform: scale(1.05);
   z-index: 2;
   box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
}

.ind-icon {
   width: 50px;
   height: 50px;
   fill: var(--cyan);
   margin-bottom: 1.5rem;
}

.ind-cell h4 {
   font-size: 1.3rem;
   margin-bottom: 1rem;
   text-transform: uppercase;
}

.ind-cell p {
   color: var(--text-muted);
   font-size: 0.95rem;
}

/* ==========================================================================
   8. PROCESS TIMELINE
   ========================================================================== */
.process-section {
   background: var(--bg-surface);
}

.process-grid {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 3rem;
}

.p-step {
   position: relative;
}

.p-step::before {
   content: '';
   position: absolute;
   top: 30px;
   left: 60px;
   width: calc(100% + 3rem);
   height: 2px;
   background: dashed 2px var(--border-color);
   z-index: 0;
}

.p-step:last-child::before {
   display: none;
}

.p-num {
   width: 60px;
   height: 60px;
   background: var(--bg-base);
   border: 2px solid var(--cyan);
   border-radius: 50%;
   display: flex;
   justify-content: center;
   align-items: center;
   font-family: var(--font-mono);
   font-size: 1.5rem;
   color: var(--cyan);
   position: relative;
   z-index: 2;
   margin-bottom: 2rem;
   box-shadow: 0 0 15px var(--cyan-glow);
}

.p-step h4 {
   font-size: 1.5rem;
   margin-bottom: 1rem;
}

.p-step p {
   color: var(--text-muted);
   font-size: 1rem;
}

/* ==========================================================================
   9. TESTIMONIALS (GLASSMORPHISM)
   ========================================================================== */
.testi-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 3rem;
}

.testi-card {
   background: var(--bg-glass);
   backdrop-filter: blur(10px);
   border: 1px solid var(--border-color);
   padding: 3rem;
   border-radius: 12px;
   position: relative;
   transition: var(--transition-fast);
}

.testi-card:hover {
   border-color: var(--coral);
   box-shadow: 0 10px 30px var(--coral-glow);
   transform: translateY(-10px);
}

.quote-mark {
   position: absolute;
   top: 20px;
   right: 20px;
   font-family: serif;
   font-size: 5rem;
   color: rgba(255, 255, 255, 0.05);
   line-height: 1;
}

.testi-text {
   font-size: 1.1rem;
   color: var(--text-muted);
   margin-bottom: 2rem;
   position: relative;
   z-index: 2;
}

.testi-author {
   display: flex;
   align-items: center;
   gap: 1rem;
   border-top: 1px solid rgba(255, 255, 255, 0.05);
   padding-top: 1.5rem;
}

.author-img {
   width: 50px;
   height: 50px;
   background: var(--bg-surface);
   border-radius: 50%;
   border: 1px solid var(--cyan);
}

.author-info h5 {
   font-size: 1.1rem;
}

.author-info span {
   font-size: 0.85rem;
   font-family: var(--font-mono);
   color: var(--cyan);
}

/* ==========================================================================
   10. GLOBAL CTA
   ========================================================================== */
.cta-section {
   padding: 10rem 0;
   text-align: center;
   border-top: 1px solid var(--border-color);
   background: radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.1) 0%, var(--bg-base) 60%);
}

.cta-content {
   max-width: 800px;
   margin: 0 auto;
}

.cta-content h2 {
   font-size: 4.5rem;
   text-transform: uppercase;
   margin-bottom: 1.5rem;
}

/* ==========================================================================
   CONTACT PAGE SPECIFIC
   ========================================================================== */
.page-hero {
   padding: 12rem 0 6rem;
   text-align: center;
   background: var(--bg-surface);
   border-bottom: 1px solid var(--border-color);
}

.page-hero h1 {
   font-size: 5rem;
   margin-bottom: 1.5rem;
   text-transform: uppercase;
}

.contact-layout {
   display: grid;
   grid-template-columns: 1fr 1.5fr;
   gap: 4rem;
   margin-top: -3rem;
   position: relative;
   z-index: 10;
   margin-bottom: 8rem;
}

.contact-info-panel {
   background: var(--bg-glass);
   backdrop-filter: blur(20px);
   border: 1px solid var(--border-color);
   padding: 4rem;
   border-radius: 12px;
   box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.contact-info-panel h3 {
   font-size: 2.5rem;
   margin-bottom: 2.5rem;
   color: var(--cyan);
   text-transform: uppercase;
}

.c-item {
   display: flex;
   gap: 1.5rem;
   margin-bottom: 2.5rem;
}

.c-item svg {
   width: 30px;
   height: 30px;
   fill: var(--coral);
   flex-shrink: 0;
}

.c-text h5 {
   font-size: 1.1rem;
   font-family: var(--font-mono);
   color: var(--text-muted);
   margin-bottom: 0.5rem;
   text-transform: uppercase;
}

.c-text p {
   font-size: 1.2rem;
   color: var(--text-main);
}

.contact-form-panel {
   background: var(--bg-base);
   padding: 4rem;
   border-radius: 12px;
   border: 1px solid var(--border-color);
   box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.form-row {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 2rem;
   margin-bottom: 2rem;
}

.form-full {
   grid-column: 1 / -1;
}

.input-group {
   display: flex;
   flex-direction: column;
   gap: 0.5rem;
}

.input-group label {
   font-size: 0.9rem;
   font-family: var(--font-mono);
   color: var(--text-muted);
   text-transform: uppercase;
}

.input-group input,
.input-group select,
.input-group textarea {
   background: var(--bg-surface);
   border: 1px solid var(--border-color);
   padding: 1.2rem;
   color: var(--text-main);
   font-family: var(--font-heading);
   font-size: 1rem;
   border-radius: 4px;
   transition: var(--transition-fast);
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
   outline: none;
   border-color: var(--cyan);
   box-shadow: 0 0 15px var(--cyan-glow);
}

.input-group select option {
   background: var(--bg-base);
}

.submit-btn {
   width: 100%;
   border: none;
   cursor: pointer;
   padding: 1.5rem;
   font-size: 1.2rem;
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-wrapper {
   max-width: 900px;
   margin: 4rem auto 8rem;
   padding: 5rem;
   background: var(--bg-surface);
   border: 1px solid var(--border-color);
   border-radius: 12px;
}

.legal-wrapper h2 {
   font-size: 2.2rem;
   margin: 3rem 0 1.5rem;
   color: var(--cyan);
   text-transform: uppercase;
}

.legal-wrapper p {
   font-size: 1.1rem;
   color: var(--text-muted);
   margin-bottom: 1.5rem;
}

.legal-wrapper ul {
   margin-left: 2rem;
   margin-bottom: 1.5rem;
   color: var(--text-muted);
   font-size: 1.1rem;
}

.legal-wrapper li {
   margin-bottom: 0.8rem;
}

/* ==========================================================================
   LIVE CHAT WIDGET
   ========================================================================== */
.chat-widget {
   position: fixed;
   bottom: 30px;
   right: 30px;
   z-index: 9999;
}

.chat-btn {
   width: 65px;
   height: 65px;
   background: var(--bg-base);
   border: 2px solid var(--cyan);
   border-radius: 50%;
   display: flex;
   justify-content: center;
   align-items: center;
   cursor: pointer;
   box-shadow: 0 0 20px var(--cyan-glow);
   color: var(--cyan);
   transition: var(--transition-fast);
}

.chat-btn:hover {
   background: var(--cyan);
   color: var(--bg-base);
   transform: scale(1.1);
}

.chat-btn svg {
   width: 30px;
   height: 30px;
   fill: currentColor;
}

.chat-window {
   position: absolute;
   bottom: 85px;
   right: 0;
   width: 380px;
   background: var(--bg-surface);
   border: 1px solid var(--border-color);
   border-radius: 12px;
   overflow: hidden;
   box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
   opacity: 0;
   pointer-events: none;
   transform: translateY(20px);
   transition: var(--transition-fast);
}

.chat-window.active {
   opacity: 1;
   pointer-events: all;
   transform: translateY(0);
}

.chat-top {
   background: var(--bg-base);
   padding: 1.5rem;
   display: flex;
   justify-content: space-between;
   align-items: center;
   border-bottom: 1px solid var(--border-color);
}

.chat-top h4 {
   font-family: var(--font-mono);
   font-size: 1rem;
   color: var(--cyan);
}

.chat-close {
   background: none;
   border: none;
   color: var(--text-muted);
   font-size: 1.5rem;
   cursor: pointer;
}

.chat-msgs {
   height: 350px;
   padding: 1.5rem;
   overflow-y: auto;
   display: flex;
   flex-direction: column;
   gap: 1rem;
}

.msg {
   max-width: 85%;
   padding: 1rem;
   border-radius: 8px;
   font-size: 0.95rem;
}

.msg-bot {
   background: var(--bg-base);
   border: 1px solid var(--border-color);
   align-self: flex-start;
}

.msg-user {
   background: rgba(255, 74, 90, 0.2);
   border: 1px solid var(--coral);
   align-self: flex-end;
}

.chat-input {
   display: flex;
   border-top: 1px solid var(--border-color);
}

.chat-input input {
   flex: 1;
   background: var(--bg-base);
   border: none;
   padding: 1.2rem;
   color: var(--text-main);
   outline: none;
   font-family: var(--font-heading);
}

.chat-input button {
   background: var(--cyan);
   color: var(--bg-base);
   border: none;
   padding: 0 1.5rem;
   font-weight: 800;
   cursor: pointer;
}

/* ==========================================================================
   ANIMATIONS & RESPONSIVE
   ========================================================================== */
@keyframes rotateFunnel {
   0% {
      transform: rotateX(60deg) rotateZ(0deg);
   }

   100% {
      transform: rotateX(60deg) rotateZ(360deg);
   }
}

@keyframes dropData {
   0% {
      transform: translateZ(200px);
      opacity: 0;
   }

   50% {
      opacity: 1;
   }

   100% {
      transform: translateZ(-200px);
      opacity: 0;
   }
}

@keyframes marqueeScroll {
   0% {
      transform: translateX(0);
   }

   100% {
      transform: translateX(-50%);
   }
}

@keyframes riseUp {
   to {
      opacity: 1;
   }
}

.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) {

   .hero-grid,
   .about-grid,
   .roi-container,
   .visuals-grid,
   .contact-layout {
      grid-template-columns: 1fr;
      gap: 4rem;
   }

   .hero-content h1 {
      font-size: 4rem;
   }

   .hero-visual {
      height: 400px;
   }

   .kpi-grid,
   .ind-grid {
      grid-template-columns: repeat(2, 1fr);
   }

   .process-grid,
   .testi-grid {
      grid-template-columns: repeat(2, 1fr);
   }

   .p-step::before {
      display: none;
   }

   .footer-grid {
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
   }

   .contact-layout {
      margin-top: 0;
   }
}

@media (max-width: 768px) {
   .nav-menu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background: var(--bg-surface);
      flex-direction: column;
      padding: 2rem;
      border-bottom: 1px solid var(--border-color);
   }

   .nav-menu.show {
      display: flex;
   }

   .mobile-menu-btn {
      display: block;
   }

   .sec-title h2 {
      font-size: 2.8rem;
   }

   .metric-cards,
   .kpi-grid,
   .ind-grid,
   .process-grid,
   .testi-grid,
   .form-row,
   .footer-grid {
      grid-template-columns: 1fr;
   }

   .roi-controls,
   .roi-display {
      padding: 2rem;
   }

   .output-val {
      font-size: 4rem;
   }
}