﻿/* ==========================================================================
   PALANTIR GLOBAL DESIGN TOKENS
   ========================================================================== */
:root {
    --pal-bg: #050608;
    --pal-surface: #0C0E12;
    --pal-border: rgba(255, 255, 255, 0.12);
    --pal-border-subtle: rgba(255, 255, 255, 0.06);
    --pal-accent: #38BDF8;
    --pal-Duration: 6000ms;
}

body {
    background-color: var(--pal-bg);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

.pal-mono {
    font-family: 'JetBrains Mono', monospace;
}

.pal-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

/* ==========================================================================
   FLOATING PILL NAVBAR OVER VIDEO
   ========================================================================== */
.pal-header-overlay {
    position: fixed;
    top: 1.25rem;
    left: 0;
    right: 0;
    z-index: 1050;
    pointer-events: none;
}

.pal-pill-navbar {
    pointer-events: auto;
    background: rgba(12, 14, 18, 0.78);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    padding: 0.75rem 1.35rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.pal-nav-link {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease;
}

    .pal-nav-link:hover {
        color: #ffffff;
    }

/* ==========================================================================
   HIGH-VISIBILITY PALANTIR VIDEO HERO
   ========================================================================== */
.pal-video-hero {
    position: relative;
    width: 100%;
    height: 95vh;
    min-height: 680px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 5.5rem;
    overflow: hidden;
    background-color: #040507;
}

.pal-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.92;
    filter: contrast(1.08) brightness(1.08) saturate(1.05);
}

.pal-video-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(4, 5, 7, 0.55) 0%, rgba(4, 5, 7, 0.05) 30%, rgba(4, 5, 7, 0.15) 65%, #050608 100%), radial-gradient(circle at 20% 80%, rgba(4, 5, 7, 0.65) 0%, transparent 55%);
    pointer-events: none;
}

.pal-video-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    text-shadow: 0 4px 28px rgba(0, 0, 0, 0.85);
}

.pal-video-scroll-bar {
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    z-index: 2;
}

/* ==========================================================================
   TIMED TABBED SHOWCASE CAROUSEL
   ========================================================================== */
.pal-showcase-section {
    background-color: #080A0E;
    color: #FFFFFF;
    padding: 4.5rem 0 5rem 0;
    overflow: hidden;
}

.pal-tab-bar {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
}

    .pal-tab-bar::-webkit-scrollbar {
        display: none;
    }

.pal-tab-btn {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.65);
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.42rem 0.95rem;
    border-radius: 3px;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

    .pal-tab-btn:hover {
        color: #fff;
        border-color: rgba(255, 255, 255, 0.35);
    }

    .pal-tab-btn.active {
        color: #fff;
        border-color: #fff;
        background: rgba(255, 255, 255, 0.06);
    }

.pal-tab-progress {
    position: absolute;
    top: 0;
    bottom: 0;
    inset-inline-start: 0;
    width: 0%;
    background: rgba(255, 255, 255, 0.18);
    pointer-events: none;
    z-index: 0;
}

.pal-tab-btn.active .pal-tab-progress {
    animation: palTabTimer var(--pal-Duration) linear forwards;
}

.pal-tab-ViewPaused .pal-tab-btn.active .pal-tab-progress {
    animation-play-state: paused;
}

.pal-tab-label {
    position: relative;
    z-index: 1;
}

@keyframes palTabTimer {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

.pal-carousel-viewport {
    position: relative;
    width: 100%;
    margin-top: 1.5rem;
}

.pal-carousel-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.pal-carousel-slide {
    flex: 0 0 82%;
    max-width: 1120px;
    min-height: 440px;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0D1117;
    opacity: 0.42;
    transform: scale(0.97);
    transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.4s ease;
    cursor: pointer;
}

    .pal-carousel-slide.active {
        opacity: 1;
        transform: scale(1);
        border-color: rgba(255, 255, 255, 0.28);
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65);
    }

.pal-slide-overlay-card {
    position: relative;
    z-index: 2;
    margin: 2rem;
    max-width: 480px;
    background: rgba(22, 25, 32, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.75rem 2rem;
    border-radius: 4px;
}

.pal-slide-category {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
}

.pal-slide-title {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.3;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

/* ==========================================================================
   DUAL MEGA-CTA BUTTONS
   ========================================================================== */
.pal-mega-cta-section {
    padding: 4rem 0 5rem 0;
    background-color: var(--pal-bg);
    border-top: 1px solid var(--pal-border);
}

.pal-mega-cta-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 195px;
    padding: 1.75rem 2.15rem;
    border-radius: 5px;
    text-decoration: none !important;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.28s ease;
}

.pal-mega-cta-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
}

.pal-mega-cta-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.75rem, 2.5vw, 2.35rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0;
}

.pal-mega-cta-arrow {
    font-size: 1.7rem;
    line-height: 1;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.pal-mega-cta-light {
    background-color: #DCDCE0;
    color: #16181D !important;
    border: 1px solid #DCDCE0;
}

    .pal-mega-cta-light:hover {
        background-color: #FFFFFF;
        border-color: #FFFFFF;
        transform: translateY(-3px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    }

.pal-mega-cta-dark {
    background-color: #1A1B1E;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

    .pal-mega-cta-dark:hover {
        background-color: #232529;
        border-color: rgba(255, 255, 255, 0.38);
        transform: translateY(-3px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
    }

.pal-mega-cta-card:hover .pal-mega-cta-arrow {
    transform: translateX(6px);
}

[dir="rtl"] .pal-mega-cta-arrow {
    display: inline-block;
    transform: scaleX(-1);
}

[dir="rtl"] .pal-mega-cta-card:hover .pal-mega-cta-arrow {
    transform: scaleX(-1) translateX(6px);
}

/* Primary Button Helper */
.pal-btn-solid {
    background: #ffffff;
    color: #050608;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 3px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

    .pal-btn-solid:hover {
        background: #38BDF8;
        color: #050608;
    }

.pal-btn-outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 3px;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

    .pal-btn-outline:hover {
        border-color: #ffffff;
        color: #ffffff;
        background: rgba(255, 255, 255, 0.05);
    }

/* ==========================================================================
   PALANTIR CONTACT & AUDIT INTAKE TERMINAL
   ========================================================================== */
.pal-intake-section {
    padding-top: 8.5rem;
    padding-bottom: 6rem;
    background: radial-gradient(circle at 80% 15%, rgba(56, 189, 248, 0.08), transparent 45%), var(--pal-bg);
    min-height: 88vh;
}

.pal-terminal-card {
    background: rgba(12, 14, 18, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--pal-border);
    border-radius: 4px;
    padding: 2.25rem;
}

.pal-channel-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    border: 1px solid var(--pal-border-subtle);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

    .pal-channel-box:hover {
        border-color: rgba(255, 255, 255, 0.3);
        background: rgba(255, 255, 255, 0.04);
        transform: translateY(-2px);
    }

.pal-form-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.45rem;
}

.pal-form-input {
    background-color: #07090D !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 3px !important;
    color: #FFFFFF !important;
    padding: 0.78rem 1rem !important;
    font-size: 0.95rem !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

    .pal-form-input::placeholder {
        color: rgba(255, 255, 255, 0.32) !important;
    }

    .pal-form-input:focus {
        background-color: #0A0D14 !important;
        border-color: var(--pal-accent) !important;
        box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12) !important;
    }

.pal-intent-pill {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .pal-intent-pill:hover,
    .pal-intent-pill.active {
        border-color: var(--pal-accent);
        background: rgba(56, 189, 248, 0.12);
        color: #ffffff;
    }


html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 5.5rem;
}