/* ==========================================================================
   DIGITAL MARKETING V4 - QUANTUM DARK THEME
   ========================================================================== */
:root {
   --bg-deep: #050507;
   --bg-panel: #0d0e15;
   --bg-panel-light: #161824;
   --primary-violet: #7c3aed;
   --primary-glow: rgba(124, 58, 237, 0.4);
   --accent-emerald: #10b981;
   --accent-glow: rgba(16, 185, 129, 0.4);
   --text-main: #f8fafc;
   --text-muted: #94a3b8;
   --border-subtle: rgba(255, 255, 255, 0.08);
   --border-focus: rgba(124, 58, 237, 0.5);

   --font-heading: 'Space Grotesk', 'Syncopate', system-ui, sans-serif;
   --font-body: 'Inter', system-ui, sans-serif;

   --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
   --transition-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
   --z-header: 1000;
   --z-chat: 9999;
}

/* ==========================================================================
   RESET & TYPOGRAPHY
   ========================================================================== */
*,
*::before,
*::after {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

html {
   scroll-behavior: smooth;
   font-size: 16px;
   background-color: var(--bg-deep);
}

body {
   font-family: var(--font-body);
   color: var(--text-main);
   background-color: var(--bg-deep);
   overflow-x: hidden;
   line-height: 1.7;
   background-image:
      radial-gradient(circle at 15% 50%, rgba(124, 58, 237, 0.05), transparent 25%),
      radial-gradient(circle at 85% 30%, rgba(16, 185, 129, 0.03), transparent 25%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
   font-family: var(--font-heading);
   font-weight: 700;
   line-height: 1.2;
   letter-spacing: -0.02em;
}

a {
   text-decoration: none;
   color: inherit;
   transition: var(--transition-fast);
}

ul {
   list-style: none;
}

img {
   max-width: 100%;
   display: block;
}

/* Custom Selection & Scrollbar */
::selection {
   background: var(--primary-violet);
   color: #fff;
}

::-webkit-scrollbar {
   width: 8px;
}

::-webkit-scrollbar-track {
   background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
   background: var(--bg-panel-light);
   border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
   background: var(--primary-violet);
}

/* Custom Cyber Cursor */
.cyber-cursor {
   position: fixed;
   top: 0;
   left: 0;
   width: 20px;
   height: 20px;
   border: 2px solid var(--accent-emerald);
   border-radius: 50%;
   transform: translate(-50%, -50%);
   pointer-events: none;
   z-index: 10000;
   transition: width 0.2s, height 0.2s, background-color 0.2s;
   mix-blend-mode: difference;
}

.cyber-cursor-dot {
   position: fixed;
   top: 0;
   left: 0;
   width: 4px;
   height: 4px;
   background: var(--primary-violet);
   border-radius: 50%;
   transform: translate(-50%, -50%);
   pointer-events: none;
   z-index: 10000;
}

/* ==========================================================================
   GLOBAL HEADER (STRICTLY IDENTICAL ACCROSS ALL PAGES)
   ========================================================================== */
.site-header {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   z-index: var(--z-header);
   background: rgba(5, 5, 7, 0.8);
   backdrop-filter: blur(16px);
   -webkit-backdrop-filter: blur(16px);
   border-bottom: 1px solid var(--border-subtle);
   transition: var(--transition-smooth);
}

.site-header.scrolled {
   background: rgba(5, 5, 7, 0.95);
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
   padding: 0.5rem 0;
}

.header-wrapper {
   max-width: 1440px;
   margin: 0 auto;
   padding: 1.2rem 2rem;
   display: flex;
   justify-content: space-between;
   align-items: center;
   transition: var(--transition-smooth);
}

.site-header.scrolled .header-wrapper {
   padding: 0.8rem 2rem;
}

.logo-container img {
   height: 50px;
   transition: var(--transition-fast);
}

.main-nav {
   display: flex;
   gap: 3rem;
   align-items: center;
}

.main-nav li a {
   font-size: 0.95rem;
   font-weight: 500;
   text-transform: uppercase;
   letter-spacing: 1.5px;
   position: relative;
   padding: 0.5rem 0;
   color: var(--text-muted);
}

.main-nav li a::before {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0;
   width: 0;
   height: 2px;
   background: var(--primary-violet);
   transition: var(--transition-fast);
   box-shadow: 0 0 10px var(--primary-glow);
}

.main-nav li a:hover {
   color: var(--text-main);
}

.main-nav li a:hover::before {
   width: 100%;
}

.btn-neon {
   background: transparent;
   color: var(--text-main);
   padding: 0.8rem 2rem;
   font-family: var(--font-heading);
   font-weight: 700;
   text-transform: uppercase;
   letter-spacing: 1px;
   border: 1px solid var(--primary-violet);
   border-radius: 4px;
   position: relative;
   overflow: hidden;
   z-index: 1;
   transition: var(--transition-fast);
   box-shadow: 0 0 15px rgba(124, 58, 237, 0.2), inset 0 0 15px rgba(124, 58, 237, 0.1);
}

.btn-neon::before {
   content: '';
   position: absolute;
   top: 0;
   left: -100%;
   width: 100%;
   height: 100%;
   background: var(--primary-violet);
   z-index: -1;
   transition: var(--transition-smooth);
}

.btn-neon:hover {
   color: #fff;
   box-shadow: 0 0 25px var(--primary-glow);
   border-color: transparent;
}

.btn-neon:hover::before {
   left: 0;
}

.mobile-menu-btn {
   display: none;
   background: none;
   border: none;
   color: var(--text-main);
   font-size: 2rem;
   cursor: pointer;
}

/* ==========================================================================
   GLOBAL FOOTER (STRICTLY IDENTICAL ACCROSS ALL PAGES)
   ========================================================================== */
.site-footer {
   background: var(--bg-panel);
   border-top: 1px solid var(--border-subtle);
   padding: 6rem 0 2rem;
   position: relative;
   overflow: hidden;
}

.site-footer::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 2px;
   background: linear-gradient(90deg, transparent, var(--primary-violet), var(--accent-emerald), transparent);
}

.footer-wrapper {
   max-width: 1440px;
   margin: 0 auto;
   padding: 0 2rem;
   display: grid;
   grid-template-columns: 2fr 1fr 1fr 1.5fr;
   gap: 4rem;
}

.footer-brand img {
   height: 45px;
   margin-bottom: 1.5rem;
}

.footer-brand p {
   color: var(--text-muted);
   font-size: 0.95rem;
   line-height: 1.8;
   max-width: 350px;
}

.footer-col h4 {
   font-family: var(--font-heading);
   font-size: 1.1rem;
   text-transform: uppercase;
   letter-spacing: 2px;
   margin-bottom: 1.5rem;
   color: var(--text-main);
}

.footer-col ul {
   display: flex;
   flex-direction: column;
   gap: 1rem;
}

.footer-col ul a {
   color: var(--text-muted);
   display: inline-block;
   transition: var(--transition-fast);
}

.footer-col ul a:hover {
   color: var(--accent-emerald);
   transform: translateX(5px);
}

.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: 0.95rem;
}

