/* ========================================
   SECTIONS - Hero, Problem, Inteligencija
   ======================================== */

/* ========================================
   GRID BACKGROUNDS
   ======================================== */

.bg-grid {
    background-size: 40px 40px;
    background-image: linear-gradient(to right, oklch(var(--border) / 0.3) 1px, transparent 1px),
        linear-gradient(to bottom, oklch(var(--border) / 0.3) 1px, transparent 1px);
}

.bg-cyber-grid {
    background-size: 50px 50px;
    background-image:
        linear-gradient(to right, rgba(99, 102, 241, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 100%);
}

.bg-threat-grid {
    background-size: 40px 40px;
    background-image:
        linear-gradient(to right, rgba(239, 68, 68, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(239, 68, 68, 0.03) 1px, transparent 1px);
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.bg-kontrola-grid {
    background-size: 60px 60px;
    background-image:
        linear-gradient(to right, rgba(99, 102, 241, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
}

/* ========================================
   DESENTIX U AKCIJI SECTION - Combined Styles
   ======================================== */

/* Bot Network Styles */
.bot-network {
    position: relative;
    width: 200px;
    height: 176px;
}

/* Risk Zone Hatched Pattern */
.risk-zone-pattern {
    background: repeating-linear-gradient(-45deg,
            rgba(239, 68, 68, 0.15) 0px,
            rgba(239, 68, 68, 0.15) 2px,
            rgba(239, 68, 68, 0.05) 2px,
            rgba(239, 68, 68, 0.05) 8px);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 4px;
}

/* Card Glassmorphism Enhancement */
#desentix-u-akciji .group {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* ========================================
   BERTIC SECTION - Scroll Reveal (Intelligence Engine)
   ======================================== */

/* Bertic Section Base Reveal Animation */
#bertic-section .reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

#bertic-section .reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveal for left and right columns */
#bertic-section .grid>.reveal-on-scroll:first-child {
    transition-delay: 0s;
}

#bertic-section .grid>.reveal-on-scroll:last-child {
    transition-delay: 0.15s;
}

/* Stack layers staggered animation */
#bertic-section .stack-layer-1,
#bertic-section .stack-layer-2,
#bertic-section .stack-layer-3 {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

#bertic-section .reveal-on-scroll.visible .stack-layer-1 {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.2s;
}

#bertic-section .reveal-on-scroll.visible .stack-layer-2 {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.35s;
}

#bertic-section .reveal-on-scroll.visible .stack-layer-3 {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.5s;
}

/* Comment Container */
.semantic-comment {
    position: relative;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Comment default state */
.semantic-comment-1,
.semantic-comment-2,
.semantic-comment-3 {
    opacity: 0;
    transform: translateY(-10px);
}

/* Phase Transitions default */
.semantic-phase-1 {
    opacity: 1;
}

.semantic-phase-2,
.semantic-phase-3 {
    opacity: 0;
}

/* Scanning Line Effect */
.semantic-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
    opacity: 0.6;
}

/* Timer Animation */
.semantic-timer {
    animation: timerCount 8s linear infinite;
}

/* ========================================
   VIRAL VIDEO SECTION
   ======================================== */

/* Burning Effect Overlay on Video */
.viral-burn-effect {
    background: linear-gradient(45deg,
            transparent 0%,
            rgba(249, 115, 22, 0.1) 25%,
            rgba(239, 68, 68, 0.15) 50%,
            rgba(249, 115, 22, 0.1) 75%,
            transparent 100%);
    background-size: 200% 200%;
}

/* Video Container Hover Effect */
.viral-video-container {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.viral-video-container:hover {
    transform: scale(1.02);
}

/* TikTok Clickbait Text Style */
.tiktok-clickbait-text {
    line-height: 1.2;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.tiktok-clickbait-text span {
    display: inline-block;
    max-width: 100%;
}

/* ========================================
   ZIG-ZAG LAYOUT STYLES
   ======================================== */

.zigzag-row {
    position: relative;
}

.text-content-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 1;
    transform: none;
}

.animation-block {
    position: relative;
    opacity: 1;
    transform: none;
}

/* Reverse animation for second row */
.zigzag-row:nth-child(2) .animation-block {
    transform: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .zigzag-row {
        margin-bottom: 4rem;
    }

    .text-content-block {
        order: 1 !important;
    }

    .animation-block {
        order: 2 !important;
        margin-top: 2rem;
    }
}

/* ========================================
   MOBILE-FIRST RESPONSIVE OVERRIDES
   ======================================== */

@media (max-width: 768px) {

    /* Hero animation container adjustments */
    .hero-animation-container {
        height: 450px !important;
    }

    /* Cards stack positioning for mobile */
    .cards-stack {
        max-width: 95%;
        height: 180px;
    }

    /* Summary card mobile adjustments */
    .summary-card {
        width: 98%;
        max-width: none;
    }

    /* Progress stepper mobile */
    .progress-stepper {
        padding: 8px 16px;
        gap: 0;
    }

    .step-connector {
        width: 16px;
        margin: 0 4px;
    }

    .step-label {
        font-size: 7px;
        letter-spacing: 0.3px;
    }

    /* Semantic comments mobile */
    .semantic-comment {
        padding: 12px;
    }

    .semantic-comment .flex.items-start.gap-4 {
        gap: 12px;
    }

    .semantic-comment img {
        width: 32px;
        height: 32px;
    }

    .semantic-comment .text-base {
        font-size: 13px;
    }

    /* TikTok video container mobile */
    .viral-video-container {
        min-height: 280px;
    }

    /* TikTok clickbait text mobile */
    .tiktok-clickbait-text span:first-child {
        font-size: 12px !important;
        padding: 4px 8px !important;
    }

    .tiktok-clickbait-text span:last-child {
        font-size: 10px !important;
        padding: 3px 6px !important;
    }
}

@media (max-width: 480px) {

    /* Extra small device adjustments */
    .hero-animation-container {
        height: 450px;
    }

    .cards-stack {
        height: 160px;
    }

    /* Post cards extra small */
    .post-card-v2 {
        padding: 12px;
    }

    .card-header {
        gap: 8px;
        margin-bottom: 8px;
    }

    .card-text {
        font-size: 11px;
        margin-bottom: 8px;
        padding-bottom: 8px;
    }

    /* Progress stepper extra small */
    .progress-stepper {
        padding: 6px 12px;
    }

    .step-dot {
        width: 8px;
        height: 8px;
    }

    .step-label {
        font-size: 6px;
    }
}

/* ========================================
   SEMANTIC ANALYSIS ANIMATION - Mobile
   ======================================== */

@media (max-width: 640px) {

    /* Semantic threat badge mobile layout */
    .semantic-threat-badge {
        min-height: auto;
        padding: 10px 12px !important;
    }

    /* Semantic comments mobile */
    .semantic-comment {
        padding: 10px 12px;
    }

    .semantic-comment .text-base {
        font-size: 12px;
        line-height: 1.4;
    }

    .semantic-comment .text-sm {
        font-size: 11px;
    }

    .semantic-comment img {
        width: 28px;
        height: 28px;
    }

    /* Semantic phase animations container */
    .semantic-phases-container {
        min-height: 60px;
    }
}

/* ========================================
   PRECISION TIMELINE
   ======================================== */

/* Subtle hover effect on the entire timeline */
.precision-timeline:hover .absolute.top-1\/2.left-0.right-0.h-px {
    background-color: #334155;
    transition: background-color 0.3s ease;
}

/* Node hover states */
.precision-timeline [class*="NODE"] {
    transition: transform 0.2s ease;
}

/* Delta badge subtle animation */
.precision-timeline .bg-red-500\/\[0\.08\] {
    transition: all 0.3s ease;
}

.precision-timeline:hover .bg-red-500\/\[0\.08\] {
    background-color: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.3);
}

