:root {
    color-scheme: only light;
}

/* Hide cursor only when loader is active */
#premium-loader,
#premium-loader *,
body.loading-active,
body.loading-active * {
    cursor: none !important;
    box-sizing: border-box;
}

body.loading-active .custom-cursor {
    display: none !important;
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #002E51;
    /* Premium dark background */
    overflow: hidden;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Background Video Wrapper — provides a stable coordinate system */
.bg-video-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

/* Premium Minimalist Loading Screen */
#premium-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 46, 81, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 9999;
    cursor: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

#premium-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-progress-container {
    width: 120px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loader-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #0992d1, #35D0F7);
    transition: width 0.1s linear;
}


#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(1.1);
    object-position: center;
}

/* Portrait Orientation (Desktop Portrait & Mobile) */
@media (orientation: portrait) {
    #bg-video {
        /* Technique: Make video larger and scale down to "zoom out" without borders */
        width: 140%;
        height: 140%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.715);
        /* Brings it back to fill parent */

        /* Shift focus to the right where the blobs are centered in the source */
        object-position: 80% center;
    }
}

/* Tablet / iPad Specific (Matches original layout logic) */
@media (min-width: 768px) and (max-width: 1024px) {
    #bg-video {
        width: 100%;
        height: 100%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        object-position: 72% center;
    }
}

/* Mobile Specific (Applying the zoom-out technique) */
@media (max-width: 767px) {
    #bg-video {
        width: 150%;
        height: 150%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.667);

        object-position: 80% center;
    }
}

/* Ensure all interactive elements hide default cursor */
a,
button,
[role="button"],
.keyword-pill,
.name,
.countdown-unit {
    cursor: none !important;
}



/* GCP Logo — live vector overlay with autonomous orbital shadow */
.gcp-brand-group {
    position: absolute;
    top: clamp(28.8px, 3vmin + 24px, 57.6px);
    left: clamp(28.8px, 3vmin + 24px, 57.6px);
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.8vmin + 6px, 24px);
    z-index: 100;
}

.gcp-logo-container {
    position: relative;
    width: clamp(60px, 7.2vmin + 36px, 108px);
    height: clamp(60px, 7.2vmin + 36px, 108px);
    flex-shrink: 0;
    pointer-events: auto;
    cursor: pointer;
}

.gcp-text-block {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    margin-top: 1px;
}

.gcp-line-1 {
    color: #0165a2;
    font-size: clamp(13.8px, 1.44vmin + 9.6px, 17.52px);
    font-weight: 500;
}

.gcp-line-2,
.gcp-line-3 {
    color: #000;
    font-size: clamp(18px, 1.92vmin + 12px, 25.56px);
    font-weight: 320;
}

.btn-demo {
    margin-left: clamp(12px, 1.8vmin + 6px, 24px);
    padding: clamp(7.2px, 0.96vmin + 4.8px, 12px) clamp(19.2px, 2.4vmin + 12px, 28.8px);
    background: transparent;
    border: 1.5px solid rgba(53, 208, 247, 0.4);
    border-radius: 9.6px;
    color: #35D0F7;
    font-size: clamp(10.8px, 0.72vmin + 7.2px, 14.4px);
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: auto;
    backdrop-filter: blur(4.8px);
}

@media (hover: hover) {
    .btn-demo:hover {
        background: rgba(53, 208, 247, 0.2);
        border-color: rgba(53, 208, 247, 0.8);
        color: #35D0F7;
        box-shadow: 6px -6px 36px 4px rgba(10, 155, 235, 0.45);
    }
}

body.demo-active .btn-demo {
    background: rgba(53, 208, 247, 0.2);
    border-color: rgba(53, 208, 247, 0.8);
    color: #35D0F7;
    box-shadow: 6px -6px 36px 4px rgba(10, 155, 235, 0.45);
}

