:root {
    --neon: #e5ff0b;
    --dark-accent: #0f0f0f;
    --light-bg: #ffffff;
    --soft-gray: #f8f8f8;
    --border: rgba(0, 0, 0, 0.08);
    --text-main: #0f0f0f;
    --text-muted: #666666;
    --nav-bg: rgba(255, 255, 255, 0.05);
    --video-overlay: linear-gradient(to right, rgba(255, 255, 255, 0.95) 40%, rgba(255, 255, 255, 0.7) 100%);
    --section-dark-bg: #0a0a0a;
    --section-dark-border: rgba(255, 255, 255, 0.08);
    --section-dark-text: #e8e8e8;
    --section-dark-muted: #999999;
    --section-dark-num-bg: rgba(255, 255, 255, 0.06);
    --section-dark-num-border: rgba(255, 255, 255, 0.12);
}

/* Dark Mode Override */
[data-theme='dark'] {
    --light-bg: #0a0a0a;
    --soft-gray: #141414;
    --dark-accent: #ffffff;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --border: rgba(255, 255, 255, 0.1);
    --nav-bg: rgba(0, 0, 0, 0.2);
    --video-overlay: linear-gradient(to right, rgba(10, 10, 10, 0.95) 40%, rgba(10, 10, 10, 0.7) 100%);
    --section-dark-bg: #111111;
    --section-dark-border: rgba(255, 255, 255, 0.08);
    --section-dark-text: #e0e0e0;
    --section-dark-muted: #888888;
    --section-dark-num-bg: rgba(255, 255, 255, 0.06);
    --section-dark-num-border: rgba(255, 255, 255, 0.12);
}

html {
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-main);
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
    width: 100%;
}

h1,
h2,
h3,
h4,
.brand-font,
.unbounded {
    font-family: 'Unbounded', sans-serif;
    letter-spacing: -0.04em;
}

.glass-nav {
    background: var(--nav-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.5s ease, border-color 0.5s ease;
}

/* Theme Toggle UI */
.theme-switch {
    width: 44px;
    height: 22px;
    background: var(--soft-gray);
    border: 1px solid var(--border);
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 2px;
    transition: all 0.3s ease;
}

.theme-switch-dot {
    width: 16px;
    height: 16px;
    background: var(--text-main);
    border-radius: 50%;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

[data-theme='dark'] .theme-switch-dot {
    transform: translateX(22px);
    background: var(--neon);
}

.ux-card {
    background: var(--light-bg);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 1.5rem;
    transition: all 0.5s ease;
    color: var(--text-main);
}

.ux-card:hover {
    background: var(--text-main);
    color: var(--light-bg);
    transform: translateY(-5px);
}

[data-theme='dark'] .marquee-content img {
    filter: invert(1) brightness(0.8);
}

/* Partner Logos High Contrast in Dark & Light Modes */
.partner-logo {
    transition: all 0.3s ease;
}

[data-theme='dark'] .partner-logo {
    filter: brightness(0) invert(1) !important;
    opacity: 0.85 !important;
}

[data-theme='dark'] .partner-logo:hover {
    filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(229, 255, 11, 0.6)) !important;
    opacity: 1 !important;
}

.service-card {
    position: relative;
    height: 450px;
    background: #000;
    overflow: hidden;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) brightness(0.5);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}

.service-card:hover .service-card-bg {
    transform: scale(1.1);
    filter: grayscale(0%) brightness(0.6);
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.service-card-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
}

.integration-feature {
    border-bottom: 1px solid var(--border);
    transition: all 0.4s ease;
}

.integration-feature:hover {
    background: var(--soft-gray);
    padding-left: 1rem;
    border-bottom-color: var(--text-main);
}

.biz-card {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 1.5rem;
    transition: all 0.4s ease;
}

.biz-card:hover {
    border-color: var(--neon);
    transform: scale(1.02);
}

.testimonial-card {
    background: var(--light-bg);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 1rem;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    border-color: var(--text-main);
    transform: translateY(-5px);
}

.marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 4rem;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    gap: 4rem;
    min-width: 100%;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-100% - 4rem));
    }
}

.portfolio-card {
    background: var(--light-bg);
    border: 1px solid var(--border);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 1024px) {
    .portfolio-card:hover {
        border-color: var(--text-main);
        transform: translateY(-8px);
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06);
    }
}

.btn-dark {
    background-color: var(--text-main);
    color: var(--light-bg);
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.7rem;
    padding: 1rem 2rem;
    border-radius: 0.85rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-dark:hover {
    background-color: var(--neon);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(229, 255, 11, 0.25);
}

/* === Hero CTA Button === */
.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: var(--text-main);
    color: var(--light-bg);
    padding: 1.15rem 2.25rem;
    border-radius: 0.95rem;
    font-family: 'Unbounded', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border: 1px solid transparent;
    cursor: pointer;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    text-decoration: none;
}