/* Mobile Timeline Adjustments */
@media (max-width: 640px) {
    .precision-timeline {
        padding: 0 0.5rem;
    }

    .precision-timeline .relative.h-24 {
        height: 5rem;
    }

    /* Simplify delta badge on mobile */
    .precision-timeline .absolute.-top-6 {
        top: -1.25rem;
    }

    .precision-timeline .px-5.py-2\.5 {
        padding: 0.5rem 0.75rem;
    }

    .precision-timeline .font-mono.text-\[15px\] {
        font-size: 12px;
    }

    .precision-timeline .text-\[10px\] {
        font-size: 9px;
    }

    /* Hide bracket on mobile */
    .precision-timeline .w-full.flex.items-start.mt-1\.5.h-4 {
        display: none;
    }

    /* Adjust node labels */
    .precision-timeline .font-mono.text-\[11px\],
    .precision-timeline .font-mono.text-\[12px\] {
        font-size: 10px;
    }

    .precision-timeline .text-\[9px\] {
        font-size: 8px;
    }

    /* Footer adjustments */
    .precision-timeline .flex.items-center.justify-between.pt-5 {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }

    .precision-timeline .flex.items-center.gap-6 {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}

/* ========================================
   TYPOGRAPHY ENHANCEMENTS
   ======================================== */

/* Eyebrow Label */
.eyebrow-label {
    position: relative;
}

.eyebrow-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, currentColor, transparent);
    opacity: 0.3;
}

/* ========================================
   DESENTIX U AKCIJI - KONTROLA SECTION STYLES
   ======================================== */

/* Story Content Block - Reveal Animation */
#desentix-u-akciji .story-content-block,
#desentix-u-akciji .reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

#desentix-u-akciji .story-content-block.visible,
#desentix-u-akciji .reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Story Row Alternating Layout - Staggered Reveal */
#desentix-u-akciji .story-row:nth-child(odd) .story-content-block {
    transition-delay: 0s;
}

#desentix-u-akciji .story-row:nth-child(odd) .reveal-on-scroll:not(.story-content-block) {
    transition-delay: 0.15s;
}

#desentix-u-akciji .story-row:nth-child(even) .story-content-block {
    transition-delay: 0.15s;
}

#desentix-u-akciji .story-row:nth-child(even) .reveal-on-scroll:not(.story-content-block) {
    transition-delay: 0s;
}

/* Widget Card Hover Effects - Smooth & Fluid */
#desentix-u-akciji .bg-\[\#0B0F17\] {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#desentix-u-akciji .bg-\[\#0B0F17\]:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(99, 102, 241, 0.1);
}

/* Dashboard Teaser Gradient Overlay */
#desentix-u-akciji .bg-gradient-to-b {
    background: linear-gradient(to bottom, transparent 0%, #050505 100%);
}

/* Kontrola Row Styling */
#desentix-u-akciji .kontrola-row {
    position: relative;
}

/* Enhanced Animation Block for Kontrola - Fluid Motion */
#desentix-u-akciji .animation-block {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

#desentix-u-akciji .animation-block.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Reverse for alternating rows */
#desentix-u-akciji .kontrola-row:nth-child(even) .animation-block {
    transform: translateX(-30px);
}

#desentix-u-akciji .kontrola-row:nth-child(even) .animation-block.visible {
    transform: translateX(0);
}

/* Text Content Block for Kontrola - Fluid Fade In */
#desentix-u-akciji .text-content-block {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

#desentix-u-akciji .text-content-block.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Eyebrow Label Styling for Kontrola */
#desentix-u-akciji .eyebrow-label {
    position: relative;
    display: inline-block;
}

#desentix-u-akciji .eyebrow-label span {
    position: relative;
    padding-left: 1.5rem;
    transition: all 0.3s ease;
}

#desentix-u-akciji .eyebrow-label span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 2px;
    background: currentColor;
    opacity: 0.6;
}

#desentix-u-akciji .eyebrow-label:hover span {
    letter-spacing: 0.25em;
}

/* Separator Line Animation - Smooth Scale */
#desentix-u-akciji .story-content-block .bg-gradient-to-r,
#desentix-u-akciji .text-content-block .bg-gradient-to-r {
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s,
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

