/* ==========================================================================
   QUANTUM EMERALD THEME - GLOBAL CSS
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Clash+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Color Palette */
    --bg-onyx: #090a0f;
    --bg-surface: #11131a;
    --bg-elevated: #1a1d27;
    --emerald-main: #00ffa3;
    --emerald-dark: #00cc82;
    --emerald-glow: rgba(0, 255, 163, 0.2);
    --text-pure: #ffffff;
    --text-muted: #8a94a5;

    /* Structural Elements */
    --border-subtle: 1px solid rgba(255, 255, 255, 0.06);
    --border-emerald: 1px solid rgba(0, 255, 163, 0.3);

    /* Typography */
    --font-head: 'Clash Display', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --pad-section: 130px 5%;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    /* Transitions */
    --ease-out: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Base Reset & Smooth Scrolling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-onyx);
    color: var(--text-pure);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Custom Emerald Cursor */
.q-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    background: var(--emerald-main);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s;
    box-shadow: 0 0 15px var(--emerald-main);
}

.q-cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 255, 163, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.q-cursor.hover {
    width: 0;
    height: 0;
}

.q-cursor-follower.hover {
    width: 70px;
    height: 70px;
    border-color: var(--emerald-main);
    background: rgba(0, 255, 163, 0.1);
    backdrop-filter: blur(2px);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-onyx);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-elevated);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--emerald-main);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-head);
    font-weight: 600;
    line-height: 1.1;
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--ease-out);
}

.text-emerald {
    color: var(--emerald-main);
    text-shadow: 0 0 20px var(--emerald-glow);
}

/* Layout Utilities */
.container {
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    border: none;
    transition: var(--ease-out);
    z-index: 1;
}

.btn-primary {
    background: var(--emerald-main);
    color: var(--bg-onyx);
    box-shadow: 0 10px 30px var(--emerald-glow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--ease-out);
    z-index: -1;
    transform: skewX(-15deg);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 255, 163, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--emerald-main);
    color: var(--emerald-main);
}

.btn-outline:hover {
    background: rgba(0, 255, 163, 0.1);
}

/* Section Headers */
.sec-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 255, 163, 0.05);
    border: 1px solid rgba(0, 255, 163, 0.2);
    color: var(--emerald-main);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.sec-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    color: var(--text-pure);
}

/* Background Grid Overlay */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    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: 60px 60px;
    z-index: 0;
    pointer-events: none;
}

/* ==========================================================================
   1. GLOBAL HEADER (IDENTICAL SITE-WIDE)
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 1000;
    background: rgba(9, 10, 15, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: var(--ease-out);
}

header.scrolled {
    height: 75px;
    background: rgba(9, 10, 15, 0.95);
    border-bottom: var(--border-subtle);
}

.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 5%;
    max-width: 1440px;
    margin: 0 auto;
}

.logo-box img {
    height: 55px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

/* Assuming white logo */
.nav-list {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-list a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-pure);
    position: relative;
    padding: 5px 0;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--emerald-main);
    transition: var(--ease-out);
}

.nav-list a:hover::after {
    width: 100%;
}

.nav-list a:hover {
    color: var(--emerald-main);
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 5% 0;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-title {
    font-size: clamp(3.5rem, 7vw, 6.5rem);
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.2rem;
    max-width: 550px;
    margin-bottom: 3rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* 3D Isometric Cube Animation */
.cube-scene {
    width: 300px;
    height: 300px;
    perspective: 1000px;
    margin: 0 auto;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 20s infinite linear;
}

.cube-face {
    position: absolute;
    width: 200px;
    height: 200px;
    left: 50px;
    top: 50px;
    border: 2px solid var(--emerald-main);
    background: rgba(0, 255, 163, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: var(--emerald-main);
    box-shadow: inset 0 0 30px rgba(0, 255, 163, 0.2);
    backdrop-filter: blur(4px);
}

.face-front {
    transform: rotateY(0deg) translateZ(100px);
}

.face-back {
    transform: rotateY(180deg) translateZ(100px);
}

.face-right {
    transform: rotateY(90deg) translateZ(100px);
}

.face-left {
    transform: rotateY(-90deg) translateZ(100px);
}

.face-top {
    transform: rotateX(90deg) translateZ(100px);
}

.face-bottom {
    transform: rotateX(-90deg) translateZ(100px);
}

/* ==========================================================================
   3. METRICS MARQUEE
   ========================================================================== */
.marquee-wrapper {
    border-top: var(--border-subtle);
    border-bottom: var(--border-subtle);
    padding: 30px 0;
    background: rgba(255, 255, 255, 0.01);
    overflow: hidden;
    display: flex;
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 4rem;
    animation: scrollLeft 40s linear infinite;
}

.m-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: var(--text-muted);
}

.m-item span {
    color: var(--emerald-main);
    font-weight: 700;
}

/* ==========================================================================
   4. SERVICES (BENTO GRID WITH 3D TILT)
   ========================================================================== */
#services {
    padding: var(--pad-section);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
    margin-top: 4rem;
    perspective: 1000px;
}

.bento-card {
    background: var(--bg-surface);
    border: var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: border-color 0.3s;
}

.bento-card:hover {
    border-color: var(--emerald-main);
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 255, 163, 0.15), transparent 70%);
    opacity: 0;
    transition: var(--ease-out);
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-card h3 {
    font-size: 1.8rem;
    transform: translateZ(30px);
    margin-bottom: 0.5rem;
}