.footer-contact-list svg {
   width: 20px;
   height: 20px;
   fill: var(--primary-violet);
   flex-shrink: 0;
}

.footer-bottom {
   max-width: 1440px;
   margin: 4rem auto 0;
   padding: 2rem 2rem 0;
   border-top: 1px solid var(--border-subtle);
   display: flex;
   justify-content: space-between;
   align-items: center;
   color: var(--text-muted);
   font-size: 0.85rem;
}

.legal-links a {
   color: var(--text-muted);
   margin-left: 2rem;
   transition: var(--transition-fast);
}

.legal-links a:hover {
   color: var(--primary-violet);
}

/* ==========================================================================
   GLOBAL SECTION STYLING
   ========================================================================== */
.section-pad {
   padding: 8rem 0;
   position: relative;
   z-index: 2;
}

.container {
   max-width: 1440px;
   margin: 0 auto;
   padding: 0 2rem;
}

.section-header {
   text-align: center;
   margin-bottom: 5rem;
}

.section-header h2 {
   font-size: 3.5rem;
   margin-bottom: 1.5rem;
   text-transform: uppercase;
}

.section-header h2 span {
   color: transparent;
   -webkit-text-stroke: 1px var(--primary-violet);
   background: linear-gradient(90deg, var(--primary-violet), var(--accent-emerald));
   -webkit-background-clip: text;
}