#desentix-u-akciji .story-content-block.visible .bg-gradient-to-r,
#desentix-u-akciji .text-content-block.visible .bg-gradient-to-r {
    opacity: 1;
    transform: scaleX(1);
}

/* Enhanced Widget Container Styling */
#desentix-u-akciji .group.relative.p-6 {
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive Adjustments for Kontrola */
@media (max-width: 1024px) {
    #desentix-u-akciji .kontrola-row {
        margin-bottom: 6rem;
    }

    #desentix-u-akciji .text-content-block,
    #desentix-u-akciji .story-content-block {
        order: 1 !important;
    }

    #desentix-u-akciji .animation-block {
        order: 2 !important;
        margin-top: 2rem;
        transform: translateY(20px);
    }

    #desentix-u-akciji .animation-block.visible {
        animation-name: kontrolaMobileSlideIn;
    }
}

/* ========================================
   HERO ANIMATION CONTAINER
   ======================================== */

.hero-animation-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 320px;
}

/* Cards Stack */
.cards-stack {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    width: 90%;
    max-width: 420px;
    height: 220px;
    perspective: 1000px;
    z-index: 5;
}

.card-wrapper {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(60px) scale(0.9);
    transition: all 0.75s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform, opacity;
}

.card-wrapper.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.card-wrapper.stacked-1 {
    opacity: 0.4;
    transform: translateY(-20px) scale(0.92);
    filter: blur(1px);
}

.card-wrapper.stacked-2 {
    opacity: 0.2;
    transform: translateY(-40px) scale(0.84);
    filter: blur(2px);
}

.card-wrapper.exit-left {
    opacity: 0;
    transform: translateX(-120%) rotate(-5deg);
}

/* DEPTH OF FIELD - Cards go to background */
.card-wrapper.visible.background {
    opacity: 0.4 !important;
    filter: blur(6px) !important;
    transform: translateY(0) scale(0.95) !important;
    transition: all 0.75s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
}

.card-wrapper.stacked-1.background {
    opacity: 0.3 !important;
    filter: blur(8px) !important;
    transform: translateY(-25px) scale(0.9) !important;
    transition: all 0.75s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
}

.card-wrapper.stacked-2.background {
    opacity: 0.2 !important;
    filter: blur(10px) !important;
    transform: translateY(-50px) scale(0.85) !important;
    transition: all 0.75s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
}

/* ========================================
   SUMMARY CARD - INSIGHT CARD
   ======================================== */

.summary-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%) scale(0);
    width: 92%;
    max-width: 680px;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity, filter;
    transform-origin: center center;
    z-index: 50;
}

/* Mobile: Summary card positioned to fit fully in viewport with space for progress bar */
@media (max-width: 767px) {
    .summary-card {
        top: 42%;
        width: 92%;
        max-width: 320px;
    }
}

.summary-card.visible {
    pointer-events: auto;
    animation: cardRevealFromSingularity 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@media (max-width: 767px) {
    .summary-card.visible {
        animation: cardRevealMobile 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    }
}

@keyframes cardRevealMobile {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        filter: blur(0);
    }
}

.summary-inner {
    position: relative;
    background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 100%);
    border: 1px solid #312E81;
    border-radius: 16px;
    padding: 20px;
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(99, 102, 241, 0.15);
}

/* Card Container V2 - "POPS" from blurred chaos */
.summary-inner-v2 {
    position: relative;
    z-index: 50;
    background: rgba(13, 13, 15, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 12px 24px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    transition: all 0.3s ease;
}

.summary-inner-v2 .summary-content-v2 {
    padding: 24px;
    position: relative;
}

@media (max-width: 767px) {
    .summary-inner-v2 .summary-content-v2 {
        padding: 16px;
    }
}

/* Top accent line - red gradient */
.summary-inner-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            #EF4444 0%,
            rgba(239, 68, 68, 0.5) 50%,
            transparent 100%);
}

/* THE SHEEN EFFECT - Diagonal light sweep */
.summary-inner-v2::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(105deg,
            transparent 0%,
            transparent 40%,
            rgba(255, 255, 255, 0.04) 45%,
            rgba(255, 255, 255, 0.08) 50%,
            rgba(255, 255, 255, 0.04) 55%,
            transparent 60%,
            transparent 100%);
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    border-radius: 12px;
}

/* Hover state - even stronger pop */
.summary-inner-v2:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow:
        0 30px 60px -15px rgba(0, 0, 0, 0.6),
        0 15px 30px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    transform: translateY(-3px);
}

/* Alert Indicator - Premium Red Bar */
.alert-indicator {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #EF4444 0%, #DC2626 50%, #EF4444 100%);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}

.summary-content-v2 {
    padding: 24px;
    padding-left: 28px;
    text-align: left;
}

/* BLOOM EFFECT - Indigo glow behind card on reveal */
.card-bloom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    width: 500px;
    height: 300px;
    background: radial-gradient(ellipse at center,
            rgba(99, 102, 241, 0.4) 0%,
            rgba(99, 102, 241, 0.1) 40%,
            transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 4;
    opacity: 0;
    filter: blur(30px);
}

/* ========================================
   SINGULARITY PROCESSING
   ======================================== */

.processing-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    opacity: 0;
    pointer-events: none;
    z-index: 15;
    transition: opacity 0.3s ease;
    will-change: opacity;
}

.processing-logo.visible {
    opacity: 1;
}

.processing-logo-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* THE SINGULARITY - Small pulsing dot */
.singularity-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #6366F1;
    box-shadow:
        0 0 8px rgba(99, 102, 241, 0.8),
        0 0 16px rgba(99, 102, 241, 0.5),
        0 0 24px rgba(99, 102, 241, 0.3);
    animation: singularityPulse 1.2s ease-in-out infinite;
}

/* Hide logo - no branding during processing */
.processing-logo img {
    display: none;
}

