/* ==========================================================================
   CSS Variables & Dark Cyber-Grid Theme
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    /* Color Palette - Dark Cyber Tech */
    --bg-base: #030305; /* Deepest Void */
    --bg-surface: #0A0A10; /* Elevated Dark Surface */
    --bg-header-footer: #000000; 
    
    --primary: #00F0FF; /* Cyber Cyan */
    --primary-glow: rgba(0, 240, 255, 0.4);
    --secondary: #BD00FF; /* Neon Purple */
    --secondary-glow: rgba(189, 0, 255, 0.4);
    
    /* The Signature Technical Grid Color */
    --grid-line: rgba(189, 0, 255, 0.07);
    
    /* Typography */
    --text-pure: #FFFFFF;
    --text-main: #E2E8F0;
    --text-muted: #94A3B8;
    
    /* Structural Elements */
    --border-light: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(0, 240, 255, 0.3);
    
    /* Shadows & Glassmorphism */
    --glass-bg: rgba(10, 10, 16, 0.6);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    --shadow-float: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 30px var(--secondary-glow);
    --shadow-glow: 0 0 20px var(--primary-glow);
    
    /* Fonts */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout & Animation */
    --max-width: 1400px;
    --nav-height: 85px;
    --section-gap: 130px;
    --transition-fast: 0.25s ease;
    --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-base);
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-base);
    
    /* Dark Neon Blueprint Grid Background */
    background-image: 
        linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
    background-size: 50px 50px;
    background-attachment: fixed;
    background-position: center center;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Add a radial mask so the grid fades out beautifully around the edges */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: radial-gradient(circle at 50% 50%, transparent 20%, var(--bg-base) 100%);
    pointer-events: none;
    z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-pure);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 5%;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: rgba(189, 0, 255, 0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }
::selection { background: var(--primary); color: #000; }

/* ==========================================================================
   UI Components & Typography
   ========================================================================== */
.pill-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: rgba(0, 240, 255, 0.1);
    color: var(--primary);
    border: 1px solid var(--border-highlight);
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    color: var(--text-pure);
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 650px;
    margin-bottom: 3rem;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Cyber Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: var(--primary);
    color: #000;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: 0 0 20px var(--primary-glow);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--primary-glow);
    background: #fff;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-pure);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-pure);
}

/* ==========================================================================
   Master Header
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    height: var(--nav-height);
    background-color: var(--bg-header-footer);
    border-bottom: 1px solid var(--border-light);
    z-index: 9999;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    height: 70px;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-highlight);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 50px;
    object-fit: contain;
    filter: invert(1);
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
}

.btn-nav {
    padding: 10px 20px;
    background-color: rgba(0, 240, 255, 0.1);
    color: var(--primary) !important;
    border: 1px solid var(--primary);
    border-radius: 4px;
    font-weight: 600 !important;
}

.btn-nav:hover { background-color: var(--primary); color: #000 !important; }

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 10000;
}

.hamburger span {
    display: block;
    width: 28px; height: 2px;
    background-color: var(--primary);
    box-shadow: 0 0 5px var(--primary);
    transition: var(--transition-fast);
}

/* ==========================================================================
   Hero Section (Blueprint UI layout with Dark Glassmorphism)
   ========================================================================== */