.section-header p {
   max-width: 700px;
   margin: 0 auto;
   font-size: 1.15rem;
   color: var(--text-muted);
}

/* ==========================================================================
   1. HERO SECTION (QUANTUM 3D GRID)
   ========================================================================== */
.hero-section {
   min-height: 100vh;
   display: flex;
   align-items: center;
   padding-top: 6rem;
   position: relative;
   overflow: hidden;
}

.hero-bg-grid {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-size: 50px 50px;
   background-image: linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
   transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
   animation: gridMove 20s linear infinite;
   z-index: 0;
}

.hero-content-grid {
   display: grid;
   grid-template-columns: 1.2fr 1fr;
   gap: 4rem;
   align-items: center;
   position: relative;
   z-index: 2;
}

.hero-text h1 {
   font-size: 5rem;
   line-height: 1.05;
   margin-bottom: 1.5rem;
   text-transform: uppercase;
}

.hero-text h1 .glitch-text {
   position: relative;
   display: inline-block;
   color: var(--primary-violet);
   text-shadow: 0 0 20px var(--primary-glow);
}

.hero-text p {
   font-size: 1.25rem;
   color: var(--text-muted);
   margin-bottom: 3rem;
   max-width: 550px;
}

.hero-actions {
   display: flex;
   gap: 1.5rem;
   align-items: center;
}

.btn-ghost {
   color: var(--text-main);
   font-weight: 700;
   text-transform: uppercase;
   letter-spacing: 1px;
   border-bottom: 2px solid var(--accent-emerald);
   padding-bottom: 5px;
   transition: var(--transition-fast);
}

.btn-ghost:hover {
   color: var(--accent-emerald);
   text-shadow: 0 0 10px var(--accent-glow);
}

/* 3D Floating Data Nodes */
.hero-visual {
   position: relative;
   height: 500px;
   perspective: 1000px;
}

.data-node {
   position: absolute;
   background: rgba(22, 24, 36, 0.8);
   border: 1px solid var(--border-focus);
   backdrop-filter: blur(10px);
   border-radius: 12px;
   padding: 2rem;
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(124, 58, 237, 0.1);
   transform-style: preserve-3d;
}

.node-1 {
   top: 10%;
   right: 10%;
   width: 280px;
   animation: floatNode 6s ease-in-out infinite;
}

.node-2 {
   bottom: 10%;
   left: 0;
   width: 320px;
   animation: floatNode 8s ease-in-out infinite reverse;
   border-color: rgba(16, 185, 129, 0.5);
}

.node-title {
   font-family: var(--font-heading);
   font-size: 0.9rem;
   color: var(--text-muted);
   text-transform: uppercase;
   letter-spacing: 1px;
   margin-bottom: 10px;
}

.node-value {
   font-size: 2.5rem;
   font-weight: 700;
   color: var(--text-main);
   font-family: var(--font-heading);
   text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.node-trend {
   color: var(--accent-emerald);
   font-size: 0.9rem;
   font-weight: 700;
   display: flex;
   align-items: center;
   gap: 5px;
   margin-top: 5px;
}

/* ==========================================================================
   2. CLIENT LOGO MARQUEE
   ========================================================================== */
.marquee-wrapper {
   border-y: 1px solid var(--border-subtle);
   background: var(--bg-panel);
   padding: 3rem 0;
   overflow: hidden;
   display: flex;
}

.marquee-track {
   display: flex;
   min-width: 200%;
   animation: slideMarquee 30s linear infinite;
}

.marquee-item {
   font-family: var(--font-heading);
   font-size: 2rem;
   color: rgba(255, 255, 255, 0.05);
   margin: 0 4rem;
   text-transform: uppercase;
   font-weight: 900;
   letter-spacing: 3px;
   -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   3. THE QUANTUM ADVANTAGE (ABOUT & STATS)
   ========================================================================== */
.about-section {
   background: var(--bg-deep);
}

.about-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 5rem;
   align-items: center;
}

.stat-card-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 2rem;
}

.stat-card {
   background: var(--bg-panel);
   border: 1px solid var(--border-subtle);
   border-radius: 8px;
   padding: 3rem 2rem;
   text-align: center;
   transition: var(--transition-smooth);
}