.bento-card p {
    font-size: 0.95rem;
    transform: translateZ(20px);
    opacity: 0;
    max-height: 0;
    transition: var(--ease-out);
}

.bento-card:hover p {
    opacity: 1;
    max-height: 100px;
    margin-top: 1rem;
}

.b-icon {
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    font-size: 2.5rem;
    color: var(--emerald-main);
    transform: translateZ(40px);
}

/* Specific Sizes */
.card-large {
    grid-column: span 2;
    grid-row: span 2;
}

.card-tall {
    grid-column: span 1;
    grid-row: span 2;
}

/* ==========================================================================
   5. INTERACTIVE ROI CALCULATOR
   ========================================================================== */
#calculator {
    padding: var(--pad-section);
    background: var(--bg-surface);
}

.calc-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
    margin-top: 4rem;
}

.calc-controls {
    background: var(--bg-elevated);
    padding: 3.5rem;
    border-radius: var(--radius-md);
    border: var(--border-subtle);
}

.range-wrap {
    margin-bottom: 3rem;
}

.range-wrap label {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.range-val {
    color: var(--emerald-main);
    font-family: var(--font-head);
    font-size: 1.4rem;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: var(--bg-onyx);
    border-radius: 10px;
    outline: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--emerald-main);
    cursor: pointer;
    box-shadow: 0 0 15px var(--emerald-main);
    transition: transform 0.2s;
}

.slider::-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;
}

.res-val {
    font-size: 6rem;
    font-family: var(--font-head);
    color: var(--text-pure);
    text-shadow: 0 0 30px rgba(0, 255, 163, 0.3);
    margin-bottom: 2rem;
}

/* ==========================================================================
   6. INDUSTRIES (VERTICAL JS TABS)
   ========================================================================== */
#industries {
    padding: var(--pad-section);
}

.tab-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.tab-btns {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tab-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 2rem;
    text-align: left;
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: var(--ease-out);
    display: flex;
    justify-content: space-between;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.02);
}

.tab-btn.active {
    background: var(--bg-surface);
    border-color: var(--emerald-main);
    color: var(--emerald-main);
    padding-left: 3rem;
}

.tab-content-area {
    background: var(--bg-surface);
    border: var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.tab-pane p {
    font-size: 1.15rem;
}

/* ==========================================================================
   7. LIVE ANALYTICS REPORT (3D CSS BARS)
   ========================================================================== */
#reports {
    padding: var(--pad-section);
    background: var(--bg-surface);
}

.report-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

.chart-box {
    background: var(--bg-onyx);
    border: var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 3rem;
    height: 450px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    perspective: 1000px;
}

.bar-3d {
    width: 60px;
    background: var(--emerald-dark);
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(20deg) translateZ(0);
    border-radius: 4px 4px 0 0;
    transition: height 1.5s var(--ease-out);
    height: 0;
}

.bar-3d::before {
    /* Left side */
    content: '';
    position: absolute;
    top: 10px;
    left: -20px;
    width: 20px;
    height: 100%;
    background: rgba(0, 255, 163, 0.4);
    transform: skewY(-45deg);
    transform-origin: right;
}

.bar-3d::after {
    /* Top side */
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 60px;
    height: 20px;
    background: var(--emerald-main);
    transform: skewX(-45deg);
    transform-origin: bottom;
}

.bar-lbl {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--text-muted);
}

/* ==========================================================================
   8. TESTIMONIALS (AUTO CAROUSEL)
   ========================================================================== */
#testimonials {
    padding: var(--pad-section);
    overflow: hidden;
}

.carousel-wrap {
    position: relative;
    margin-top: 4rem;
    max-width: 1000px;
    margin-inline: auto;
}

.carousel-track {
    display: flex;
    transition: transform 0.8s var(--ease-out);
}

.slide {
    min-width: 100%;
    padding: 0 2rem;
    opacity: 0.3;
    transition: 0.8s;
    transform: scale(0.9);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.test-card {
    background: var(--bg-surface);
    border: var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 4rem;
    text-align: center;
}

.t-icon {
    font-size: 3rem;
    color: var(--emerald-main);
    margin-bottom: 2rem;
}

.t-text {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--text-pure);
    margin-bottom: 2rem;
    font-style: italic;
}