.hero {
    padding-top: calc(var(--nav-height) + 80px);
    padding-bottom: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(3.5rem, 5vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-actions { display: flex; gap: 1rem; }

/* Floating UI Dashboards (Glassmorphism) */
.hero-visual {
    position: relative;
    height: 550px;
    width: 100%;
}

.float-ui {
    position: absolute;
    background-color: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    box-shadow: var(--shadow-float);
    padding: 1.5rem;
    animation: floatPanel 6s ease-in-out infinite;
}

.ui-1 {
    top: 5%; right: 5%;
    width: 300px;
    border-top: 1px solid var(--primary);
    animation-delay: 0s;
    z-index: 3;
}

.ui-2 {
    bottom: 10%; left: 0;
    width: 260px;
    border-left: 1px solid var(--secondary);
    animation-delay: -2s;
    z-index: 2;
}

.ui-3 {
    top: 40%; right: 40%;
    width: 240px;
    background-color: rgba(5, 5, 10, 0.8);
    animation-delay: -4s;
    z-index: 1;
}

.ui-header {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 10px var(--primary); }

/* Glowing Mock Charts */
.mock-bars {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 80px;
}
.m-bar { flex: 1; background-color: rgba(255,255,255,0.05); border-radius: 4px 4px 0 0; border-top: 1px solid var(--border-light); }
.m-bar.active { background: linear-gradient(to top, rgba(0,240,255,0.1), var(--primary)); border-top: none; box-shadow: 0 0 15px var(--primary-glow); }

.mock-line { height: 4px; background-color: var(--border-light); border-radius: 2px; margin-bottom: 10px; }
.mock-line.short { width: 60%; }
.mock-line.glow { background-color: var(--secondary); width: 80%; box-shadow: 0 0 10px var(--secondary-glow); }

/* Hero Tech Stats */
.hero-stats {
    display: flex;
    gap: 4rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.h-stat h4 { font-size: 2rem; color: var(--text-pure); margin-bottom: 0.2rem; }
.h-stat p { font-size: 0.85rem; color: var(--text-muted); font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.05em; }

/* ==========================================================================
   Client Marquee
   ========================================================================== */
.client-marquee {
    padding: 3rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    background-color: rgba(0,0,0,0.4);
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scrollMarquee 30s linear infinite;
}

.mq-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin: 0 4rem;
    opacity: 0.5;
    transition: var(--transition-fast);
}

.mq-logo:hover { opacity: 1; color: var(--primary); text-shadow: 0 0 10px var(--primary-glow); }

/* ==========================================================================
   Services Grid (Tech Blueprint Style)
   ========================================================================== */
.services { padding: var(--section-gap) 0; }

.srv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.srv-card {
    background-color: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.srv-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    transform: scaleX(0);
    transition: transform var(--transition-smooth);
}

.srv-card:hover {
    transform: translateY(-5px);
    background-color: var(--bg-surface);
    border-color: rgba(189, 0, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(189,0,255,0.05);
}

.srv-card:hover::before { transform: scaleX(1); }

.srv-icon {
    width: 50px; height: 50px;
    background-color: rgba(189, 0, 255, 0.1);
    border: 1px solid rgba(189, 0, 255, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px rgba(189, 0, 255, 0.2);
}

.srv-card h3 { font-size: 1.25rem; margin-bottom: 0.8rem; }
.srv-card p { font-size: 0.95rem; color: var(--text-muted); }

/* ==========================================================================
   Efficiency Estimator (Cyber Calculator)
   ========================================================================== */
.calculator { padding: var(--section-gap) 0; }

.calc-wrapper {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    overflow: hidden;
    margin-top: 3rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.calc-left { padding: 4rem; }

.calc-right {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.05), rgba(189, 0, 255, 0.05));
    border-left: 1px solid var(--border-light);
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.calc-right::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--border-light) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
}

.range-group { margin-bottom: 3rem; }

.range-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.2rem;
}

.range-label { font-family: var(--font-heading); font-size: 0.95rem; color: var(--text-main); text-transform: uppercase; letter-spacing: 0.05em; }
.range-val { font-family: var(--font-heading); font-weight: 700; color: var(--primary); font-size: 1.2rem; text-shadow: 0 0 10px var(--primary-glow); }

/* Neon Tech Sliders */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    background: var(--border-light);
    border-radius: 2px;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px; width: 20px;
    background: #000;
    border: 3px solid var(--primary);
    border-radius: 50%;
    margin-top: -8px;
    cursor: pointer;
    box-shadow: 0 0 15px var(--primary-glow);
    transition: transform 0.1s;
}

input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.3); background: var(--primary); }

.result-label {
    position: relative; z-index: 2;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.result-number {
    position: relative; z-index: 2;
    font-family: var(--font-heading);
    font-size: 5.5rem;
    font-weight: 700;
    color: var(--text-pure);
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(255,255,255,0.2);
}

.result-note { position: relative; z-index: 2; font-size: 0.8rem; color: var(--text-muted); }

/* ==========================================================================
   Analytics Visuals (Dashboard UI)
   ========================================================================== */
.analytics { padding: var(--section-gap) 0; }

.analytics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.chart-container {
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow-float);
    position: relative;
}

.chart-container::before {
    content: '';
    position: absolute;
    top: 0; left: 20%; width: 60%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.chart-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1.5rem;
    margin-bottom: 3rem;
}

/* Glowing Line Chart Concept */
.cyber-line-chart {
    height: 220px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 10px;
    position: relative;
}

.plot-point {
    width: 14px; height: 14px;
    background-color: var(--bg-base);
    border: 3px solid var(--secondary);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 15px var(--secondary-glow);
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chart-container.in-view .plot-point { transform: scale(1); }

.chart-container.in-view .plot-point:nth-child(1) { transition-delay: 0.1s; height: 15%; }
.chart-container.in-view .plot-point:nth-child(2) { transition-delay: 0.2s; height: 30%; }
.chart-container.in-view .plot-point:nth-child(3) { transition-delay: 0.3s; height: 50%; }
.chart-container.in-view .plot-point:nth-child(4) { transition-delay: 0.4s; height: 80%; }
.chart-container.in-view .plot-point:nth-child(5) { transition-delay: 0.5s; height: 100%; border-color: var(--primary); box-shadow: 0 0 20px var(--primary-glow); }

/* ==========================================================================
   Partners / Testimonials
   ========================================================================== */
.testimonials { padding: var(--section-gap) 0; }

.test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.test-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition-fast);
}

