/* ==========================================================================
   QUANTUM GLASS THEME - CSS VARIABLES
   ========================================================================== */
:root {
    /* Core Colors */
    --bg-deep: #050507;
    --bg-surface: #0a0a0f;
    --bg-surface-light: #12121a;

    /* Neons */
    --neon-purple: #9D00FF;
    --neon-cyan: #00F0FF;
    --neon-pink: #FF007F;

    /* Text */
    --text-main: #FFFFFF;
    --text-dim: #8B8B9F;
    --text-dark: #000000;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-glow: rgba(157, 0, 255, 0.15);

    /* Typography */
    --font-head: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Manrope', system-ui, sans-serif;

    /* Utilities */
    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    --radius-xl: 24px;
    --radius-lg: 16px;
    --radius-md: 8px;
    --header-height: 90px;
}

/* ==========================================================================
     RESET & BASE
     ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

::selection {
    background: var(--neon-purple);
    color: #fff;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-deep);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    /* Animated Background Grid */
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center center;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5vw;
}

/* ==========================================================================
     TYPOGRAPHY & UTILITIES
     ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.1;
}

.title-huge {
    font-size: clamp(3rem, 7vw, 6rem);
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.title-section {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.text-gradient {
    background: linear-gradient(to right, var(--neon-cyan), var(--neon-purple), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientFlow 5s linear infinite;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-dim);
    max-width: 600px;
    margin-bottom: 3rem;
}

/* Button Styles */
.btn-cyber {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    background: transparent;
    color: var(--text-main);
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    overflow: hidden;
    border-radius: var(--radius-md);
    z-index: 1;
    transition: var(--transition-fast);
}

.btn-cyber::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-cyan));
    z-index: -1;
    transition: var(--transition-fast);
}

.btn-cyber::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    background: var(--bg-deep);
    border-radius: 6px;
    z-index: -1;
    transition: var(--transition-fast);
}

.btn-cyber:hover::after {
    background: transparent;
}

.btn-cyber:hover {
    box-shadow: 0 0 30px var(--glass-glow);
    transform: translateY(-3px);
}

/* ==========================================================================
     STRICT HEADER (EXACT MATCH FOR ALL PAGES)
     ========================================================================== */
.global-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(5, 5, 7, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 9999;
    transition: var(--transition-fast);
}

.global-header.scrolled {
    height: 70px;
    background: rgba(5, 5, 7, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.header-logo img {
    height: 55px;
    filter: invert(1);
}

.nav-list {
    display: flex;
    gap: 3rem;
}

.nav-link {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--neon-cyan);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    transform: scaleX(1);
    transform-origin: left;
    box-shadow: 0 0 10px var(--neon-cyan);
}

.header-action {
    background: var(--text-main);
    color: var(--text-dark);
    padding: 10px 24px;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.header-action:hover {
    background: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 10000;
}

.menu-toggle span {
    width: 30px;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition-fast);
}

/* ==========================================================================
     HERO SECTION (3D HOLOGRAM UI)
     ========================================================================== */
.hero {
    min-height: 100vh;
    padding-top: var(--header-height);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Glowing background orbs */
.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}

.orb-purple {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: var(--neon-purple);
    animation: orbDrift 15s infinite alternate ease-in-out;
}

.orb-cyan {
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--neon-cyan);
    animation: orbDrift 20s infinite alternate-reverse ease-in-out;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    z-index: 1;
    position: relative;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.h-stat h4 {
    font-size: 2.5rem;
    color: var(--neon-cyan);
    line-height: 1;
}

.h-stat span {
    font-size: 0.9rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 3D Hologram Data Visualization */
.hero-visual {
    position: relative;
    height: 600px;
    perspective: 1000px;
}

.hologram-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%) rotateX(10deg) rotateY(-15deg);
    transform-style: preserve-3d;
    transition: transform 0.1s;
}

.holo-card {
    position: absolute;
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 0 20px var(--glass-glow);
}

.holo-main {
    width: 100%;
    height: 350px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(0);
}