/* ========================================
   FLOATING PARTICLES SYSTEM
   ======================================== */

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.floating-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(148, 163, 184, 0.4);
    border-radius: 50%;
    opacity: 0;
    will-change: transform, opacity;
}

/* Individual particle positions and delays */
.floating-particle:nth-child(1) {
    left: 15%;
    top: 20%;
    animation-delay: 0s;
}

.floating-particle:nth-child(2) {
    left: 75%;
    top: 15%;
    animation-delay: 0.3s;
}

.floating-particle:nth-child(3) {
    left: 25%;
    top: 70%;
    animation-delay: 0.6s;
}

.floating-particle:nth-child(4) {
    left: 80%;
    top: 65%;
    animation-delay: 0.9s;
}

.floating-particle:nth-child(5) {
    left: 10%;
    top: 45%;
    animation-delay: 1.2s;
}

.floating-particle:nth-child(6) {
    left: 90%;
    top: 40%;
    animation-delay: 1.5s;
}

.floating-particle:nth-child(7) {
    left: 40%;
    top: 10%;
    animation-delay: 1.8s;
}

.floating-particle:nth-child(8) {
    left: 60%;
    top: 85%;
    animation-delay: 2.1s;
}

.floating-particle:nth-child(9) {
    left: 5%;
    top: 80%;
    animation-delay: 2.4s;
}

.floating-particle:nth-child(10) {
    left: 95%;
    top: 25%;
    animation-delay: 2.7s;
}

.floating-particle:nth-child(11) {
    left: 30%;
    top: 35%;
    animation-delay: 3s;
}

.floating-particle:nth-child(12) {
    left: 70%;
    top: 55%;
    animation-delay: 3.3s;
}

/* ========================================
   SINGULARITY FLASH EFFECT
   ======================================== */

.singularity-flash {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.9) 0%, rgba(99, 102, 241, 0) 70%);
    pointer-events: none;
    z-index: 20;
    opacity: 0;
}

/* ========================================
   PROGRESS STEPPER
   ======================================== */

.progress-stepper {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0;
    padding: 12px 24px;
    background: rgba(26, 26, 30, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(46, 46, 51, 0.8);
    border-radius: 9999px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.5s forwards;
    z-index: 20;
}

.stepper-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
}

.step-dot-wrapper {
    position: relative;
    width: 10px;
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3F3F46;
    transition: all 0.6s ease-in-out;
    position: relative;
    z-index: 2;
}

.step-dot.active {
    background: #6366F1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.step-dot.completed {
    background: #6366F1;
}

.step-label {
    font-size: 9px;
    font-weight: 600;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.step-label.active {
    color: #ffffff;
}

.step-label.completed {
    color: #6366F1;
}

/* Connector Lines */
.step-connector {
    width: 24px;
    height: 2px;
    margin: 0 6px;
    position: relative;
    display: flex;
    align-items: center;
}

.connector-background {
    width: 100%;
    height: 2px;
    background: #3F3F46;
    border-radius: 1px;
    position: absolute;
}

.connector-fill {
    height: 2px;
    background: linear-gradient(90deg, #6366F1, #818CF8);
    border-radius: 1px;
    width: 0%;
    transition: width 0.6s ease-in-out;
    position: absolute;
    left: 0;
}

.connector-fill.active {
    width: 100%;
}

/* ========================================
   PROGRESS STEPPER - AMBER VARIANT
   For Animation 2 (Early Warning / Opportunity)
   ======================================== */

.progress-stepper-amber .step-dot.active {
    background: #F59E0B;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.progress-stepper-amber .step-dot.completed {
    background: #F59E0B;
}

.progress-stepper-amber .step-label.active {
    color: #ffffff;
}

.progress-stepper-amber .step-label.completed {
    color: #F59E0B;
}

.progress-stepper-amber .connector-fill {
    background: linear-gradient(90deg, #F59E0B, #FBBF24);
}

/* Particles Container */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #6366F1;
    border-radius: 50%;
    opacity: 0;
}

/* ========================================
   HERO SECTION - SCROLL-TRIGGERED STATES
   ======================================== */

/* Hero section - default state before in-view */
.hero-section .floating-particles .floating-particle {
    opacity: 0;
}

/* Progress stepper - hidden until hero is in view */
.hero-section .progress-stepper {
    opacity: 0;
}

/* ========================================
   FOOTER STYLES
   ======================================== */

.desentix-footer {
    background: #0F172A;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 5rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}

.desentix-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 48rem;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(99, 102, 241, 0.5), transparent);
}

.footer-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 2rem;
    }
}

/* Brand Column */
.brand-col {
    grid-column: 1 / -1;
}

@media (min-width: 1024px) {
    .brand-col {
        grid-column: 1;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.025em;
}

.footer-logo i {
    width: 1.5rem;
    height: 1.5rem;
}

.brand-tagline {
    color: #94A3B8;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 20rem;
}

.system-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    color: #CBD5E1;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.system-status:hover {
    background: rgba(15, 23, 42, 1);
    border-color: rgba(255, 255, 255, 0.15);
}

.status-dot {
    position: relative;
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #10B981;
}

.status-dot::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #10B981;
    transform-origin: center;
    animation: pulse-ring 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.75;
    }

    75%,
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Footer Columns */
.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 0;
    background: none;
    border: none;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: color 0.2s;
}

.footer-heading:hover {
    color: #A5B4FC;
}

.footer-heading .accordion-icon {
    transition: transform 0.3s ease;
    width: 1.125rem;
    height: 1.125rem;
}

@media (min-width: 1024px) {
    .footer-heading {
        cursor: default;
        pointer-events: none;
    }

    .footer-heading .accordion-icon {
        display: none;
    }
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
}

/* Always visible footer links */
.footer-links-visible {
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible;
}

/* Static footer heading (no accordion) */
.footer-heading-static {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #E2E8F0;
    padding: 0.75rem 0;
    border: none;
    background: none;
}