.stat-card:hover {
   transform: translateY(-10px);
   border-color: var(--primary-violet);
   box-shadow: 0 10px 30px var(--primary-glow);
}

.stat-num {
   font-size: 3.5rem;
   font-family: var(--font-heading);
   color: var(--text-main);
   margin-bottom: 0.5rem;
}

.stat-card:nth-child(2) .stat-num {
   color: var(--accent-emerald);
}

.stat-label {
   color: var(--text-muted);
   font-size: 1rem;
   text-transform: uppercase;
   letter-spacing: 1px;
}

.about-content h3 {
   font-size: 2.5rem;
   margin-bottom: 1.5rem;
   text-transform: uppercase;
}

.about-content p {
   color: var(--text-muted);
   font-size: 1.1rem;
   margin-bottom: 2rem;
}

.feature-list li {
   display: flex;
   align-items: flex-start;
   gap: 1rem;
   margin-bottom: 1.5rem;
}

.feature-icon {
   width: 24px;
   height: 24px;
   fill: var(--primary-violet);
   margin-top: 3px;
}

.feature-text h5 {
   font-size: 1.1rem;
   color: var(--text-main);
   margin-bottom: 0.3rem;
}

.feature-text p {
   color: var(--text-muted);
   font-size: 0.95rem;
}

/* ==========================================================================
   4. CORE SERVICES (HOVER-GLOW CARDS)
   ========================================================================== */
.services-section {
   background: var(--bg-panel);
}

.services-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
   gap: 2.5rem;
}

.svc-card {
   background: var(--bg-deep);
   border: 1px solid var(--border-subtle);
   border-radius: 12px;
   padding: 3.5rem 2.5rem;
   position: relative;
   overflow: hidden;
   transition: var(--transition-smooth);
   cursor: pointer;
}

.svc-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.15), transparent 70%);
   opacity: 0;
   transition: var(--transition-smooth);
   z-index: 1;
}