.hero-cta-btn:hover {
    background-color: #e5ff0b;
    color: #000000;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 25px rgba(229, 255, 11, 0.45);
    border-color: #e5ff0b;
}

.hero-cta-btn svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.3s ease;
}

.hero-cta-btn:hover svg {
    transform: translateX(4px);
    stroke: #000000;
}

/* === Responsive Headings & Typography System === */
.hero-title {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(2.65rem, 5.5vw, 5.25rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    font-weight: 800;
    word-break: normal;
    overflow-wrap: normal;
}

@media (max-width: 640px) {
    .hero-title {
        font-size: clamp(3.9rem, 9vw, 3rem);
        line-height: 1.02;
        letter-spacing: -0.03em;
    }
}

.section-title {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(2rem, 3.8vw, 3.5rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    font-weight: 800;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .section-title {
        font-size: clamp(1.65rem, 6vw, 2.35rem);
        line-height: 1.08;
        letter-spacing: -0.03em;
    }
}

.page-hero-title {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(2.25rem, 4.5vw, 3.85rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    font-weight: 800;
    text-transform: uppercase;
}

@media (max-width: 640px) {
    .page-hero-title {
        font-size: clamp(1.75rem, 7vw, 2.35rem);
        line-height: 1.05;
        letter-spacing: -0.03em;
    }
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.video-container video {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.6);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: var(--video-overlay);
    z-index: 1;
    transition: background 0.5s ease;
}

.form-input {
    background: var(--soft-gray);
    border: 1px solid var(--border);
    color: var(--text-main);
    transition: all 0.3s ease;
    font-size: 16px;
}

.form-input:focus {
    outline: none;
    border-color: var(--text-main);
}

.hidden-view {
    display: none;
}

.reveal {
    animation: fadeIn 0.8s cubic-bezier(0.2, 0, 0.2, 1) forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.line-accent {
    height: 2px;
    background: var(--neon);
    width: 0;
    transition: width 0.6s ease;
}

.reveal .line-accent {
    width: 60px;
}

#mobile-menu {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(100%);
}

#mobile-menu.active {
    transform: translateX(0);
}

.footer-link {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 0.75rem;
}

.footer-link:hover {
    color: var(--text-main);
    padding-left: 4px;
}

.social-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--text-main);
}

.social-circle:hover {
    background: var(--text-main);
    color: var(--neon);
    border-color: var(--text-main);
    transform: translateY(-3px);
}

/* Pricing Styling */
.pricing-card {
    border: 1px solid var(--border);
    background: var(--light-bg);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.pricing-card.featured {
    background: var(--text-main);
    color: var(--light-bg);
    border-color: var(--neon);
    z-index: 10;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--text-main);
}

[data-theme='dark'] .pricing-card.featured {
    border-color: var(--neon);
    color: #000;
    background: var(--text-main);
}

[data-theme='dark'] .pricing-card.featured:hover {
    border-color: var(--neon);
}

/* === Scroll Effects === */
.parallax {
    will-change: transform;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: var(--neon);
    z-index: 100;
    transition: width 0.1s linear;
}