/* Mobile Header Architecture */
@media (max-width: 1024px) {
    .gcp-brand-group {
        top: 0;
        left: 0;
        width: 100%;
        /* Safety to prevent overflow instead of vw */
        padding: clamp(12px, 3.2vw, 19.2px) clamp(16px, 4.2vw, 24px);
        /* Optimized mobile padding */
        background: linear-gradient(to bottom, rgba(0, 56, 99, 1), rgba(0, 56, 99, 0.65));
        backdrop-filter: blur(19.2px);
        -webkit-backdrop-filter: blur(19.2px);
        box-sizing: border-box;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        z-index: 9500;
    }

    .gcp-logo-container {
        width: 52px;
        /* Slightly compacted to align with new text height */
        height: 52px;
    }

    .gcp-line-1 {
        font-size: 10px;
        /* Reduced to tightly match logo height */
    }

    .gcp-line-2,
    .gcp-line-3 {
        font-size: 13.8px;
        /* Scaled down to match logo height */
    }

    @media (max-width: 767px) {
        .btn-demo {
            margin-left: auto;
            white-space: nowrap;
            padding: 8px 14.4px;
            font-size: 10.4px;
            border-width: 1px;
            border-color: #35D0F7;
            background: transparent;
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
        }
    }

    @media (min-width: 768px) and (max-width: 1024px) {
        .btn-demo {
            margin-left: auto;
            white-space: nowrap;
            padding: clamp(6px, 0.42vmin + 6px, 10.8px) clamp(13.2px, 1.08vmin + 10.8px, 22.8px);
            font-size: clamp(10.2px, 0.66vmin + 8.4px, 16.2px);
            border-width: 1px;
            border-color: #35D0F7;
            letter-spacing: 0.08em;
            background: transparent;
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
        }
    }
}

/* Dedicated DOM element for glow avoids CSS variable layout recalculations */
.gcp-glow {
    position: absolute;
    top: -55%;
    /* Centered for 210% width */
    left: -55%;
    width: 210%;
    height: 210%;
    background: url('glow.png') no-repeat center/contain;
    /* Initial static offset, dynamic updates handled directly by JS inline */
    transform: translate(15%, -15%);
    z-index: -1;
    opacity: 0.8;
    /* Subtle luminous intensity */
    will-change: transform;
}

#gcp-svg {
    width: 100%;
    height: 100%;
    display: block;
    will-change: transform;
    /* Hardware-isolate SVG to prevent repaint when underlying glow animates */
}

#gcp-svg .st0 {
    fill: url(#gcp-gradient);
    /* Linear transition from Top-Right to Bottom-Left (#0165a2) */
    transition: fill 0.3s ease;
}

/* Countdown Styles */
.countdown-container {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: 19.2px;
    transform: translate(-50%, -50%) scale(0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 5vw, 110px);
    /* Tighter unit gap to prioritize internal digit spacing */
    z-index: 200;
    opacity: 0.9;
    color: #000000;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

@media (min-width: 1025px) {
    .countdown-container {
        margin-top: 10px;
        /* Fine-tuned: just slightly higher than the original version */
    }
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: clamp(74px, 12.8vw, 172px);
    /* Scaled for mobile breathing room */
    flex-shrink: 0;
    position: relative;
}

.countdown-unit:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: calc(clamp(38px, 5vw, 110px) / -2);
    /* Synchronized with new gap */
    width: 0;
    border-right: 1.5px solid rgba(0, 0, 0, 0.95);
    height: clamp(84px, 15vw, 192px);
    transform: translateY(calc(-50% + 12px));
}

.digits-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: clamp(74px, 10.4vw, 148px);
    gap: 10px;
    /* Increased internal mobile gap specifically for wide '0's */
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Whole-group Optical Centering for Asymmetric Pairs */
.digits-container.tens-is-one:not(.ones-is-one) {
    transform: translateX(calc(clamp(4px, 1vw, 12px) * -1));
}

.digits-container.ones-is-one:not(.tens-is-one) {
    transform: translateX(clamp(4px, 1vw, 12px));
}

.digit-wrapper {
    position: relative;
    height: clamp(58px, 10.4vw, 148px);
    width: clamp(32px, 5.2vw, 74px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.digit-bounds {
    font-size: clamp(30px, 8.4vw, 128px);
    /* Slightly smaller base font for mobile fit */
    font-weight: 100;
    letter-spacing: 0;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
}

.digit {
    font-size: clamp(30px, 8.4vw, 128px);
    /* Harmonized with bounds */
    font-weight: 100;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0;
    line-height: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    opacity: 1;
}

/* Dynamic Kerning for 1 - shifts ink closer to the optical center */
.digit-wrapper.tens .digit.digit-one {
    left: calc(50% + clamp(4px, 1vw, 12px));
}

.digit-wrapper.ones .digit.digit-one {
    left: calc(50% - clamp(4px, 1vw, 12px));
}

.digit.fade-out {
    animation: fancyOut 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.digit.fade-in {
    animation: fancyIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fancyOut {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) perspective(500px) rotateX(0deg) scale(1) translateY(0);
        filter: blur(0px);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) perspective(500px) rotateX(60deg) scale(0.9) translateY(-20px);
        filter: blur(12px);
    }
}

@keyframes fancyIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) perspective(500px) rotateX(-60deg) scale(0.9) translateY(20px);
        filter: blur(12px);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) perspective(500px) rotateX(0deg) scale(1) translateY(0);
        filter: blur(0px);
    }
}