.test-card:hover { border-color: rgba(255,255,255,0.2); background-color: rgba(255,255,255,0.04); }

.test-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 2rem;
}

.test-avatar {
    width: 50px; height: 50px;
    background-color: var(--border-light);
    border-radius: 50%;
}

.test-header h4 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.test-header p { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

.test-quote {
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.8;
    margin-bottom: 2rem;
    flex: 1;
}

.test-badge {
    align-self: flex-start;
    padding: 6px 14px;
    background-color: rgba(0, 240, 255, 0.05);
    color: var(--primary);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   Industry Grid
   ========================================================================== */
.industries { padding: var(--section-gap) 0; }

.ind-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.ind-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: var(--transition-fast);
    cursor: default;
}

.ind-card:hover {
    border-color: var(--primary);
    box-shadow: inset 0 0 20px rgba(0,240,255,0.05);
    color: var(--primary);
}

.ind-card h3 { font-size: 1rem; color: inherit; }

/* ==========================================================================
   Contact Area
   ========================================================================== */
.contact-section { padding: var(--section-gap) 0; }

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    background-color: rgba(255,255,255,0.02);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 5rem;
    backdrop-filter: blur(10px);
}

.form-group { margin-bottom: 2rem; }
.form-group label { display: block; font-family: var(--font-heading); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.8rem; color: var(--text-muted); }

.form-input {
    width: 100%;
    padding: 16px 20px;
    background-color: rgba(0,0,0,0.5);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-family: var(--font-body);
    color: var(--text-pure);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow), inset 0 0 10px rgba(0,240,255,0.1);
}

textarea.form-input { height: 140px; resize: vertical; }

/* ==========================================================================
   Legal Pages Specific Formatting
   ========================================================================== */
.legal-main {
    padding: calc(var(--nav-height) + 100px) 5% 100px;
    max-width: 900px;
    margin: 0 auto;
    background-color: rgba(10,10,16,0.6);
    backdrop-filter: blur(10px);
    border-left: 1px solid var(--border-light);
    border-right: 1px solid var(--border-light);
    min-height: 80vh;
}

.legal-main h1 { font-size: 3.5rem; margin-bottom: 2rem; border-bottom: 1px solid var(--border-light); padding-bottom: 1.5rem; color: var(--text-pure); }
.legal-main h2 { font-size: 1.5rem; color: var(--primary); margin: 3rem 0 1rem; }
.legal-main p { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.8; }

/* ==========================================================================
   Master Footer (Pure Obsidian Black)
   ========================================================================== */
.site-footer {
    background-color: var(--bg-header-footer);
    color: var(--text-main);
    padding: 100px 0 40px;
    border-top: 1px solid var(--border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-brand img { height: 36px; margin-bottom: 2rem; filter: drop-shadow(0 0 8px rgba(255,255,255,0.2)); }
.footer-brand p { color: var(--text-muted); font-size: 0.95rem; max-width: 350px; }

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    color: var(--text-pure);
}

.footer-col ul { display: flex; flex-direction: column; gap: 1.2rem; }
.footer-col a, .footer-col li { color: var(--text-muted); font-size: 0.95rem; transition: var(--transition-fast); }
.footer-col a:hover { color: var(--primary); text-shadow: 0 0 10px var(--primary-glow); }

.footer-bottom {
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==========================================================================
   Animations & Media Queries
   ========================================================================== */
@keyframes floatPanel { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes scrollMarquee { 100% { transform: translateX(-50%); } }

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .hero-grid, .analytics-grid, .contact-layout { grid-template-columns: 1fr; gap: 4rem; }
    .hero-visual { display: none; }
    .srv-grid, .test-grid { grid-template-columns: repeat(2, 1fr); }
    .calc-wrapper { grid-template-columns: 1fr; }
    .ind-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links {
        position: fixed;
        top: var(--nav-height); left: -100%; width: 100%; height: calc(100vh - var(--nav-height));
        background-color: var(--bg-header-footer);
        flex-direction: column; justify-content: center;
        transition: var(--transition-smooth);
    }
    .nav-links.active { left: 0; }
    .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .srv-grid, .test-grid, .ind-grid, .footer-grid { grid-template-columns: 1fr; }
    .calc-left, .calc-right, .contact-layout { padding: 2.5rem; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 1.5rem; }
}