.fade-up {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.fade-up.in-view {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* ===== Theme-aware Service Sections ===== */

/* Dark alternating service panel */
.section-dark {
    background-color: var(--section-dark-bg);
    color: var(--section-dark-text);
    transition: background-color 0.5s ease, color 0.5s ease;
}

.section-dark .svc-label {
    color: #e5ff0b;
}

.section-dark .svc-heading-muted {
    color: var(--section-dark-muted);
}

.section-dark .svc-body {
    color: var(--section-dark-muted);
}

.section-dark .svc-sub-text {
    color: var(--section-dark-muted);
}

.section-dark .svc-num {
    background: var(--section-dark-num-bg);
    border: 1px solid var(--section-dark-num-border);
    color: var(--section-dark-text);
}

.section-dark .svc-img-wrapper {
    border-color: rgba(255,255,255,0.08);
}

.section-dark .svc-cta-line {
    background: var(--section-dark-text);
}
.section-dark .svc-cta:hover .svc-cta-line {
    background: #e5ff0b;
}
.section-dark .svc-cta-text {
    color: var(--section-dark-text);
}
.section-dark .svc-cta:hover .svc-cta-text {
    color: #e5ff0b;
}

/* Light alternating service panel */
.section-light {
    background-color: var(--light-bg);
    color: var(--text-main);
    transition: background-color 0.5s ease, color 0.5s ease;
}

.section-light.alt {
    background-color: var(--soft-gray);
}

.section-light .svc-label {
    color: var(--text-muted);
}

.section-light .svc-heading-muted {
    color: var(--text-muted);
}

.section-light .svc-body {
    color: var(--text-muted);
}

.section-light .svc-sub-text {
    color: var(--text-muted);
}

.section-light .svc-num {
    background: var(--soft-gray);
    border: 1px solid var(--border);
    color: var(--text-main);
}

.section-dark .svc-img-wrapper,
.section-light .svc-img-wrapper {
    border-radius: 2rem;
    overflow: hidden;
    border: 1px solid var(--border);
    position: relative;
    background: #000;
    transform-style: preserve-3d;
}

.section-light .svc-cta-line {
    background: var(--text-main);
}
.section-light .svc-cta:hover .svc-cta-line {
    background: #e5ff0b;
}
.section-light .svc-cta-text {
    color: var(--text-main);
}
.section-light .svc-cta:hover .svc-cta-text {
    color: #e5ff0b;
}

/* === Inquiry Modal & Card UI === */
.inquiry-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}

.inquiry-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.inquiry-modal-card {
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 2rem;
    width: 100%;
    max-width: 34rem;
    position: relative;
    padding: 2.25rem;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5);
    transform: translateY(20px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

[data-theme='dark'] .inquiry-modal-card {
    background: #111111;
    border-color: rgba(255, 255, 255, 0.12);
}

.inquiry-modal-backdrop.active .inquiry-modal-card {
    transform: translateY(0) scale(1);
}

.contact-channel-item {
    background: var(--soft-gray);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 1.15rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.25s ease;
    text-decoration: none;
    color: var(--text-main);
}

.contact-channel-item:hover {
    border-color: #e5ff0b;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.15);
}

[data-theme='dark'] .contact-channel-item {
    background: #181818;
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme='dark'] .contact-channel-item:hover {
    border-color: #e5ff0b;
    background: #1f1f1f;
}

/* === Solutions Deep Dive Feature Cards === */
.solution-feature-card {
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 1.75rem;
    padding: 1.75rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.solution-feature-card:hover {
    border-color: #e5ff0b;
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.12);
}

.section-dark .solution-feature-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

.section-dark .solution-feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #e5ff0b;
    box-shadow: 0 20px 40px -15px rgba(229, 255, 11, 0.1);
}

.badge-soon {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(229, 255, 11, 0.15);
    color: #e5ff0b;
    border: 1px solid rgba(229, 255, 11, 0.35);
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* === Cookie Consent Bar === */
.cookie-banner {
    position: fixed;
    bottom: 1.25rem;
    left: 1rem;
    right: 1rem;
    max-width: 860px;
    margin: 0 auto;
    background: rgba(14, 14, 14, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1.5rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 35px rgba(229, 255, 11, 0.08);
    z-index: 9999;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transform: translateY(140%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease, visibility 0.5s;
}

@media (min-width: 768px) {
    .cookie-banner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
        bottom: 1.75rem;
        left: 1.5rem;
        right: 1.5rem;
        padding: 1.25rem 1.75rem;
    }
}

.cookie-banner.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

[data-theme='light'] .cookie-banner {
    background: rgba(18, 18, 18, 0.94);
    border-color: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 0, 0, 0.1);
}

.cookie-btn-accept {
    background: #e5ff0b;
    color: #000000;
    font-weight: 800;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.7rem 1.35rem;
    border-radius: 0.85rem;
    transition: all 0.25s ease;
    cursor: pointer;
    white-space: nowrap;
    border: 1px solid #e5ff0b;
}

.cookie-btn-accept:hover {
    transform: scale(1.04);
    box-shadow: 0 0 20px rgba(229, 255, 11, 0.5);
    background: #f4ff61;
}

.cookie-btn-decline {
    background: rgba(255, 255, 255, 0.06);
    color: #b0b0b0;
    font-weight: 700;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.7rem 1.1rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.25s ease;
    cursor: pointer;
    white-space: nowrap;
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.28);
}

/* Accessibility Focus States */
:focus-visible {
    outline: 2px solid #e5ff0b !important;
    outline-offset: 2px !important;
}

/* Floating Mobile Quick Inquiry Trigger */
.floating-mobile-inquiry {
    position: fixed;
    bottom: 24px;
    right: 20px;
    z-index: 45;
    background: #0d0d0d;
    color: #e5ff0b;
    border: 1.5px solid rgba(229, 255, 11, 0.5);
    padding: 0.75rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(229, 255, 11, 0.25);
    transform: translateY(100px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.floating-mobile-inquiry.visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.floating-mobile-inquiry:hover {
    background: #e5ff0b;
    color: #000000;
    box-shadow: 0 12px 35px rgba(229, 255, 11, 0.45);
    transform: translateY(-2px);
}

@media (min-width: 768px) {
    .floating-mobile-inquiry {
        display: none !important;
    }
}

/* Simulator Preset Chips */
.sim-chip {
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 700;
    color: #b0b0b0;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.sim-chip:hover {
    background: rgba(229, 255, 11, 0.15);
    border-color: #e5ff0b;
    color: #e5ff0b;
    transform: translateY(-1px);
}