.svc-card:hover {
   transform: translateY(-10px);
   border-color: rgba(124, 58, 237, 0.5);
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.svc-card:hover::before {
   opacity: 1;
}

.svc-icon {
   width: 60px;
   height: 60px;
   background: rgba(255, 255, 255, 0.03);
   border: 1px solid var(--border-subtle);
   border-radius: 12px;
   display: flex;
   justify-content: center;
   align-items: center;
   margin-bottom: 2rem;
   position: relative;
   z-index: 2;
   transition: var(--transition-fast);
}

.svc-icon svg {
   width: 30px;
   height: 30px;
   fill: var(--text-main);
   transition: var(--transition-fast);
}

.svc-card:hover .svc-icon {
   border-color: var(--primary-violet);
   background: var(--primary-violet);
}

.svc-card:hover .svc-icon svg {
   fill: #fff;
}

.svc-card h3 {
   font-size: 1.5rem;
   margin-bottom: 1rem;
   position: relative;
   z-index: 2;
}

.svc-card p {
   color: var(--text-muted);
   position: relative;
   z-index: 2;
   margin-bottom: 2rem;
}

.svc-btn {
   color: var(--primary-violet);
   font-weight: 700;
   text-transform: uppercase;
   letter-spacing: 1px;
   font-size: 0.9rem;
   position: relative;
   z-index: 2;
}

/* ==========================================================================
   5. LIVE CAMPAIGN DASHBOARD (CSS TABS & GRAPHS)
   ========================================================================== */
.dashboard-section {
   background: var(--bg-deep);
}

.dash-container {
   background: var(--bg-panel-light);
   border: 1px solid var(--border-subtle);
   border-radius: 16px;
   box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
   overflow: hidden;
}

.dash-header {
   background: rgba(0, 0, 0, 0.3);
   padding: 1.5rem 2rem;
   display: flex;
   gap: 2rem;
   border-bottom: 1px solid var(--border-subtle);
}

.dash-tab {
   background: none;
   border: none;
   color: var(--text-muted);
   font-family: var(--font-heading);
   font-size: 1.1rem;
   text-transform: uppercase;
   cursor: pointer;
   padding-bottom: 5px;
   position: relative;
   transition: var(--transition-fast);
}

.dash-tab.active {
   color: var(--text-main);
}

.dash-tab.active::after {
   content: '';
   position: absolute;
   bottom: -1.5rem;
   left: 0;
   width: 100%;
   height: 2px;
   background: var(--accent-emerald);
   box-shadow: 0 0 10px var(--accent-glow);
}

.dash-content {
   padding: 3rem;
   display: none;
}

.dash-content.active {
   display: block;
   animation: fadeUp 0.5s ease forwards;
}

.metrics-grid {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 2rem;
   margin-bottom: 3rem;
}

.metric-box {
   background: var(--bg-deep);
   border: 1px solid var(--border-subtle);
   border-radius: 8px;
   padding: 1.5rem;
}

.metric-box span {
   display: block;
   color: var(--text-muted);
   font-size: 0.85rem;
   text-transform: uppercase;
   letter-spacing: 1px;
   margin-bottom: 0.5rem;
}

.metric-box strong {
   font-size: 2rem;
   font-family: var(--font-heading);
   color: var(--text-main);
}

.trend {
   font-size: 0.9rem;
   margin-left: 10px;
   font-family: var(--font-body);
}

.trend.pos {
   color: var(--accent-emerald);
}

.trend.neg {
   color: #ef4444;
}

/* CSS Bar Chart */
.bar-chart {
   height: 250px;
   border-bottom: 1px solid var(--border-subtle);
   border-left: 1px solid var(--border-subtle);
   display: flex;
   align-items: flex-end;
   justify-content: space-between;
   padding: 0 20px;
   gap: 20px;
}

.bar {
   flex: 1;
   background: linear-gradient(180deg, var(--primary-violet), transparent);
   border-top: 2px solid var(--primary-violet);
   border-radius: 4px 4px 0 0;
   position: relative;
   transition: height 1s cubic-bezier(0.4, 0, 0.2, 1);
   opacity: 0;
   animation: showBar 1s forwards;
}

.bar:nth-child(even) {
   background: linear-gradient(180deg, var(--accent-emerald), transparent);
   border-color: var(--accent-emerald);
}

.bar::before {
   content: attr(data-label);
   position: absolute;
   bottom: -30px;
   left: 50%;
   transform: translateX(-50%);
   color: var(--text-muted);
   font-size: 0.85rem;
}

/* ==========================================================================
   6. INTERACTIVE GROWTH CALCULATOR
   ========================================================================== */
.calc-section {
   background: var(--bg-panel);
   border-y: 1px solid var(--border-subtle);
}

.calc-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 5rem;
   align-items: center;
}

.calc-panel {
   background: var(--bg-deep);
   border: 1px solid var(--border-subtle);
   border-radius: 16px;
   padding: 3rem;
}

.range-group {
   margin-bottom: 2.5rem;
}

.range-header {
   display: flex;
   justify-content: space-between;
   margin-bottom: 1rem;
   color: var(--text-main);
   font-family: var(--font-heading);
   text-transform: uppercase;
}

.range-val {
   color: var(--accent-emerald);
}

input[type=range] {
   -webkit-appearance: none;
   width: 100%;
   height: 4px;
   background: var(--border-subtle);
   border-radius: 2px;
   outline: none;
}

input[type=range]::-webkit-slider-thumb {
   -webkit-appearance: none;
   width: 20px;
   height: 20px;
   background: var(--accent-emerald);
   border-radius: 50%;
   cursor: pointer;
   box-shadow: 0 0 15px var(--accent-glow);
   transition: transform 0.1s;
}

input[type=range]::-webkit-slider-thumb:hover {
   transform: scale(1.2);
}

.calc-result {
   text-align: center;
}

.calc-result h4 {
   color: var(--text-muted);
   text-transform: uppercase;
   letter-spacing: 2px;
   margin-bottom: 1rem;
}

.final-revenue {
   font-size: 5.5rem;
   font-family: var(--font-heading);
   color: var(--text-main);
   line-height: 1;
   text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
   margin-bottom: 1rem;
}

.calc-tag {
   display: inline-block;
   background: rgba(124, 58, 237, 0.1);
   border: 1px solid var(--primary-violet);
   color: var(--primary-violet);
   padding: 0.5rem 1.5rem;
   border-radius: 30px;
   font-weight: 700;
   text-transform: uppercase;
   font-size: 0.85rem;
}