@media (max-width: 1023px) {
    .footer-links:not(.footer-links-visible) {
        max-height: 0;
        opacity: 0;
    }

    .footer-heading[aria-expanded="true"]+.footer-links:not(.footer-links-visible) {
        max-height: 500px;
        opacity: 1;
    }
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    color: #94A3B8;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: #A5B4FC;
}

.login-link {
    color: #60A5FA !important;
    font-weight: 500;
}

.login-link:hover {
    color: #93C5FD !important;
}

.login-link i {
    margin-left: 0.25rem;
}

/* Contact Items */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #94A3B8;
    font-size: 0.875rem;
}

.contact-item i {
    width: 1rem;
    height: 1rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
    color: #60A5FA;
}

.contact-item a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-item a:hover {
    color: #A5B4FC;
}

.adria-subtext {
    display: block;
    font-size: 0.75rem;
    color: #64748B;
    margin-top: 0.25rem;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.copyright {
    color: #64748B;
    font-size: 0.75rem;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .legal-links {
        justify-content: flex-end;
    }
}

.legal-links a {
    color: #64748B;
    font-size: 0.75rem;
    text-decoration: none;
    transition: color 0.2s;
}

.legal-links a:hover {
    color: #94A3B8;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: #94A3B8 !important;
    font-size: 0.75rem;
    text-decoration: none;
    transition: color 0.2s;
}

.security-badge:hover {
    color: #CBD5E1 !important;
}

.security-badge i {
    width: 0.75rem;
    height: 0.75rem;
    color: #60A5FA;
    transition: color 0.2s;
}

.security-badge:hover i {
    color: #93C5FD;
}

/* ========================================
   FOOTER - Logo, Social Links, Badges, Locations
   ======================================== */

/* Footer Logo Image */
.footer-logo-img {
    height: 2rem;
    width: auto;
    object-fit: contain;
}

@media (min-width: 768px) {
    .footer-logo-img {
        height: 2.25rem;
    }
}

/* Footer Social Links */
.footer-social-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94A3B8;
    transition: all 0.2s ease;
}

.footer-social-link svg,
.footer-social-link i {
    width: 1.125rem;
    height: 1.125rem;
}

.footer-social-link:hover {
    transform: translateY(-2px);
}

/* LinkedIn */
.footer-social-linkedin:hover {
    background: rgba(10, 102, 194, 0.15);
    border-color: rgba(10, 102, 194, 0.4);
    color: #0A66C2;
}

/* Facebook */
.footer-social-facebook:hover {
    background: rgba(24, 119, 242, 0.15);
    border-color: rgba(24, 119, 242, 0.4);
    color: #1877F2;
}

/* Instagram */
.footer-social-instagram:hover {
    background: linear-gradient(135deg, rgba(228, 64, 95, 0.15), rgba(252, 175, 69, 0.15));
    border-color: rgba(228, 64, 95, 0.4);
    color: #E4405F;
}

/* X (Twitter) */
.footer-social-x:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

/* Badge LIVE */
.badge-live {
    font-size: 0.65em;
    font-weight: 700;
    background: #ef4444;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Badge Coming Soon (USKORO) */
.badge-coming-soon {
    font-size: 0.65em;
    font-weight: 600;
    background: rgba(148, 163, 184, 0.2);
    color: #94A3B8;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.footer-link-coming-soon {
    opacity: 0.7;
    cursor: default;
}

.footer-link-coming-soon:hover {
    color: #94A3B8 !important;
}

/* Footer Locations */
.footer-locations-heading {
    margin-top: 1.5rem;
    padding-bottom: 0.5rem;
}

.footer-locations {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-location-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-location-item i {
    width: 0.875rem;
    height: 0.875rem;
    color: #6366f1;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.footer-location-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-location-city {
    font-size: 0.875rem;
    font-weight: 500;
    color: #E2E8F0;
    line-height: 1.3;
}

.footer-location-country {
    font-size: 0.75rem;
    color: #64748B;
    line-height: 1.3;
}

/* ========================================
   PREMIUM FOOTER - Redesigned
   ======================================== */

.desentix-footer-premium {
    position: relative;
    background: linear-gradient(180deg, #080B14 0%, #0C1220 50%, #0A0F1A 100%);
    padding: 0;
    overflow: hidden;
}

/* Top Gradient Border */
.footer-top-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(99, 102, 241, 0.1) 15%,
            rgba(99, 102, 241, 0.6) 50%,
            rgba(99, 102, 241, 0.1) 85%,
            transparent 100%);
}

.footer-top-border::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 40px;
    background: radial-gradient(ellipse at center top, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* Premium Container */
.footer-premium-container {
    position: relative;
    z-index: 2;
    max-width: 80rem;
    margin: 0 auto;
    padding: 3rem 1.5rem 2rem;
}

@media (min-width: 768px) {
    .footer-premium-container {
        padding: 4rem 2rem 2.5rem;
    }
}

@media (min-width: 1024px) {
    .footer-premium-container {
        padding: 4.5rem 2.5rem 2.5rem;
    }
}

@media (min-width: 1280px) {
    .footer-premium-container {
        padding: 5rem 3rem 3rem;
    }
}

/* Premium Grid Layout */
.footer-premium-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .footer-premium-grid {
        grid-template-columns: 1.1fr 2.5fr;
        gap: 4rem;
    }
}

@media (min-width: 1280px) {
    .footer-premium-grid {
        grid-template-columns: 1fr 2.8fr;
        gap: 5rem;
    }
}

/* ========================================
   BRAND SECTION
   ======================================== */

.footer-brand-section {
    display: flex;
    flex-direction: column;
}

/* ========================================
   CLEAN PROFESSIONAL LOGO SECTION
   ======================================== */

.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.25s ease;
}

.footer-brand-link:hover {
    opacity: 0.85;
}

.footer-brand-logo-clean {
    height: 1.875rem;
    width: auto;
    object-fit: contain;
}

@media (min-width: 768px) {
    .footer-brand-logo-clean {
        height: 2.125rem;
    }
}