.t-author {
    font-family: var(--font-head);
    font-size: 1.2rem;
    color: var(--emerald-main);
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: 0.3s;
}

.dot.active {
    background: var(--emerald-main);
    border-color: var(--emerald-main);
    box-shadow: 0 0 10px var(--emerald-main);
}

/* ==========================================================================
   9. CONTACT CTA
   ========================================================================== */
#contact {
    padding: var(--pad-section);
    background: var(--bg-surface);
}

.contact-container {
    background: var(--bg-elevated);
    border: var(--border-emerald);
    border-radius: var(--radius-lg);
    padding: 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.c-info h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.c-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.c-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(0, 255, 163, 0.1);
    color: var(--emerald-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.form-input {
    width: 100%;
    background: var(--bg-onyx);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 24px;
    color: #fff;
    font-family: var(--font-body);
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    transition: 0.3s;
    outline: none;
}

.form-input:focus {
    border-color: var(--emerald-main);
    box-shadow: 0 0 0 3px rgba(0, 255, 163, 0.1);
}

textarea.form-input {
    min-height: 150px;
    resize: none;
}

/* ==========================================================================
   10. LIVE CHAT WIDGET
   ========================================================================== */
.chat-dock {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.chat-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--emerald-main);
    color: var(--bg-onyx);
    border: none;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 255, 163, 0.3);
    transition: 0.3s;
}

.chat-btn:hover {
    transform: scale(1.1);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 340px;
    background: var(--bg-elevated);
    border: 1px solid rgba(0, 255, 163, 0.3);
    border-radius: var(--radius-md);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: 0.4s var(--ease-out);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.chat-window.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.chat-head {
    background: var(--bg-onyx);
    padding: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-family: var(--font-head);
    color: var(--emerald-main);
    font-weight: 600;
}

.chat-body {
    height: 260px;
    padding: 20px;
    overflow-y: auto;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.chat-inp {
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-inp input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px;
    color: #fff;
    outline: none;
}

.chat-inp button {
    background: transparent;
    border: none;
    color: var(--emerald-main);
    padding: 0 15px;
    font-weight: 600;
    cursor: pointer;
}

/* ==========================================================================
   11. GLOBAL FOOTER (STRICTLY CONSISTENT SITE-WIDE)
   ========================================================================== */
footer {
    background: #050608;
    padding: 100px 5% 40px;
    border-top: var(--border-subtle);
    position: relative;
    z-index: 10;
}

.foot-layout {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    max-width: 1440px;
    margin: 0 auto 5rem;
}

.foot-brand img {
    height: 55px;
    margin-bottom: 1.5rem;
}

.foot-brand p {
    max-width: 320px;
    font-size: 1.05rem;
}

.f-title {
    font-family: var(--font-head);
    font-size: 1.2rem;
    color: var(--text-pure);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.f-links {
    list-style: none;
}

.f-links li {
    margin-bottom: 12px;
}

.f-links a {
    color: var(--text-muted);
    transition: 0.3s;
}

.f-links a:hover {
    color: var(--emerald-main);
    padding-left: 5px;
}

.foot-bottom {
    text-align: center;
    border-top: var(--border-subtle);
    padding-top: 2rem;
    color: #666;
    font-size: 0.9rem;
    max-width: 1440px;
    margin: 0 auto;
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-header {
    padding: 200px 5% 100px;
    text-align: center;
    background: var(--bg-surface);
    border-bottom: var(--border-subtle);
}

.legal-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 5%;
}

.legal-wrap h2 {
    font-size: 2.2rem;
    color: var(--emerald-main);
    margin: 3.5rem 0 1.5rem;
}

.legal-wrap p {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    line-height: 1.8;
}

.legal-wrap ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    color: var(--text-muted);
    font-size: 1.15rem;
}

.legal-wrap li {
    margin-bottom: 0.8rem;
}

/* ==========================================================================
   ANIMATIONS & RESPONSIVE
   ========================================================================== */
@keyframes rotateCube {
    0% {
        transform: rotateX(0) rotateY(0);
    }

    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {

    .hero-grid,
    .calc-layout,
    .tab-layout,
    .report-grid,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }

    .card-large,
    .card-tall {
        grid-column: span 1;
        grid-row: auto;
    }

    .foot-layout {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
    }

    .hero-title {
        font-size: 3rem;
    }

    .bento-grid,
    .foot-layout {
        grid-template-columns: 1fr;
    }

    .q-cursor,
    .q-cursor-follower {
        display: none;
    }

    /* Disable custom cursor on mobile */
    .contact-container {
        padding: 3rem 2rem;
    }
}