/* ==========================================================================
   7. INDUSTRY EXPERTISE (DIAGONAL GRID)
   ========================================================================== */
.industry-section {
   background: var(--bg-deep);
   overflow: hidden;
}

.ind-grid {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 2rem;
   transform: skewY(-5deg);
   margin: 4rem 0;
}

.ind-card {
   background: var(--bg-panel);
   border: 1px solid var(--border-subtle);
   padding: 3rem 2rem;
   text-align: center;
   transform: skewY(5deg);
   transition: var(--transition-smooth);
}

.ind-card:hover {
   background: var(--bg-panel-light);
   border-color: var(--accent-emerald);
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
   transform: skewY(5deg) translateY(-10px);
}

.ind-icon {
   width: 50px;
   height: 50px;
   fill: var(--accent-emerald);
   margin-bottom: 1.5rem;
}

.ind-card h4 {
   font-size: 1.25rem;
   margin-bottom: 1rem;
   text-transform: uppercase;
}

.ind-card p {
   color: var(--text-muted);
   font-size: 0.95rem;
}

/* ==========================================================================
   8. PROCESS / TIMELINE
   ========================================================================== */
.process-section {
   background: var(--bg-panel);
}

.timeline-wrap {
   position: relative;
   max-width: 1000px;
   margin: 0 auto;
}

.timeline-wrap::before {
   content: '';
   position: absolute;
   top: 0;
   left: 50%;
   transform: translateX(-50%);
   width: 2px;
   height: 100%;
   background: var(--border-subtle);
}

.t-item {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: 4rem;
   position: relative;
}

.t-item:nth-child(even) {
   flex-direction: row-reverse;
}

.t-content {
   width: 45%;
   background: var(--bg-deep);
   border: 1px solid var(--border-subtle);
   padding: 2.5rem;
   border-radius: 8px;
   transition: var(--transition-fast);
}

.t-item:hover .t-content {
   border-color: var(--primary-violet);
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.t-marker {
   position: absolute;
   left: 50%;
   top: 50%;
   transform: translate(-50%, -50%);
   width: 40px;
   height: 40px;
   background: var(--bg-panel);
   border: 2px solid var(--primary-violet);
   border-radius: 50%;
   display: flex;
   justify-content: center;
   align-items: center;
   color: var(--text-main);
   font-family: var(--font-heading);
   font-weight: 700;
   box-shadow: 0 0 15px var(--primary-glow);
   z-index: 2;
}

.t-content h4 {
   font-size: 1.5rem;
   margin-bottom: 1rem;
}

.t-content p {
   color: var(--text-muted);
}

/* ==========================================================================
   9. TESTIMONIALS (3D GRID)
   ========================================================================== */
.testi-section {
   background: var(--bg-deep);
}

.testi-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 2.5rem;
}

.testi-card {
   background: linear-gradient(145deg, var(--bg-panel), var(--bg-deep));
   border: 1px solid var(--border-subtle);
   padding: 3rem;
   border-radius: 12px;
   position: relative;
   transition: var(--transition-smooth);
}

.testi-card:hover {
   transform: translateY(-10px) scale(1.02);
   border-color: rgba(255, 255, 255, 0.2);
}

.quote-icon {
   font-family: var(--font-heading);
   font-size: 5rem;
   color: rgba(255, 255, 255, 0.05);
   position: absolute;
   top: 10px;
   right: 20px;
   line-height: 1;
}

.testi-text {
   font-size: 1.1rem;
   color: var(--text-muted);
   margin-bottom: 2rem;
   position: relative;
   z-index: 2;
}

.testi-client {
   display: flex;
   align-items: center;
   gap: 1rem;
   border-top: 1px solid var(--border-subtle);
   padding-top: 1.5rem;
}

.client-avatar {
   width: 50px;
   height: 50px;
   background: var(--bg-panel-light);
   border-radius: 50%;
}

.client-info h5 {
   font-size: 1rem;
   color: var(--text-main);
}

.client-info span {
   font-size: 0.85rem;
   color: var(--primary-violet);
   text-transform: uppercase;
}