.footer-brand-year {
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #475569;
    padding: 0.25rem 0.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-tagline {
    font-size: 0.875rem;
    line-height: 1.7;
    color: #94A3B8;
    max-width: 20rem;
    margin-bottom: 1.5rem;
}

.footer-brand-tagline .tagline-highlight {
    display: block;
    margin-top: 0.25rem;
    color: #A5B4FC;
    font-weight: 500;
}

/* System Status */
.footer-status-wrapper {
    margin-bottom: 1.75rem;
}

.footer-system-status {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1rem 0.5rem 0.625rem;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-system-status:hover {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.35);
    transform: translateY(-1px);
}

.footer-status-indicator {
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-status-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
    position: relative;
    z-index: 2;
}

.footer-status-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(16, 185, 129, 0.4);
    animation: footerStatusPulse 2.5s ease-out infinite;
}

@keyframes footerStatusPulse {
    0% {
        transform: scale(0.6);
        opacity: 1;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.footer-status-text {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #10B981;
    letter-spacing: -0.01em;
}

/* Social Section */
.footer-social-section {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-social-label {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #475569;
}

.footer-social-grid {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.125rem;
    height: 2.125rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #64748B;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social-btn svg,
.footer-social-btn i {
    width: 1rem;
    height: 1rem;
}

.footer-social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.4);
}

.footer-social-btn.footer-social-linkedin:hover {
    background: rgba(10, 102, 194, 0.15);
    border-color: rgba(10, 102, 194, 0.4);
    color: #0A66C2;
    box-shadow: 0 8px 20px -8px rgba(10, 102, 194, 0.3);
}

.footer-social-btn.footer-social-facebook:hover {
    background: rgba(24, 119, 242, 0.15);
    border-color: rgba(24, 119, 242, 0.4);
    color: #1877F2;
    box-shadow: 0 8px 20px -8px rgba(24, 119, 242, 0.3);
}

.footer-social-btn.footer-social-instagram:hover {
    background: linear-gradient(135deg, rgba(228, 64, 95, 0.15), rgba(252, 175, 69, 0.15));
    border-color: rgba(228, 64, 95, 0.4);
    color: #E4405F;
    box-shadow: 0 8px 20px -8px rgba(228, 64, 95, 0.3);
}

.footer-social-btn.footer-social-x:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    box-shadow: 0 8px 20px -8px rgba(255, 255, 255, 0.15);
}

/* Disabled Social Button */
.footer-social-btn-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* ========================================
   NAVIGATION COLUMNS
   ======================================== */

.footer-nav-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .footer-nav-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .footer-nav-columns {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

@media (min-width: 1280px) {
    .footer-nav-columns {
        gap: 3.5rem;
    }
}

.footer-nav-group {
    display: flex;
    flex-direction: column;
}

.footer-nav-heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #E2E8F0;
    margin-bottom: 1rem;
    padding: 0;
}

.footer-heading-accent {
    width: 1.25rem;
    height: 2px;
    background: linear-gradient(90deg, #6366F1, rgba(99, 102, 241, 0.3));
    border-radius: 1px;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.footer-nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.625rem;
    margin-left: -0.625rem;
    border-radius: 0.5rem;
    color: #94A3B8;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.footer-nav-link:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #E2E8F0;
}

.footer-nav-link:hover .nav-link-icon {
    color: #A5B4FC;
    transform: scale(1.1);
}

.nav-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    color: #475569;
    transition: all 0.2s ease;
}

.nav-link-icon i,
.nav-link-icon svg {
    width: 0.8125rem;
    height: 0.8125rem;
}

/* Featured Link (with LIVE badge) */
.footer-nav-link-featured {
    color: #F1F5F9;
}

.footer-nav-link-featured .nav-link-icon {
    color: #F59E0B;
}

.footer-badge-live {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
    padding: 0.125rem 0.5rem;
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #FFF;
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    animation: liveGlow 2s ease-in-out infinite;
}

@keyframes liveGlow {

    0%,
    100% {
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    }

    50% {
        box-shadow: 0 2px 12px rgba(239, 68, 68, 0.5);
    }
}

/* Disabled Link (with USKORO badge) */
.footer-nav-link-disabled {
    opacity: 0.55;
    pointer-events: none;
}

.footer-badge-soon {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
    padding: 0.125rem 0.4375rem;
    font-size: 0.5625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #64748B;
    background: rgba(100, 116, 139, 0.15);
    border: 1px solid rgba(100, 116, 139, 0.2);
    border-radius: 3px;
}

/* CTA Link (Login) */
.footer-nav-link-cta {
    color: #60A5FA;
    font-weight: 500;
}

.footer-nav-link-cta:hover {
    color: #93C5FD;
    background: rgba(96, 165, 250, 0.08);
}

.footer-nav-link-cta .nav-link-icon-cta {
    color: #60A5FA;
}

.footer-nav-link-cta:hover .nav-link-icon-cta {
    color: #93C5FD;
}

.nav-link-arrow {
    margin-left: 0.25rem;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.footer-nav-link-cta:hover .nav-link-arrow {
    opacity: 1;
    transform: translate(2px, -2px);
}

/* ========================================
   CONTACT GROUP
   ======================================== */

.footer-contact-group {
    grid-column: 1 / -1;
}

@media (min-width: 1024px) {
    .footer-contact-group {
        grid-column: auto;
    }
}

.footer-contact-card {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.625rem;
    text-decoration: none;
    transition: all 0.25s ease;
    margin-bottom: 1.25rem;
}

.footer-contact-card:hover {
    background: rgba(99, 102, 241, 0.06);
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
}

.footer-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(99, 102, 241, 0.05) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 0.5rem;
    color: #818CF8;
    transition: all 0.25s ease;
}

.footer-contact-icon i,
.footer-contact-icon svg {
    width: 1rem;
    height: 1rem;
}

.footer-contact-card:hover .footer-contact-icon {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(99, 102, 241, 0.1) 100%);
    transform: scale(1.05);
}