.countdown-label {
    font-size: clamp(11px, 2vw, 22px);
    /* Reduced label size */
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-top: -3.6px;
}

/* Mobile 2x2 Grid Layout */
@media (max-width: 1024px) {
    .countdown-container {
        top: 41%;
        /* Micro-adjusted down for exact visual preference */
        display: grid;
        grid-template-columns: 1fr 1fr;
        row-gap: 28.8px;
        column-gap: 38.4px;
    }

    .countdown-unit {
        width: 100%;
    }

    /* Hide the vertical desktop separators in grid view */
    .countdown-unit:not(:last-child)::after {
        display: none;
    }

    /* Override extreme linear scaling to keep digits boldly 
       legible within the larger grid quadrants */
    .digit,
    .digit-bounds {
        font-size: clamp(72px, 19.2vw, 120px);
    }

    .digit-wrapper {
        height: clamp(72px, 19.2vw, 120px);
        width: clamp(36px, 9.6vw, 60px);
    }

    .digits-container {
        width: clamp(72px, 19.2vw, 120px);
    }

    .countdown-label {
        font-size: clamp(14.4px, 4.2vw, 19.2px);
    }
}

/* Glass Stencil Layer (Information Block) */
.glass-stencil {
    position: absolute;
    bottom: clamp(28.8px, 3vmin + 24px, 57.6px);
    left: clamp(28.8px, 3vmin + 24px, 57.6px);
    z-index: 150;
    display: flex;
    flex-direction: column;
    pointer-events: auto;
}

.keywords-grid {
    display: flex;
    flex-direction: column;
    gap: clamp(8.4px, 0.42vmin + 8.4px, 13.2px);
    align-items: flex-start;
    transition: opacity 0.2s ease;
}