.holo-float-1 {
    width: 200px;
    height: 120px;
    top: 10%;
    right: -10%;
    transform: translateZ(80px);
    border-color: var(--neon-cyan);
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: floatUpDown 4s infinite ease-in-out alternate;
}

.holo-float-2 {
    width: 220px;
    height: 150px;
    bottom: 5%;
    left: -15%;
    transform: translateZ(120px);
    border-color: var(--neon-purple);
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: floatUpDown 5s infinite ease-in-out alternate-reverse;
}

.mock-graph {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 100px;
    margin-top: 20px;
}

.mock-bar {
    flex: 1;
    background: linear-gradient(to top, var(--neon-purple), var(--neon-cyan));
    border-radius: 4px 4px 0 0;
}

/* ==========================================================================
     CLIENT MARQUEE
     ========================================================================== */
.marquee-section {
    padding: 3rem 0;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: 200%;
    animation: marqueeScroll 30s linear infinite;
}

.marquee-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 50%;
}

.client-logo {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.client-logo:hover {
    color: var(--text-main);
    text-shadow: 0 0 10px var(--glass-glow);
}

/* ==========================================================================
     SERVICES (GLASS MOSAIC GRID)
     ========================================================================== */
.services {
    padding: 10rem 0;
    position: relative;
}

.mosaic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 3rem;
    backdrop-filter: blur(10px);
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

/* Hover light tracking effect pseudo-element */
.glass-card::before {
    content: '';
    position: absolute;
    top: var(--y, 50%);
    left: var(--x, 50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 0;
}

.glass-card:hover::before {
    opacity: 1;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.glass-card>* {
    position: relative;
    z-index: 1;
}

.sc-icon {
    width: 70px;
    height: 70px;
    background: rgba(157, 0, 255, 0.1);
    border: 1px solid var(--neon-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 2rem;
    box-shadow: 0 0 20px var(--glass-glow);
}

.glass-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* Make first card span wider */
.glass-card.span-2 {
    grid-column: span 2;
}

/* ==========================================================================
     METHODOLOGY / PROCESS
     ========================================================================== */
.process {
    padding: 8rem 0;
    background: linear-gradient(to bottom, transparent, rgba(157, 0, 255, 0.05), transparent);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 5rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--glass-border);
    z-index: 0;
}

.step-box {
    width: 22%;
    position: relative;
    z-index: 1;
}

.step-num {
    width: 80px;
    height: 80px;
    background: var(--bg-surface);
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 800;
    color: var(--neon-cyan);
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.step-box h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.step-box p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* ==========================================================================
     INTERACTIVE RESULTS (3D FLIP CARDS)
     ========================================================================== */
.results {
    padding: 10rem 0;
}

.flip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.flip-container {
    perspective: 1000px;
    height: 400px;
}

.flip-card {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.flip-container:hover .flip-card {
    transform: rotateY(180deg);
}

.flip-front,
.flip-back {
    width: 100%;
    height: 100%;
    position: absolute;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: var(--radius-xl);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flip-front {
    background: var(--bg-surface-light);
    border: 1px solid var(--glass-border);
    align-items: center;
    text-align: center;
}

.flip-front h3 {
    font-size: 2rem;
    color: var(--neon-cyan);
    margin-bottom: 1rem;
}

.flip-back {
    background: linear-gradient(135deg, rgba(157, 0, 255, 0.2), rgba(0, 240, 255, 0.2));
    border: 1px solid var(--neon-purple);
    transform: rotateY(180deg);
    box-shadow: 0 0 30px var(--glass-glow);
}

.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.stat-row span:first-child {
    color: var(--text-dim);
}

.stat-row span:last-child {
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
}

/* ==========================================================================
     INDUSTRY EXPERTISE (PARALLAX HOVER)
     ========================================================================== */
.industry {
    padding: 8rem 0;
    background: var(--bg-surface);
}

.ind-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.ind-card {
    height: 300px;
    background: #000;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.ind-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 10px);
    transition: transform 0.5s;
    z-index: 0;
}

.ind-card:hover .ind-bg {
    transform: scale(1.2);
}

.ind-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    z-index: 1;
}

.ind-card h3 {
    position: relative;
    z-index: 2;
    font-size: 1.5rem;
    transform: translateY(20px);
    transition: var(--transition-fast);
}

.ind-card:hover h3 {
    transform: translateY(0);
    color: var(--neon-cyan);
}

/* ==========================================================================
     TESTIMONIALS (JS SLIDER)
     ========================================================================== */
.testimonials {
    padding: 10rem 0;
}

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 4rem;
}

.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide {
    min-width: 100%;
    padding: 0 5%;
}

.testi-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 5rem;
    text-align: center;
}

.quote-icon {
    font-size: 4rem;
    color: var(--neon-purple);
    margin-bottom: 2rem;
    line-height: 1;
}

.testi-text {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 3rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--glass-border);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
}

/* ==========================================================================
     CONTACT / CTA (FROSTED FORM OVER GLOW)
     ========================================================================== */
.contact {
    padding: 10rem 0;
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

/* Huge glow behind form */
.contact-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: var(--neon-pink);
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
    z-index: -1;
}

.c-info h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.c-info p {
    color: var(--text-dim);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.c-detail {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.c-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 240, 255, 0.1);
    color: var(--neon-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.c-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--neon-purple);
    box-shadow: 0 0 15px var(--glass-glow);
}

textarea.form-input {
    height: 150px;
    resize: none;
}

/* ==========================================================================
     STRICT FOOTER (EXACT MATCH FOR ALL PAGES)
     ========================================================================== */
.global-footer {
    background: #020203;
    padding: 6rem 0 0;
    border-top: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.f-brand img {
    height: 45px;
    margin-bottom: 2rem;
}

.f-brand p {
    color: var(--text-dim);
    margin-bottom: 2rem;
    max-width: 320px;
}

.f-socials {
    display: flex;
    gap: 1rem;
}

.f-socials a {
    width: 45px;
    height: 45px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    color: var(--text-main);
}

.f-socials a:hover {
    background: var(--neon-cyan);
    color: #000;
    transform: rotate(360deg);
}

.f-heading {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #fff;
}

.f-menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.f-menu a {
    color: var(--text-dim);
    transition: var(--transition-fast);
}

.f-menu a:hover {
    color: var(--neon-purple);
    padding-left: 10px;
}

.f-newsletter .form-input {
    margin-bottom: 1rem;
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
     LEGAL PAGES
     ========================================================================== */
.legal-section {
    padding: 180px 0 100px;
}

.legal-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 5rem;
    backdrop-filter: blur(10px);
}

.legal-container h1 {
    font-size: 3rem;
    color: var(--neon-cyan);
    margin-bottom: 3rem;
    text-align: center;
}

.legal-container h2 {
    font-size: 1.8rem;
    color: #fff;
    margin: 3rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.legal-container p {
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.legal-container ul {
    list-style: disc;
    padding-left: 2rem;
    color: var(--text-dim);
    margin-bottom: 2rem;
}

.legal-container li {
    margin-bottom: 0.8rem;
}

/* ==========================================================================
     ANIMATIONS & RESPONSIVENESS
     ========================================================================== */
@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

@keyframes orbDrift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, 50px) scale(1.2);
    }
}

@keyframes floatUpDown {
    0% {
        transform: translateZ(80px) translateY(0);
    }

    100% {
        transform: translateZ(80px) translateY(-20px);
    }
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1200px) {
    .title-huge {
        font-size: 4rem;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0;
    }

    .hero-content p {
        margin: 0 auto 2.5rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .mosaic-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .glass-card.span-2 {
        grid-column: span 1;
    }

    .process-steps {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .step-box {
        width: 45%;
    }

    .flip-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .ind-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 3rem;
    }

    .legal-container {
        padding: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-list {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: rgba(5, 5, 7, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition-fast);
    }

    .nav-list.open {
        left: 0;
    }

    .header-action {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .mosaic-grid,
    .flip-grid,
    .ind-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .step-box {
        width: 100%;
    }

    .process-steps::before {
        display: none;
    }

    .testi-content {
        padding: 2rem;
    }
}