.footer-contact-icon i,
.footer-contact-icon svg {
    width: 1.125rem;
    height: 1.125rem;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.footer-contact-label {
    font-size: 0.625rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748B;
}

.footer-contact-value {
    font-size: 0.875rem;
    font-weight: 500;
    color: #E2E8F0;
    transition: color 0.2s ease;
}

.footer-contact-card:hover .footer-contact-value {
    color: #A5B4FC;
}

/* Locations Section */
.footer-locations-section {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-locations-label {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #475569;
}

.footer-locations-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.footer-location-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.625rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    transition: all 0.2s ease;
}

.footer-location-chip:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.location-flag {
    font-size: 0.875rem;
    line-height: 1;
}

.location-flag-img {
    width: 1.25rem;
    height: 1.25rem;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.location-name {
    font-size: 0.75rem;
    font-weight: 500;
    color: #CBD5E1;
}

/* ========================================
   FOOTER DIVIDER
   ======================================== */

.footer-premium-divider {
    position: relative;
    margin: 2.5rem 0 1.75rem;
    height: 1px;
}

@media (min-width: 1024px) {
    .footer-premium-divider {
        margin: 3rem 0 2rem;
    }
}

.footer-premium-divider .divider-line {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.08) 20%,
            rgba(255, 255, 255, 0.08) 80%,
            transparent 100%);
}

.footer-premium-divider .divider-glow {
    position: absolute;
    left: 50%;
    top: -8px;
    transform: translateX(-50%);
    width: 120px;
    height: 16px;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

/* ========================================
   FOOTER BOTTOM
   ======================================== */

.footer-premium-bottom {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-premium-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-copyright {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    font-size: 0.8125rem;
    color: #475569;
}

@media (min-width: 768px) {
    .footer-copyright {
        justify-content: flex-start;
    }
}

.footer-copyright-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.25s ease;
}

.footer-copyright-logo:hover {
    opacity: 0.8;
}

.footer-copyright-logo-img {
    height: 1.25rem;
    width: auto;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.25s ease;
}

.footer-copyright-logo:hover .footer-copyright-logo-img {
    opacity: 0.9;
}

.footer-copyright-separator {
    color: #334155;
    font-weight: 300;
    font-size: 1rem;
    opacity: 0.5;
}

.footer-copyright-year {
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #64748B;
}

.footer-copyright-rights {
    color: #475569;
    font-size: 0.75rem;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .footer-legal-links {
        justify-content: flex-end;
    }
}

.footer-legal-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: #64748B;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-link:hover {
    color: #94A3B8;
}

.footer-security-link {
    color: #94A3B8;
}

.footer-security-link i {
    color: #60A5FA;
    transition: color 0.2s ease;
}

.footer-security-link:hover {
    color: #CBD5E1;
}

.footer-security-link:hover i {
    color: #93C5FD;
}

.legal-separator {
    color: #334155;
    font-size: 0.625rem;
}

/* ========================================
   BACKGROUND DECORATIONS
   ======================================== */

.footer-bg-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.footer-bg-gradient {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 80rem;
    height: 100%;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(99, 102, 241, 0.04) 0%, transparent 60%);
}

.footer-bg-grid {
    position: absolute;
    inset: 0;
    background-size: 50px 50px;
    background-image:
        linear-gradient(to right, rgba(99, 102, 241, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(99, 102, 241, 0.02) 1px, transparent 1px);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, transparent 60%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, transparent 60%);
}

/* ========================================
   ROLES SECTION - Solutions by Role
   ======================================== */

/* Tab Container */
.roles-tab-container {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 0 40px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Individual Tab Buttons */
.roles-tab {
    color: rgba(148, 163, 184, 0.7);
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.roles-tab:hover:not(.active) {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.05);
}

.roles-tab:hover:not(.active) svg,
.roles-tab:hover:not(.active) i {
    color: rgba(255, 255, 255, 0.7);
}

.roles-tab.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.9) 0%, rgba(79, 70, 229, 0.8) 100%);
    box-shadow:
        0 0 25px rgba(99, 102, 241, 0.5),
        0 0 50px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.roles-tab.active svg,
.roles-tab.active i {
    color: #ffffff;
}

/* Tab Glow Pulse Animation for Active Tab */
.roles-tab.active::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: inherit;
    opacity: 0;
    animation: roles-tab-glow-pulse 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes roles-tab-glow-pulse {

    0%,
    100% {
        opacity: 0;
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(1.05);
    }
}

/* Content Panels */
.roles-content-wrapper {
    position: relative;
    min-height: 300px;
}

.roles-content-panel {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.roles-content-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Role Card Styling */
.role-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.role-card:hover {
    transform: translateY(-4px);
}

/* Role Highlight Badge */
.role-highlight-badge {
    transition: all 0.3s ease;
}

.role-card:hover .role-highlight-badge {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
}

/* Mobile Responsive - Tabs */
@media (max-width: 767px) {

    /* Parent wrapper adjustments */
    #roles-section>div:first-of-type {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* Tab Navigation - Compact Grid on Mobile */
    .roles-tab-container {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        width: calc(100% - 3rem) !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0.5rem !important;
        gap: 0.5rem !important;
        border-radius: 1rem !important;
        background: rgba(15, 23, 42, 0.95) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        overflow: visible !important;
    }

    .roles-tab {
        flex: none !important;
        width: 100% !important;
        padding: 0.75rem 0.5rem !important;
        font-size: 0.6875rem !important;
        border-radius: 0.625rem !important;
        white-space: nowrap !important;
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.375rem !important;
        text-align: center !important;
    }

    .roles-tab svg,
    .roles-tab i {
        width: 0.875rem !important;
        height: 0.875rem !important;
        flex-shrink: 0 !important;
    }

    .roles-tab span {
        display: block !important;
        font-size: 0.6875rem !important;
        line-height: 1.2 !important;
    }

    /* Active tab glow more prominent on mobile */
    .roles-tab.active {
        box-shadow:
            0 0 15px rgba(99, 102, 241, 0.4),
            0 0 30px rgba(99, 102, 241, 0.15) !important;
    }

    /* Content wrapper spacing */
    .roles-content-wrapper {
        padding: 0 0.5rem !important;
        margin-top: 1.5rem !important;
    }

    /* Section Header Mobile */
    #roles-section .text-center.mb-12 {
        padding: 0 0.5rem;
        margin-bottom: 1.5rem !important;
    }

    #roles-section h2 {
        font-size: 1.625rem !important;
        line-height: 1.25 !important;
    }

    #roles-section h2 br {
        display: none;
    }

    #roles-section .text-center p {
        font-size: 0.875rem !important;
        line-height: 1.5 !important;
    }
}