.keyword-row {
    display: flex;
    align-items: center;
    gap: inherit;
    opacity: 0;
    animation: intro-fade-in 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.keyword-row:nth-child(1) {
    animation-delay: 0.1s;
}

.keyword-row:nth-child(2) {
    animation-delay: 0.25s;
}

.keyword-pill {
    padding: clamp(6px, 0.42vmin + 6px, 10.8px) clamp(13.2px, 1.08vmin + 10.8px, 22.8px);
    border: 1px solid #02568B;
    border-radius: 999px;
    background: transparent;
    color: #02568B;
    font-size: clamp(10.2px, 0.66vmin + 8.4px, 16.2px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    cursor: default;
}

@media (max-width: 767px) {
    .glass-stencil {
        bottom: 12px;
        /* copyright flows inside; its bottom edge = 12px from screen */
        left: clamp(16px, 4.2vw, 24px);
        right: clamp(16px, 4.2vw, 24px);
        /* Absolute safety bounds on both sides */
        width: auto;
        display: flex;
        flex-direction: column;
    }

    .keywords-grid {
        width: 100%;
        align-items: flex-start;
        /* Restored natural alignment */
    }

    .keyword-row {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
        gap: 8px;
        /* Slightly more breathing room */
    }

    .keyword-pill {
        color: #35D0F7;
        border-color: #35D0F7;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        font-size: clamp(8px, 2.3vw, 10px);
        /* Fine-tuned for better fit */
        padding: 10px 12px;
        /* Balanced horizontal padding (fixed margin) */
        white-space: nowrap;
        text-align: center;
        flex: 1 1 auto;
        /* Proportional stretching: long strings get more room while still filling the row */
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1.2;
    }
}

.mobile-team-trigger {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 600;
    color: #0165a2;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.mobile-team-trigger:hover {
    opacity: 0.8;
}

.mobile-team-trigger .chevron-up {
    width: 16px;
    height: 16px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}



.employee-names {
    margin-top: clamp(14.4px, 1.8vmin + 12px, 28.8px);
    display: flex;
    flex-direction: column;
    gap: clamp(4.8px, 0.48vmin + 4.8px, 9.6px);
    opacity: 0;
    animation: intro-fade-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.names-row {
    font-size: clamp(12px, 0.84vmin + 9.6px, 19.2px);
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: clamp(10.8px, 1.08vmin + 9.6px, 21.6px);
    line-height: normal;
}

.name {
    color: #000;
    /* Pure Black for names */
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

@media (hover: hover) {
    .name:hover {
        color: #35D0F7;
        /* Unified Cyan Highlight */
        text-shadow: 0 0 12px rgba(53, 208, 247, 0.4), 0 0 22px rgba(53, 208, 247, 0.2);
    }

    .name:hover .trust-icon {
        filter: none;
    }
}

@media (min-width: 768px) {
    .desktop-hide {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .mobile-team-trigger {
        display: flex;
        margin-top: 4vh;
        /* same gap as button→copyright below */
        margin-bottom: 0;
    }

    .employee-names {
        margin-top: 0;
        margin-bottom: 0;
        display: flex;
        flex-direction: row;
        /* Cloud flow */
        flex-wrap: wrap;
        justify-content: center;
        align-content: center;
        gap: 8px 12px;
        /* Identical vertical and horizontal spacing */
        text-align: center;
        line-height: normal;
        /* Handled by gap */
        white-space: normal;
        animation: none !important;
        /* Prevents the desktop entrance animation from forcing opacity/transform */

        position: fixed;
        bottom: 0;
        left: 0;
        width: 100vw;
        padding: 0 24px;
        background: linear-gradient(to bottom, rgba(0, 56, 99, 0.35), rgba(0, 56, 99, 0.75));
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-radius: 30px 30px 0 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 -20px 80px rgba(1, 101, 162, 0.45);
        z-index: 1000;
        box-sizing: border-box;
        min-height: calc(2 * clamp(40px, 6vh, 80px) + 110px);
        height: calc(2 * clamp(40px, 6vh, 80px) + 110px);

        transform: translateY(100%);
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
        opacity: 0;
        pointer-events: none;
    }

    .employee-names.overlay-active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .names-row {
        display: contents;
        /* Unwraps names so they all flow together */
    }

    .employee-names,
    .names-row {
        font-size: 14px;
        color: #000;
    }

    .name {
        display: inline-block;
        color: #000;
        white-space: nowrap;
    }

    .separator {
        display: inline-block;
        color: rgba(0, 0, 0, 0.4);
        font-weight: 400;
        margin: 0;
        /* Gaps handled by parent container */
    }

    .and-more {
        margin-left: 4px;
        color: rgba(0, 0, 0, 0.6);
    }
}

.trust-icon {
    width: clamp(16px, 1.25vmin + 10px, 22px);
    height: clamp(16px, 1.25vmin + 10px, 22px);
    transition: filter 0.3s ease;
}

.trust-link {
    display: inline-flex;
    align-items: center;
    gap: clamp(8px, 0.6vmin + 4px, 12px);
    color: #35D0F7;
}

.mobile-trust-container {
    display: none;
}

@media (hover: hover) {
    .trust-link:hover {
        color: #000;
        text-shadow: none;
    }

    .trust-link:hover .trust-icon {
        filter: none;
    }
}

.trust-anchor {
    position: absolute;
    bottom: clamp(28.8px, 3vmin + 24px, 57.6px);
    right: clamp(28.8px, 3vmin + 24px, 57.6px);
    z-index: 150;
    pointer-events: auto;
    opacity: 0;
    animation: intro-fade-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

@media (max-width: 1024px) {
    .trust-anchor {
        display: none !important;
    }

    .mobile-trust-container {
        display: block;
        position: relative;
        /* Participates in flex flow now */
        text-align: left;
    }

    .mobile-trust-btn {
        color: #0165A2 !important;
        text-shadow: none !important;
        opacity: 0.9;
        transition: none !important;
    }

    .mobile-trust-btn:hover {
        color: #0165A2 !important;
        text-shadow: none !important;
    }

    .mobile-trust-btn .trust-icon {
        filter: none !important;
    }

    /* Disable URL previews on mobile - they aren't visible or needed on touch */
    .custom-link-preview {
        display: none !important;
    }
}

@keyframes intro-fade-in {
    from {
        opacity: 0;
        transform: translateY(15px);
        filter: blur(8px);
    }

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

/* Custom UI Cursor & Link Previews */
@media (pointer: fine) {
    .custom-cursor {
        display: none;
    }
}

@media (hover: hover) and (pointer: fine) {
    .custom-cursor {
        position: fixed;
        top: 0;
        left: 0;
        width: 14.4px;
        /* 12 * 1.2 */
        height: 14.4px;
        border-radius: 50%;
        border: 1px solid #18A8E3;
        background-color: rgba(24, 168, 227, 0.2);
        mix-blend-mode: screen;
        z-index: 100000;
        /* Ensure it stays above all overlays including Trust Center (20000) */
        pointer-events: none;
        will-change: transform;
        display: block;
    }
}

/* Elegant Custom Link Preview Tooltip (Desktop Only) */
.custom-link-preview {
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .custom-link-preview {
        position: fixed;
        bottom: 0;
        left: 0;
        padding: 4.8px 12px;
        /* 4/10 * 1.2 */
        background: rgba(0, 46, 81, 0.6);
        backdrop-filter: blur(9.6px);
        /* 8 * 1.2 */
        -webkit-backdrop-filter: blur(9.6px);
        border-top: 1px solid rgba(1, 101, 162, 0.7);
        border-right: 1px solid rgba(1, 101, 162, 0.7);
        border-top-right-radius: 7.2px;
        /* 6 * 1.2 */
        color: #0165a2;
        font-size: 12px;
        /* 10 * 1.2 */
        font-weight: 300;
        pointer-events: none;
        z-index: 10000;
        opacity: 0;
        visibility: hidden;
        transform: translateY(12px);
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        display: block;
    }

    .custom-link-preview.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* ─── Demo Active States ─── */
body.demo-active .glass-stencil {
    opacity: 0;
    pointer-events: none;
    transform: translateY(24px);
    /* 20 * 1.2 */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body:not(.demo-active) .glass-stencil {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body.demo-active .countdown-container {
    filter: blur(8px);
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(0.9);
    /* Subtle retreat (5% recoil) */
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body:not(.demo-active) .countdown-container {
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ─── Book a Demo Composition Element ─── */
.demo-sidebar {
    position: absolute;
    top: 60%;
    /* Desktop dynamic centering */
    left: clamp(28.8px, 3vmin + 24px, 57.6px);
    width: min(456px, calc(100vw - (clamp(28.8px, 3vmin + 24px, 57.6px) * 2)));
    z-index: 9000;
    transform: translate(-60px, -50%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Default desktop */
    height: 100%;
}

body.demo-active .demo-sidebar {
    transform: translate(0, -50%);
    opacity: 1;
    pointer-events: auto;
}

/* Subtle upward shift when success is shown to leave more room at the bottom */
.demo-sidebar.success-active {
    transform: translate(-60px, calc(-50% - 30px));
    /* Tiny bit more up: 25 * 1.2 */
}

body.demo-active .demo-sidebar.success-active {
    transform: translate(0, calc(-50% - 30px));
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: clamp(18px, 3.6vh, 36px);
    /* 15/3/30 * 1.2 */
}

.form-group {
    position: relative;
}

.form-group input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: clamp(7.2px, 1.44vh, 12px) 0;
    color: #fff;
    font-size: clamp(15.6px, 3.6vw, 17.52px);
    font-family: inherit;
    font-weight: 300;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus {
    border-bottom-color: #35D0F7;
}

/* Prevent browser autofill from overriding custom field styling */
.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
    box-shadow: 0 0 0 1000px transparent inset !important;
    -webkit-text-fill-color: #fff !important;
    transition: background-color 600000s 0s, color 600000s 0s !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: 300 !important;
    background-color: transparent !important;
    caret-color: #fff;
}

.checkbox-group {
    margin-top: 10px;
}

.custom-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: default;
}

.custom-checkbox-label input {
    display: none;
}

.custom-checkbox {
    width: clamp(16.8px, 3.6vw, 21.6px);
    height: clamp(16.8px, 3.6vw, 21.6px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 4.8px;
    /* 4 * 1.2 */
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s ease;
    margin-top: 2.4px;
}

.custom-checkbox-label input:checked+.custom-checkbox {
    background: #35D0F7;
    border-color: #35D0F7;
}

.custom-checkbox-label input:checked+.custom-checkbox::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 45%;
    width: 4px;
    height: 9px;
    border: solid #001f3f;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -50%) rotate(45deg);
}

@media (max-width: 1024px) {
    .custom-checkbox-label input:checked+.custom-checkbox {
        background: transparent;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3Cmask id='m'%3E%3Crect width='24' height='24' fill='white'/%3E%3Cpath fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' d='M6 13l4 4L18 7'/%3E%3C/mask%3E%3C/defs%3E%3Crect width='24' height='24' fill='white' mask='url(%23m)'/%3E%3C/svg%3E");
        background-size: cover;
        background-position: center;
    }

    .custom-checkbox-label input:checked+.custom-checkbox::after {
        display: none;
    }
}

.checkbox-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: clamp(12px, 3vw, 15.6px);
    line-height: 1.5;
    font-weight: 300;
}

.btn-submit {
    margin-top: clamp(12px, 2.4vh, 24px);
    padding: 15px clamp(19.2px, 3.6vw, 28.8px);
    /* Fixed vertical padding for height stability */
    background: transparent;
    border: 1.5px solid rgba(53, 208, 247, 0.4);
    border-radius: 9.6px;
    color: #35D0F7;
    font-size: clamp(14px, 3.2vw, 16px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    align-self: flex-start;
    flex-shrink: 0;
    /* Never allow the button to be squashed */
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    background: rgba(53, 208, 247, 0.2);
    box-shadow: 0 0 20px rgba(53, 208, 247, 0.3);
    border-color: #35D0F7;
}

.btn-submit.disabled {
    opacity: 0.3;
    pointer-events: none;
}

.demo-success-msg,
.demo-error-msg {
    margin-top: clamp(12px, 2.4vh, 18px);
    color: #35D0F7;
    font-size: 15.6px;
    font-weight: 400;
    line-height: 1.6;
    text-align: left;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: translateY(-5px);
    display: none;
}

.demo-error-msg {
    color: #ff4d4d;
    /* Elegant red for errors */
}

.demo-form.form-success .demo-success-msg {
    display: block;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.demo-form.form-error .demo-error-msg {
    display: block;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.btn-submit.loading {
    opacity: 0.7;
    cursor: wait;
}

.btn-submit.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    right: 20px;
    margin-top: -8px;
    border: 2px solid rgba(53, 208, 247, 0.3);
    border-top-color: #35D0F7;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

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

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

/* --- Mobile Dynamic Even Spacing Fix --- */
@media (max-width: 1024px) {

    body,
    html {
        display: flex;
        flex-direction: column;
        overflow: hidden !important;
        height: 100% !important;
        max-height: 100dvh;
        touch-action: none;
        overscroll-behavior: none;
    }

    .gcp-brand-group {
        position: relative !important;
        flex-shrink: 0;
    }

    .countdown-container {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        margin: auto !important;
        /* Perfectly balances vertical space above and below */
        order: 2 !important;
    }

    .glass-stencil {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        box-sizing: border-box;
        padding-left: clamp(16px, 4.2vw, 24px);
        padding-right: clamp(16px, 4.2vw, 24px);
        padding-bottom: clamp(30px, 6vh, 60px);
        margin: 0 !important;
        order: 3 !important;
        flex-shrink: 0;
    }

    /* Mobile Spacing Architecture: Flex-Lock Symmetrical Anchoring */
    :root {
        --mobile-gutter: clamp(32px, 11dvh, 120px);
        /* Lower floor for short screens to prevent content clipping */
        /* tested */
        --header-height: calc(52px + clamp(24px, 6.4vw, 38.4px));
    }

    /* Tighten symmetric gaps only when vertical space is scarce (e.g. iPhone SE, iPhone 8) 
       Threshold set to 700px to exclude devices like S8+ (740px) which fit comfortably. */
    @media (max-height: 700px) {
        :root {
            --mobile-gutter: clamp(18px, 8dvh, 48px);
        }
    }



    .demo-sidebar {
        position: fixed !important;
        /* Switch to fixed to be viewport-fit browser proof */
        top: calc(var(--header-height) + var(--mobile-gutter)) !important;
        bottom: var(--mobile-gutter) !important;
        left: clamp(28.8px, 3vmin + 24px, 57.6px) !important;
        right: clamp(28.8px, 3vmin + 24px, 57.6px) !important;
        width: auto !important;
        padding: 0 clamp(19.2px, 4.8vw, 48px) !important;
        transform: translate(-60px, 0) !important;
        overflow: hidden;
        /* Prevent content from breaking the vertical symmetry Slot */
    }

    .sidebar-content {
        justify-content: space-between !important;
        height: 100% !important;
    }

    .demo-form {
        flex-shrink: 1;
        overflow-y: auto;
        /* Ensure form doesn't push the Trust Center on short heights like 667px */
        min-height: 0;
        scrollbar-width: none;
        /* Clean look */
    }

    .demo-form::-webkit-scrollbar {
        display: none;
    }

    .mobile-trust-container {
        flex-shrink: 0;
        /* Guard the bottom position against form growth */
        padding-top: 15px;
    }

    body.demo-active .demo-sidebar {
        transform: translate(0, 0) !important;
    }

    /* Precision Text Alignment: Remove inherited field padding so text starts exactly at the gutter boundary */
    .demo-form .form-group:first-child input {
        padding-top: 0 !important;
    }
}

/* --- Tablet Hybrid Refinements (768px - 1024px) --- */
@media (min-width: 768px) and (max-width: 1024px) {
    .keyword-pill {
        color: #35D0F7 !important;
        border-color: #35D0F7 !important;
    }

    .name {
        color: #000 !important;
        /* Keep names black for contrast against bright backgrounds */
    }

    .name:hover {
        color: #35D0F7 !important;
    }

    .gcp-line-1 {
        color: #35D0F7 !important;
    }
}

/* ─── Copyright Footer ────────────────────────────────────────── */
.copyright-footer {
    display: block;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 400;
    line-height: 1;
    color: rgba(53, 208, 247, 0.2);
    letter-spacing: 0.06em;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    animation: intro-fade-in 1s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

@media (max-width: 767px) {
    .copyright-footer {
        margin-top: 4vh;
        text-align: center;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .copyright-footer {
        position: fixed;
        bottom: 12px;
        left: 0;
        width: 100%;
        text-align: center;
    }
}

@media (min-width: 1025px) {
    .copyright-footer {
        position: fixed;
        bottom: 10px;
        right: clamp(28.8px, 3vmin + 24px, 57.6px);
        left: auto;
        width: auto;
        text-align: right;
    }
}

/* ─── Trust Center Overlay ─────────────────────────────────────── */
.trust-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background: rgba(0, 18, 32, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 20000 !important;
    /* Ensure Trust Center is always at the absolute top of the stack when active */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    padding: 20px;
    pointer-events: none;
    /* Block interactions when hidden */
}

body.trust-active .trust-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    /* Enable interactions when active */
}

.trust-panel {
    background: linear-gradient(to bottom, rgba(0, 56, 99, 1), rgba(0, 56, 99, 0.65));
    backdrop-filter: blur(19.2px);
    -webkit-backdrop-filter: blur(19.2px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    box-sizing: border-box;
    width: min(860px, calc(100% - 40px));
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    position: relative;
    transform: translateY(30px) scale(0.98);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 20px 50px rgba(0, 18, 32, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}



body.trust-active .trust-panel {
    transform: translateY(0) scale(1);
}

.trust-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.trust-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

@media (min-width: 1025px) {
    .trust-panel {
        background: linear-gradient(to bottom, rgba(0, 56, 99, 0.7), rgba(0, 56, 99, 0.45));
        backdrop-filter: blur(120px);
        -webkit-backdrop-filter: blur(120px);
    }

    .trust-close:hover {
        background: rgba(53, 208, 247, 0.1);
        border: 1px solid rgba(53, 208, 247, 0.2);
        color: #35D0F7;
    }
}

.trust-content {
    padding: 60px;
    overflow-y: auto;
    /* Hide scrollbar for IE, Edge and Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.trust-content::-webkit-scrollbar {
    display: none;
}

.trust-header {
    margin-bottom: 50px;
    text-align: center;
}

.trust-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(53, 208, 247, 0.1);
    border: 1px solid rgba(53, 208, 247, 0.2);
    color: #35D0F7;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.trust-header h1 {
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 12px 0;
    color: #fff;
    letter-spacing: -1px;
}

.trust-subtitle {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    font-weight: 500;
}

.trust-sections section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0;
}

.trust-sections section:last-of-type {
    border-bottom: none;
}

.trust-sections h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 24px 0;
    letter-spacing: -0.02em;
}

.trust-sections p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.85;
    font-size: 15px;
    margin: 0 0 28px 0;
    text-align: justify;
    text-justify: inter-word;
}

.trust-sections ul,
.trust-sections ol {
    margin: 0 0 32px 0;
    padding: 0 0 0 24px;
    /* Move everything to the right */
    list-style: none;
}

.trust-sections li {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14.5px;
    padding-left: 32px;
    position: relative;
    margin-bottom: 22px;
    /* More space between items */
    line-height: 1.75;
}

.trust-sections ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    background: #35D0F7;
    border-radius: 50%;
}

.trust-sections ol {
    counter-reset: trust-counter;
}

.trust-sections ol li {
    counter-increment: trust-counter;
    padding-left: 32px;
}

.trust-sections ol li::before {
    content: counter(trust-counter) ".";
    position: absolute;
    left: 0;
    top: 0;
    color: #35D0F7;
    font-weight: 800;
    font-size: 14px;
}

.trust-contact-section {
    background: rgba(53, 208, 247, 0.03);
    padding: 50px 30px !important;
    border-radius: 24px;
    border: 1px solid rgba(53, 208, 247, 0.1) !important;
    text-align: center;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    margin-top: 40px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 800;
}

.contact-pill {
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-pill:hover {
    background: #fff;
    color: #001220;
    transform: translateY(-3px);
}

@media (max-width: 767px) {
    .trust-overlay {
        padding: 0;
    }

    .trust-panel {
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        /* Dynamic viewport height for mobile browsers */
        max-width: none;
        max-height: none;
        border-radius: 0;
        /* No rounded corners — full screen takeover */
        margin: 0;
        box-sizing: border-box;
        background: linear-gradient(to bottom, rgba(0, 56, 99, 1), rgba(0, 56, 99, 0.65));
        backdrop-filter: blur(19.2px);
        -webkit-backdrop-filter: blur(19.2px);
    }

    .trust-content {
        padding: 40px 24px;
    }

    .trust-header h1 {
        font-size: 32px;
    }
}

/* ─── Trust Trigger Buttons (Final Fix) ─── */
@media (min-width: 1025px) {
    .trust-anchor {
        position: fixed !important;
        bottom: clamp(28.8px, 3vmin + 24px, 57.6px);
        right: clamp(28.8px, 3vmin + 24px, 57.6px);
        z-index: 99999 !important;
        pointer-events: auto !important;
        opacity: 0;
        animation: intro-fade-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
        display: block !important;
    }
}

button.trust-link,
.mobile-trust-btn {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    font: inherit !important;
    color: #35D0F7 !important;
    /* Cyan Blue Default */
    opacity: 1 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.trust-link svg,
.mobile-trust-btn svg {
    stroke: currentColor !important;
    width: 20px;
    height: 20px;
    transition: stroke 0.3s ease;
}

.trust-link:hover,
.mobile-trust-btn:hover {
    color: #000 !important;
    /* Black on hover */
    background: transparent !important;
}

/* Hide desktop-only trust button on mobile to prevent click capture issues */
@media (max-width: 1024px) {
    .trust-anchor {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
        opacity: 0 !important;
    }
}

/* ─── Mobile Overrides ────────────────────────────────────── */
@media (max-width: 767px) {
    .mobile-team-trigger {
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        padding: 0 !important;
        color: #0165a2 !important;
        display: flex !important;
        box-shadow: none !important;
        outline: none !important;
    }
}

@media (max-width: 1024px) {
    /* Disable the mobile Trust Center container entirely when sidebar is closed
       so it cannot intercept touches on elements beneath it */
    .mobile-trust-container,
    .mobile-trust-btn {
        pointer-events: none !important;
    }

    body.demo-active .mobile-trust-container,
    body.demo-active .mobile-trust-btn {
        pointer-events: auto !important;
    }

    .mobile-trust-container {
        display: block !important;
        padding-top: 15px !important;
        text-align: center !important;
        /* Centered in sidebar */
        width: 100% !important;
    }

    .mobile-trust-btn {
        background: transparent !important;
        border: none !important;
        color: #35D0F7 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        cursor: pointer !important;
    }

    .trust-sections ul,
    .trust-sections ol {
        padding-left: 12px;
        /* Reduced mobile indentation to fix "gap" feel */
    }

    .trust-sections li {
        padding-left: 24px;
        font-size: 14px;
    }
}