/* ==========================================================================
   10. FINAL CTA
   ========================================================================== */
.cta-section {
   background: linear-gradient(0deg, var(--bg-panel), var(--bg-deep));
   padding: 10rem 0;
   text-align: center;
   border-top: 1px solid var(--border-subtle);
}

.cta-content {
   max-width: 800px;
   margin: 0 auto;
}

.cta-content h2 {
   font-size: 4rem;
   margin-bottom: 2rem;
   text-transform: uppercase;
}

/* ==========================================================================
   CONTACT PAGE SPECIFIC
   ========================================================================== */
.page-hero {
   padding: 12rem 0 6rem;
   text-align: center;
   background: var(--bg-panel);
   border-bottom: 1px solid var(--border-subtle);
}

.page-hero h1 {
   font-size: 4.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 {
   background: var(--bg-deep);
   border: 1px solid var(--border-subtle);
   padding: 4rem;
   border-radius: 12px;
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.contact-info h3 {
   font-size: 2.5rem;
   margin-bottom: 2.5rem;
   color: var(--primary-violet);
}

.c-row {
   display: flex;
   gap: 1.5rem;
   margin-bottom: 2rem;
}

.c-row svg {
   width: 28px;
   height: 28px;
   fill: var(--accent-emerald);
   flex-shrink: 0;
}

.c-text h5 {
   font-size: 1.1rem;
   color: var(--text-muted);
   text-transform: uppercase;
   margin-bottom: 0.5rem;
}

.c-text p {
   font-size: 1.1rem;
   color: var(--text-main);
}

.contact-form {
   background: var(--bg-panel-light);
   padding: 4rem;
   border-radius: 12px;
   border: 1px solid var(--border-subtle);
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.form-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 2rem;
}

.form-group.full {
   grid-column: 1 / -1;
}

.form-group label {
   display: block;
   font-size: 0.9rem;
   color: var(--text-muted);
   text-transform: uppercase;
   margin-bottom: 0.8rem;
}

.form-group input,
.form-group select,
.form-group textarea {
   width: 100%;
   background: var(--bg-deep);
   border: 1px solid var(--border-subtle);
   padding: 1.2rem;
   color: var(--text-main);
   font-family: var(--font-body);
   font-size: 1rem;
   border-radius: 4px;
   transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
   outline: none;
   border-color: var(--primary-violet);
   box-shadow: 0 0 10px rgba(124, 58, 237, 0.2);
}

.form-group select option {
   background: var(--bg-deep);
}

.submit-btn {
   width: 100%;
   border: none;
   cursor: pointer;
   padding: 1.2rem;
   font-size: 1.1rem;
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-container {
   max-width: 900px;
   margin: 4rem auto 8rem;
   padding: 5rem;
   background: var(--bg-panel-light);
   border: 1px solid var(--border-subtle);
   border-radius: 12px;
}

.legal-container h2 {
   font-size: 2rem;
   margin: 3rem 0 1.5rem;
   color: var(--primary-violet);
}

.legal-container p {
   font-size: 1.1rem;
   color: var(--text-muted);
   margin-bottom: 1.5rem;
}

.legal-container ul {
   margin-left: 2rem;
   margin-bottom: 1.5rem;
   color: var(--text-muted);
   font-size: 1.1rem;
}

.legal-container li {
   margin-bottom: 0.8rem;
}

/* ==========================================================================
   LIVE CHAT WIDGET
   ========================================================================== */
.chat-widget {
   position: fixed;
   bottom: 30px;
   right: 30px;
   z-index: var(--z-chat);
}

.chat-toggle {
   width: 60px;
   height: 60px;
   border-radius: 50%;
   background: var(--bg-deep);
   border: 2px solid var(--accent-emerald);
   color: var(--accent-emerald);
   display: flex;
   justify-content: center;
   align-items: center;
   cursor: pointer;
   box-shadow: 0 0 20px var(--accent-glow);
   transition: var(--transition-fast);
}

.chat-toggle:hover {
   background: var(--accent-emerald);
   color: var(--bg-deep);
   transform: scale(1.1);
}

.chat-toggle svg {
   width: 30px;
   height: 30px;
   fill: currentColor;
}

.chat-box {
   position: absolute;
   bottom: 80px;
   right: 0;
   width: 360px;
   background: var(--bg-panel-light);
   border: 1px solid var(--border-subtle);
   border-radius: 12px;
   overflow: hidden;
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
   opacity: 0;
   pointer-events: none;
   transform: translateY(20px);
   transition: var(--transition-fast);
}

.chat-box.open {
   opacity: 1;
   pointer-events: all;
   transform: translateY(0);
}

.chat-header {
   background: rgba(0, 0, 0, 0.5);
   padding: 1.5rem;
   display: flex;
   justify-content: space-between;
   align-items: center;
   border-bottom: 1px solid var(--border-subtle);
}

.chat-close {
   background: none;
   border: none;
   color: var(--text-muted);
   font-size: 1.5rem;
   cursor: pointer;
}

.chat-body {
   height: 320px;
   padding: 1.5rem;
   overflow-y: auto;
   display: flex;
   flex-direction: column;
   gap: 1rem;
}

.chat-msg {
   max-width: 85%;
   padding: 1rem;
   border-radius: 8px;
   font-size: 0.95rem;
}

.msg-bot {
   background: var(--bg-deep);
   border: 1px solid var(--border-subtle);
   align-self: flex-start;
}

.msg-user {
   background: rgba(124, 58, 237, 0.2);
   border: 1px solid var(--primary-violet);
   align-self: flex-end;
}

.chat-footer {
   display: flex;
   border-top: 1px solid var(--border-subtle);
}

.chat-footer input {
   flex: 1;
   background: var(--bg-deep);
   border: none;
   padding: 1.2rem;
   color: var(--text-main);
   outline: none;
}

.chat-footer button {
   background: var(--primary-violet);
   color: #fff;
   border: none;
   padding: 0 1.5rem;
   font-weight: 700;
   cursor: pointer;
}

/* ==========================================================================
   ANIMATIONS & RESPONSIVE
   ========================================================================== */
@keyframes gridMove {
   0% {
      background-position: 0 0;
   }

   100% {
      background-position: 0 50px;
   }
}

@keyframes floatNode {

   0%,
   100% {
      transform: translateY(0) translateZ(0);
   }

   50% {
      transform: translateY(-20px) translateZ(30px);
   }
}

@keyframes slideMarquee {
   0% {
      transform: translateX(0);
   }

   100% {
      transform: translateX(-50%);
   }
}

@keyframes fadeUp {
   from {
      opacity: 0;
      transform: translateY(20px);
   }

   to {
      opacity: 1;
      transform: translateY(0);
   }
}

@keyframes showBar {
   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-content-grid,
   .about-grid,
   .calc-grid,
   .contact-layout {
      grid-template-columns: 1fr;
      gap: 4rem;
   }

   .hero-text h1 {
      font-size: 4rem;
   }

   .metrics-grid,
   .ind-grid,
   .testi-grid {
      grid-template-columns: repeat(2, 1fr);
   }

   .timeline-wrap::before {
      left: 30px;
   }

   .t-item,
   .t-item:nth-child(even) {
      flex-direction: column;
      align-items: flex-start;
      padding-left: 80px;
   }

   .t-marker {
      left: 30px;
      transform: translate(-50%, 0);
      top: 0;
   }

   .t-content {
      width: 100%;
   }

   .footer-wrapper {
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
   }

   .ind-grid {
      transform: none;
   }

   .ind-card {
      transform: none;
   }

   .ind-card:hover {
      transform: translateY(-10px);
   }
}

@media (max-width: 768px) {
   .main-nav {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background: var(--bg-panel);
      flex-direction: column;
      padding: 2rem;
      border-bottom: 1px solid var(--border-subtle);
   }

   .main-nav.show {
      display: flex;
   }

   .mobile-menu-btn {
      display: block;
   }

   .section-header h2 {
      font-size: 2.5rem;
   }

   .stat-card-grid,
   .metrics-grid,
   .ind-grid,
   .testi-grid,
   .form-grid,
   .footer-wrapper {
      grid-template-columns: 1fr;
   }

   .contact-layout {
      margin-top: 0;
   }

   .final-revenue {
      font-size: 4rem;
   }

   .cyber-cursor,
   .cyber-cursor-dot {
      display: none;
   }
}