@media (max-width: 380px) {
    .roles-tab-container {
        padding: 0.375rem !important;
        gap: 0.375rem !important;
    }

    .roles-tab {
        padding: 0.625rem 0.375rem !important;
        font-size: 0.625rem !important;
        min-height: 40px !important;
        gap: 0.25rem !important;
    }

    .roles-tab svg,
    .roles-tab i {
        width: 0.75rem !important;
        height: 0.75rem !important;
    }

    .roles-tab span {
        font-size: 0.625rem !important;
    }

    #roles-section h2 {
        font-size: 1.5rem !important;
    }
}

/* Content Panel Mobile Adjustments */
@media (max-width: 767px) {
    .role-card {
        padding: 1.25rem !important;
        border-radius: 1rem !important;
        margin: 0 !important;
    }

    .role-card h3 {
        font-size: 1.25rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.875rem !important;
    }

    .role-card h3 br {
        display: none;
    }

    .role-card p {
        font-size: 0.875rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1rem !important;
    }

    /* Challenge/Solution boxes stack better */
    .role-card .grid {
        gap: 0.625rem !important;
    }

    .role-card .grid>div {
        padding: 0.75rem !important;
    }

    .role-card .grid>div .text-xs {
        font-size: 0.625rem !important;
    }

    .role-card .grid>div .text-sm {
        font-size: 0.75rem !important;
        line-height: 1.4 !important;
    }

    /* Badge spacing */
    .role-card .mb-6:first-child {
        margin-bottom: 0.875rem !important;
    }

    .role-card .inline-flex {
        font-size: 0.6875rem !important;
        padding: 0.375rem 0.625rem !important;
    }

    .role-highlight-badge {
        font-size: 0.6875rem !important;
        padding: 0.375rem 0.625rem !important;
    }

    /* Glow effects - reduce blur on mobile for performance */
    .role-card .absolute.w-60 {
        width: 120px !important;
        height: 120px !important;
        filter: blur(40px) !important;
    }
}

@media (max-width: 380px) {
    .role-card {
        padding: 1rem !important;
    }

    .role-card h3 {
        font-size: 1.125rem !important;
    }

    .role-card p {
        font-size: 0.8125rem !important;
    }

    .role-card .inline-flex {
        font-size: 0.625rem !important;
        padding: 0.25rem 0.5rem !important;
    }
}

/* Fade-in Animation for Panel Switch */
@keyframes rolesPanelFadeIn {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.roles-content-panel.animating-in {
    animation: rolesPanelFadeIn 0.4s ease-out forwards;
}

/* ========================================
   HERO ANIMATION - PAUSE INDICATOR
   Small, non-blocking indicator when paused
   ======================================== */

.pause-indicator {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    z-index: 100;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.pause-indicator.visible {
    opacity: 1;
    transform: translateY(0);
}

.pause-indicator svg {
    color: white;
    flex-shrink: 0;
}

.pause-indicator span {
    font-size: 10px;
    font-weight: 600;
    color: white;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* On mobile, make it slightly bigger for touch */
@media (max-width: 767px) {
    .pause-indicator {
        top: 8px;
        right: 8px;
        padding: 8px 14px;
    }

    .pause-indicator span {
        font-size: 11px;
    }
}

/* ========================================
   COMPARISON SECTION - Premium Redesign (demos.html style)
   ======================================== */

/* Section Container */
#comparison-grid {
    background: #030508;
    position: relative;
}

/* Glass Panel Base */
.comp-glass-panel {
    background: rgba(11, 14, 20, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Premium Gradient Text */
.comp-text-gradient-premium {
    background: linear-gradient(to right, #818cf8, #c084fc, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Icon Glow Box */
.comp-icon-glow-box {
    position: relative;
}

.comp-icon-glow-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    filter: blur(15px);
    opacity: 0.4;
    z-index: -1;
}

/* Comparison Card Hover Effects */
.comp-comparison-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.comp-comparison-card:hover {
    border-color: rgba(99, 102, 241, 0.3) !important;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.1);
}

.comp-comparison-card:hover h3:first-of-type {
    color: #ffffff !important;
}

/* Scan Line Animation */
@keyframes comp-scan {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(200%);
        opacity: 0;
    }
}

.comp-scan-line {
    animation: comp-scan 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Spin Animation for Rings */
@keyframes spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Mobile Responsive - Comparison Section */
@media (max-width: 768px) {
    #comparison-grid .comp-glass-panel {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    
    #comparison-grid .text-4xl {
        font-size: 2rem;
    }
    
    #comparison-grid .text-lg {
        font-size: 1rem;
    }
    
    #comparison-grid .p-10 {
        padding: 1.5rem;
    }
    
    #comparison-grid .p-8 {
        padding: 1.25rem;
    }
    
    #comparison-grid .grid-cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    #comparison-grid .w-16 {
        width: 3rem;
    }
    
    #comparison-grid .h-16 {
        height: 3rem;
    }
    
    #comparison-grid .w-24 {
        width: 4.5rem;
    }
    
    #comparison-grid .h-24 {
        height: 4.5rem;
    }
    
    #comparison-grid .w-48 {
        width: 8rem;
    }
    
    #comparison-grid .h-48 {
        height: 8rem;
    }
    
    #comparison-grid .w-40 {
        width: 6.5rem;
    }
    
    #comparison-grid .h-40 {
        height: 6.5rem;
    }
}

/* End of Comparison Section Styles */