/* Core Variables & Typography */
:root {
    --bg-color: #0A1118;
    --text-primary: #E0E6ED;
    --text-secondary: #8A9CA8;
    --accent-glow: #07acf8bb;
    --accent-solid: #07acf8bb;

    --glass-bg: rgba(10, 25, 35, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    scroll-behavior: smooth;
    background: linear-gradient(to bottom,
            #7a26bf 0%,
            /* 1. Home */
            #1d558c 25%,
            /* 2. Services */
            #163f75 50%,
            /* 3. Products */
            #081a5c 75%,
            /* 4. Contact */
            #3a0a63 100%
            /* 5. Blog */
        );
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* Firefox Scrollbar Standard */
html {
    scrollbar-width: thin;
    scrollbar-color: #1d558c #0A1118;
}

/* =========================================
   🌐 PREMIUM SYSTEM SCROLLBAR (THEMED GRADIENT)
   ========================================= */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #0A1118;
}

::-webkit-scrollbar-thumb {
    background-color: #1d558c;
    background: linear-gradient(to bottom,
            #7a26bf 0%,
            #1d558c 25%,
            #163f75 50%,
            #081a5c 75%,
            #3a0a63 100%);
    border-radius: 6px;
    border: 3px solid #0A1118;
    box-shadow: 0 0 10px rgba(7, 172, 248, 0.2);
}

::-webkit-scrollbar-thumb:hover {
    background: #07acf8bb;
    box-shadow: 0 0 15px #07acf8;
}

/* =========================================
   1. SPA CONTENT WRAPPER 
   ========================================= */
#spa-content-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}


section {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 5.5rem 2rem;
    /* Reduced from 8rem to fit 100% zoom perfectly */
}

#home {
    min-height: 100vh;
    /* Ensures only the initial landing screen takes up the full monitor height */
}

.content-container {
    max-width: 800px;
    text-align: center;
    z-index: 10;
}

h1,
h2 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, #f8f8f7 0%, #8de5f5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 12px rgba(7, 172, 248, 0.6));
    transition: filter 0.3s ease;
}

h1 {
    font-size: 3.2rem;
    margin: 0;
}

/* Scaled down from 4rem for desktop balance */
h2 {
    font-size: 2.4rem;
    margin: 0;
}

/* Scaled down from 3rem */
p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Scaled down from 1.2rem to eliminate the oversized 120% zoom feel */

/* =========================================
   2. PERSISTENT AI LAYER 
   ========================================= */
#persistent-ai-layer {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 2147483644;
    /* OMNIPRESENT: Must sit above ALL overlays, modals, navbars. Only .chat-toggle-btn is higher. */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.5rem;
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    isolation: isolate;
    /* Creates its own stacking context — immune to parent transforms/opacity creating new contexts */
}


#persistent-ai-layer>* {
    pointer-events: auto;
}

/* --- Chat Interface --- */
#lucy-chat-box {
    width: 340px;
    max-height: 450px;
    display: flex;
    flex-direction: column;
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    transform-origin: bottom right;
}

#lucy-chat-box.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* --- Refined Premium Cyber Header --- */
.chat-header {
    padding: 1.2rem 1.5rem;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(10, 17, 24, 0.9) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: center;
    gap: 12px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.header-text-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.header-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(7, 172, 248, 0.3);
}

.header-subtitle {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.58rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #38bdf8;
    opacity: 0.85;
    animation: subtitleFlicker 4s infinite alternate;
}

.status-indicator {
    position: relative;
    width: 10px;
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #38bdf8;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 8px #38bdf8bb;
}

.status-glow {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 50%;
    animation: statusRingPulse 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
    pointer-events: none;
}

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

    50% {
        opacity: 0.5;
    }

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

@keyframes subtitleFlicker {

    0%,
    95%,
    98% {
        opacity: 0.85;
    }

    96%,
    97%,
    99% {
        opacity: 0.4;
    }
}

.chat-messages {
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@supports (scrollbar-width: thin) {
    .chat-messages {
        scrollbar-width: thin;
        scrollbar-color: rgba(7, 172, 248, 0.4) rgba(10, 25, 35, 0.2);
    }
}

/* Beautiful Elegant Scrollbar for Chat Messages */
.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: rgba(10, 25, 35, 0.2);
    border-radius: 10px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background-color: #1d558c;
    background: linear-gradient(to bottom,
            #7a26bf 0%,
            #1d558c 50%,
            #163f75 100%);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: var(--accent-solid);
}

/* --- Chat Bubbles & High Contrast --- */
.chat-bubble {
    max-width: 85%;
    padding: 0.8rem 1rem;
    border-radius: 16px;
    font-size: 0.95rem;
    line-height: 1.5;
    animation: fadeIn 0.4s ease forwards;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lucy-bubble {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom-left-radius: 4px;
}

.lucy-bubble p {
    color: #ffffff;
    font-weight: 300;
}

.user-bubble {
    align-self: flex-end;
    background: var(--accent-solid);
    border-bottom-right-radius: 4px;
}

.user-bubble p {
    color: #050505;
    font-weight: 500;
}

.chat-time {
    font-size: 0.65rem;
    font-variant-numeric: tabular-nums;
    align-self: flex-end;
    margin-top: 2px;
}

.lucy-bubble .chat-time {
    color: rgba(255, 255, 255, 0.3);
}

.user-bubble .chat-time {
    color: rgba(0, 0, 0, 0.6);
}

/* --- AI Orb --- */
#lucy-orb {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#lucy-orb:hover {
    transform: scale(1.05);
}

.orb-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    z-index: 2;
}

/* Phase 4: Pseudo-element for GPU-accelerated glow */
#lucy-orb::after {
    content: '';
    position: absolute;
    inset: -15px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
}

.orb-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--accent-solid);
    z-index: 1;
    opacity: 0;
}

/* ORB STATES */
.orb-idle::after {
    animation: pulseCoreGPU 4s infinite ease-in-out;
}

.orb-listening .orb-ring {
    animation: rippleRing 1.5s infinite linear;
    border-color: rgba(16, 185, 129, 0.8);
}

.orb-listening::after {
    opacity: 1;
    animation: pulseCoreGPU 2.5s infinite ease-in-out;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.75) 0%, transparent 70%);
}

.orb-speaking::after {
    animation: speakGlowGPU 2s infinite ease-in-out;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.75) 0%, transparent 70%);
}

.orb-speaking .orb-ring {
    animation: speakWave 1s infinite ease-out;
    border-width: 2px;
    border-color: rgba(16, 185, 129, 0.8);
}

/* Phase 1/2 additions: loading, connecting, reconnecting states */
.orb-loading {
    filter: grayscale(1) brightness(0.6);
    pointer-events: none;
}

.orb-connecting::after {
    animation: pulseCoreGPU 2s infinite ease-in-out;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.5) 0%, transparent 70%);
}

.orb-reconnecting::after {
    animation: speakGlowGPU 1.5s infinite ease-in-out;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.5) 0%, transparent 70%);
}

.orb-recalibrating::after {
    animation: pulseCoreGPU 1s infinite ease-in-out;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.5) 0%, transparent 70%);
}

@keyframes pulseCoreGPU {

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

    50% {
        transform: scale(0.95);
        opacity: 0.4;
    }
}

@keyframes rippleRing {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

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

@keyframes speakGlowGPU {

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

    50% {
        transform: scale(1.25);
        opacity: 1;
    }
}

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

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

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

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

.orb-tooltip {
    position: absolute;
    right: 90px;
    line-height: 1.3;
    top: 50%;
    transform: translateY(-50%) translateX(20px);
    background: var(--glass-bg);
    /* Phase 4: backdrop-filter removed for lazy activation */
    border: 1px solid var(--glass-border);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

#lucy-orb:hover .orb-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    /* Phase 4: Lazy blur activation */
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

/* =========================================
   TOOLTIP STATE MANAGEMENT & GRACEFUL DEGRADATION
   ========================================= */
.orb-tooltip-inactive {
    display: none;
}

#lucy-orb.orb-rejected .orb-tooltip-active {
    display: none;
}

#lucy-orb.orb-rejected .orb-tooltip-inactive {
    display: block;
    color: var(--accent-tertiary, #ffa94d);
    font-weight: 500;
    border-color: rgba(255, 169, 77, 0.2);
    box-shadow: 0 4px 15px rgba(255, 169, 77, 0.1);
}

#lucy-orb.orb-rejected {
    cursor: pointer !important;
}

#lucy-orb.orb-rejected::after {
    opacity: 1;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.8) 0%, transparent 70%);
    animation: pulseCoreGPU 4s infinite ease-in-out;
}

#lucy-orb.orb-rejected .orb-avatar {
    filter: grayscale(100%) opacity(0.8);
}

#lucy-orb.orb-rejected .orb-ring {
    display: none;
}

#lucy-chat-box.visible~#lucy-orb .orb-tooltip {
    display: none;
}

/* =========================================
   OBSIDIAN TEXT INPUT UI
   ========================================= */
.chat-input-area {
    display: flex;
    gap: 10px;
    padding: 15px;
    border-top: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0 0 15px 15px;
}

#lucy-text-input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 10px 15px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

#lucy-text-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

#lucy-text-input:focus {
    border-color: var(--accent-solid);
    background: rgba(255, 255, 255, 0.1);
}

#lucy-send-btn {
    background: var(--accent-solid);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#lucy-send-btn:hover {
    box-shadow: 0 0 15px var(--accent-glow);
    transform: scale(1.05);
}

/* =========================================
   LANGUAGE SWITCHER (REDESIGNED FOR SLEEK INTEGRATION)
   ========================================= */
.language-switcher-container {
    position: fixed;
    top: 20px;
    right: 40px;
    z-index: 2147483647;
    /* Maximum safe limit: above Social Contract Overlay */
    font-family: var(--font-heading);
}

.language-switcher-container::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
}

.current-lang {
    background: rgba(255, 255, 255, 0.03);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    padding: 5px 12px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 4px;
}

.current-lang::after {
    content: '▾';
    font-size: 0.7rem;
    opacity: 0.6;
    transition: transform 0.3s ease;
}

.language-switcher-container:hover .current-lang {
    border-color: rgba(7, 172, 248, 0.4);
    background: rgba(7, 172, 248, 0.05);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(7, 172, 248, 0.2);
}

.language-switcher-container:hover .current-lang::after {
    transform: rotate(180deg);
    opacity: 1;
}

.lang-dropdown {
    position: absolute;
    top: 32px;
    right: 0;
    background: rgba(10, 18, 30, 0.96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    min-width: 130px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-5px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

/* Custom premium scrollbar for language dropdown */
.lang-dropdown::-webkit-scrollbar {
    width: 4px;
}

.lang-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.lang-dropdown::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.lang-dropdown::-webkit-scrollbar-thumb:hover {
    background: rgba(7, 172, 248, 0.4);
}

.language-switcher-container:hover .lang-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.language-switcher-container.hide-dropdown .lang-dropdown {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(-5px) !important;
}

.lang-option {
    background: transparent;
    color: var(--text-secondary);
    border: none;
    padding: 8px 14px;
    text-align: left;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.lang-option:hover {
    background: rgba(7, 172, 248, 0.06);
    color: #ffffff;
    border-left-color: rgba(7, 172, 248, 0.8);
    padding-left: 16px;
}


/* =========================================
   THE HANDOFF MODAL 
   ========================================= */
.handoff-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.handoff-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.handoff-modal {
    width: 90%;
    max-width: 450px;
    padding: 30px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.handoff-overlay.visible .handoff-modal {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: var(--text-primary);
}

.modal-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.handoff-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.handoff-form input,
.handoff-form textarea {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 12px 15px;
    color: var(--text-primary);
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.3s;
}

.handoff-form input:focus,
.handoff-form textarea:focus {
    border-color: var(--accent-solid);
}

.glow-button {
    background: var(--accent-solid);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 0 15px var(--accent-glow);
    transition: all 0.3s ease;
}

.glow-button:hover {
    box-shadow: 0 0 25px var(--accent-solid);
    transform: translateY(-2px);
}

.handoff-status {
    margin-top: 15px;
    font-size: 0.85rem;
    text-align: center;
    min-height: 20px;
}

/* =========================================
   NATIVE CONTACT FORM 
   ========================================= */
.contact-layout {
    text-align: left;
    max-width: 900px;
    width: 100%;
}

.contact-header {
    margin-bottom: 2rem;
}

/* Terminal Orange Sub-Headings */
.sub-heading {
    color: #f97316 !important;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.4rem;
    text-shadow: 0 0 12px rgba(249, 115, 22, 0.3);
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 769px) {
    .contact-grid {
        display: grid;
        grid-template-columns: 42% 58%;
        /* Implemented rigorous 2-column desktop layout */
        gap: 1.5rem;
        align-items: stretch;
    }
}

.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    background: rgba(8, 14, 26, 0.72);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 229, 255, 0.22);
    border-radius: 16px;
    padding: 1.8rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 25px rgba(0, 229, 255, 0.04);
}

@media (min-width: 769px) {
    .contact-info-cards {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }
}

.info-card {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.info-card-text {
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.45;
    font-weight: 400;
    margin: 0.1rem 0 0.3rem 0;
}

.info-label {
    color: var(--accent-solid);
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.text-accent {
    color: var(--accent-solid);
    text-decoration: none;
}

.native-contact-form {
    background: rgba(8, 14, 26, 0.72);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 229, 255, 0.22);
    border-radius: 16px;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 25px rgba(0, 229, 255, 0.04);
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.form-row.split {
    flex-direction: row;
}

.form-row.split .input-group {
    flex: 1;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    color: var(--accent-solid);
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.input-group input,
.input-group textarea {
    background: rgba(6, 11, 20, 0.65);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 8px;
    padding: 12px;
    color: #e0f2fe;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: #00e5ff;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.25);
}

.consent-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.8rem;
    color: #a0a0a0;
    margin-top: 10px;
}

.send-btn {
    background: transparent;
    color: #94a3b8;
    border: 1px solid rgba(0, 229, 255, 0.25);
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 1rem;
}

.send-btn:hover {
    background: rgba(0, 229, 255, 0.1);
    color: var(--accent-solid);
    border-color: var(--accent-solid);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.status-msg {
    font-size: 0.85rem;
    text-align: center;
    min-height: 20px;
}

/* =========================================
   LUCY CONFIRMATION OVERLAY (POST-SEND)
   ========================================= */
.lucy-confirmation-overlay {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: radial-gradient(circle at center, rgba(122, 38, 191, 0.25) 0%, rgba(10, 17, 24, 0.95) 85%);
    border: 1px solid rgba(0, 229, 255, 0.15);
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.lucy-confirmation-overlay.visible {
    opacity: 1;
    pointer-events: auto;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.lucy-confirmation-card {
    position: relative;
    width: 100%;
    max-width: 520px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.005) 100%), rgba(10, 25, 35, 0.6);
    border: 1px solid rgba(0, 229, 255, 0.25);
    padding: 2.2rem 2rem;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65),
        inset 0 0 25px rgba(0, 229, 255, 0.03),
        0 0 40px rgba(122, 38, 191, 0.25);
    animation: lucy-card-pulse 6s infinite ease-in-out;
}

.lucy-confirmation-glow-sphere {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.12) 0%, rgba(122, 38, 191, 0.05) 45%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.transmission-hex-icon {
    width: 85px;
    height: 85px;
    margin: 0 auto 1.5rem auto;
    position: relative;
    z-index: 1;
}

.pulsing-hex {
    width: 100%;
    height: 100%;
    animation: hex-pulse 4s infinite ease-in-out;
}

.rotating-ring {
    transform-origin: 50px 50px;
    animation: rotate-ring 12s infinite linear;
}

.rotating-ring-reverse {
    transform-origin: 50px 50px;
    animation: rotate-ring-rev 10s infinite linear;
}

.lucy-confirmation-title {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 0%, #00e5ff 45%, #7a26bf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
}

.lucy-confirmation-body {
    color: #ffffff;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.01em;
    position: relative;
    z-index: 1;
}

.lucy-confirmation-sub {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 1.8rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.lucy-confirmation-dismiss-btn {
    position: relative;
    z-index: 1;
    background: transparent;
    border: 1px solid rgba(7, 172, 248, 0.45);
    color: #00e5ff;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lucy-confirmation-dismiss-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.lucy-confirmation-dismiss-btn:hover {
    border-color: #00e5ff;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.35);
    transform: translateY(-2px);
}

.lucy-confirmation-dismiss-btn:hover::before {
    transform: translateX(100%);
}

.lucy-confirmation-dismiss-btn:active {
    transform: translateY(0);
}

/* Animations */
@keyframes lucy-card-pulse {

    0%,
    100% {
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65),
            inset 0 0 25px rgba(0, 229, 255, 0.03),
            0 0 40px rgba(122, 38, 191, 0.25);
        border-color: rgba(0, 229, 255, 0.25);
    }

    50% {
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65),
            inset 0 0 35px rgba(0, 229, 255, 0.08),
            0 0 55px rgba(0, 229, 255, 0.35);
        border-color: rgba(0, 229, 255, 0.5);
    }
}

@keyframes hex-pulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 4px rgba(0, 229, 255, 0.3));
    }

    50% {
        transform: scale(1.04);
        filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.75)) drop-shadow(0 0 20px rgba(122, 38, 191, 0.4));
    }
}

@keyframes rotate-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotate-ring-rev {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

/* =========================================
   HOME PAGE SPECIFIC STYLES (ALIEN ELEGANCE)
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.lucy-confirmation-overlay.visible {
    opacity: 1;
    pointer-events: auto;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.lucy-confirmation-card {
    position: relative;
    width: 100%;
    max-width: 520px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.005) 100%), rgba(10, 25, 35, 0.6);
    border: 1px solid rgba(0, 229, 255, 0.25);
    padding: 2.2rem 2rem;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 
                inset 0 0 25px rgba(0, 229, 255, 0.03), 
                0 0 40px rgba(122, 38, 191, 0.25);
    animation: lucy-card-pulse 6s infinite ease-in-out;
}

.lucy-confirmation-glow-sphere {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.12) 0%, rgba(122, 38, 191, 0.05) 45%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.transmission-hex-icon {
    width: 85px;
    height: 85px;
    margin: 0 auto 1.5rem auto;
    position: relative;
    z-index: 1;
}

.pulsing-hex {
    width: 100%;
    height: 100%;
    animation: hex-pulse 4s infinite ease-in-out;
}

.rotating-ring {
    transform-origin: 50px 50px;
    animation: rotate-ring 12s infinite linear;
}

.rotating-ring-reverse {
    transform-origin: 50px 50px;
    animation: rotate-ring-rev 10s infinite linear;
}

.lucy-confirmation-title {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 0%, #00e5ff 45%, #7a26bf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
}

.lucy-confirmation-body {
    color: #ffffff;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.01em;
    position: relative;
    z-index: 1;
}

.lucy-confirmation-sub {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 1.8rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.lucy-confirmation-dismiss-btn {
    position: relative;
    z-index: 1;
    background: transparent;
    border: 1px solid rgba(7, 172, 248, 0.45);
    color: #00e5ff;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lucy-confirmation-dismiss-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.lucy-confirmation-dismiss-btn:hover {
    border-color: #00e5ff;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.35);
    transform: translateY(-2px);
}

.lucy-confirmation-dismiss-btn:hover::before {
    transform: translateX(100%);
}

.lucy-confirmation-dismiss-btn:active {
    transform: translateY(0);
}

/* Animations */
@keyframes lucy-card-pulse {

    0%,
    100% {
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65),
            inset 0 0 25px rgba(0, 229, 255, 0.03),
            0 0 40px rgba(122, 38, 191, 0.25);
        border-color: rgba(0, 229, 255, 0.25);
    }

    50% {
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65),
            inset 0 0 35px rgba(0, 229, 255, 0.08),
            0 0 55px rgba(0, 229, 255, 0.35);
        border-color: rgba(0, 229, 255, 0.5);
    }
}

@keyframes hex-pulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 4px rgba(0, 229, 255, 0.3));
    }

    50% {
        transform: scale(1.04);
        filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.75)) drop-shadow(0 0 20px rgba(122, 38, 191, 0.4));
    }
}

@keyframes rotate-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotate-ring-rev {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

/* =========================================
   🌌 HERO SPACETIME WORMHOLE & GRAVITATIONAL LENS (CONCEPT 4)
   ========================================= */
.hero-strata-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.hero-strata-svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Wormhole Cosmic Orbital Drift (Desktop - Floating in Right Quadrant) */
@keyframes wormholeDriftDesktop {
    0% {
        transform: translate(1140px, 320px);
    }
    25% {
        transform: translate(1220px, 420px);
    }
    50% {
        transform: translate(1150px, 490px);
    }
    75% {
        transform: translate(1080px, 380px);
    }
    100% {
        transform: translate(1140px, 320px);
    }
}

/* Wormhole Centered Floating Drift (Mobile / Tablet - Front & Center in Viewport) */
@keyframes wormholeDriftMobile {
    0% {
        transform: translate(720px, 350px) scale(0.65);
    }
    33% {
        transform: translate(740px, 410px) scale(0.68);
    }
    66% {
        transform: translate(700px, 440px) scale(0.62);
    }
    100% {
        transform: translate(720px, 350px) scale(0.65);
    }
}

.wormhole-drifter {
    transform-origin: 0 0;
    animation: wormholeDriftDesktop 36s ease-in-out infinite;
}

/* 3-Plane Kinetic Parallax Keyframes (Differential Z-axis Excursion) */
@keyframes wormholeParallaxFG {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-8px, -5px);
    }
}

@keyframes wormholeParallaxDeep {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(14px, 10px) scale(0.95);
    }
}

.wormhole-plane-foreground {
    transform-box: fill-box;
    transform-origin: center;
    animation: wormholeParallaxFG 14s ease-in-out infinite;
}

.wormhole-plane-midground {
    transform-box: fill-box;
    transform-origin: center;
}

.wormhole-plane-deep {
    transform-box: fill-box;
    transform-origin: center;
    animation: wormholeParallaxDeep 14s ease-in-out infinite;
}

/* Infalling Relativistic Photon Streams (Matter Diving Inward into the Throat) */
@keyframes photonStreamFlow {
    0% {
        stroke-dashoffset: 84;
        opacity: 0.15;
    }
    25% {
        opacity: 0.95;
    }
    75% {
        opacity: 0.95;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 0.15;
    }
}

.photon-stream-flow-1 {
    animation: photonStreamFlow 3.2s linear infinite;
}

.photon-stream-flow-2 {
    animation: photonStreamFlow 3.2s linear infinite 0.8s;
}

.photon-stream-flow-3 {
    animation: photonStreamFlow 3.2s linear infinite 1.6s;
}

.photon-stream-flow-4 {
    animation: photonStreamFlow 3.2s linear infinite 2.4s;
}

/* Relativistic Gravitational Breathing */
@keyframes wormholeBreathe {
    0%, 100% {
        transform: scale(0.96);
        filter: drop-shadow(0 0 25px rgba(255, 26, 255, 0.45)) drop-shadow(0 0 35px rgba(79, 209, 197, 0.35));
    }
    50% {
        transform: scale(1.04);
        filter: drop-shadow(0 0 38px rgba(255, 26, 255, 0.65)) drop-shadow(0 0 55px rgba(0, 229, 255, 0.70));
    }
}

.wormhole-breathe {
    transform-box: fill-box;
    transform-origin: center;
    animation: wormholeBreathe 7s ease-in-out infinite;
}

/* Photon Ring Rotations */
@keyframes wormholeSpinClockwise {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes wormholeSpinCounter {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}

.wormhole-spin-cw {
    transform-box: fill-box;
    transform-origin: center;
    animation: wormholeSpinClockwise 45s linear infinite;
}

.wormhole-spin-ccw {
    transform-box: fill-box;
    transform-origin: center;
    animation: wormholeSpinCounter 30s linear infinite;
}

.wormhole-spin-fast {
    transform-box: fill-box;
    transform-origin: center;
    animation: wormholeSpinClockwise 18s linear infinite;
}

/* Expanding 3D Gravitational Wave Ripples (Scale-Preserving Ellipses) */
@keyframes gravitationalPulse3D {
    0% {
        transform: scale(0.7);
        opacity: 0.85;
        stroke-width: 1.8;
    }
    50% {
        opacity: 0.35;
    }
    100% {
        transform: scale(2.4);
        opacity: 0;
        stroke-width: 0.5;
    }
}

.grav-wave-1 {
    transform-box: fill-box;
    transform-origin: center;
    animation: gravitationalPulse3D 8s cubic-bezier(0.1, 0.4, 0.2, 1) infinite;
}

.grav-wave-2 {
    transform-box: fill-box;
    transform-origin: center;
    animation: gravitationalPulse3D 8s cubic-bezier(0.1, 0.4, 0.2, 1) infinite 2.8s;
}

.grav-wave-3 {
    transform-box: fill-box;
    transform-origin: center;
    animation: gravitationalPulse3D 8s cubic-bezier(0.1, 0.4, 0.2, 1) infinite 5.4s;
}

/* =========================================
   🌌 QUANTUM TELEMETRY & VECTOR TOPOLOGY (CONCEPT 2 UNIFICATION)
   ========================================= */
#services,
#products,
#ethos,
#blog,
#contact,
.ambassador-ethos-wrapper {
    position: relative;
    overflow: hidden;
}

.section-vector-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.section-vector-svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Quantum Telemetry Micro-Animations */
@keyframes telemetryPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.55;
    }
    50% {
        transform: scale(1.65);
        opacity: 1;
    }
}

.telemetry-node-pulse {
    transform-box: fill-box;
    transform-origin: center;
    animation: telemetryPulse 3s ease-in-out infinite;
}

@keyframes conduitFlow {
    0% {
        stroke-dashoffset: 80;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

.conduit-flow {
    animation: conduitFlow 10s linear infinite;
}

@keyframes vectorSlowSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes vectorSlowSpinRev {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}

.vector-slow-spin {
    transform-box: fill-box;
    transform-origin: center;
    animation: vectorSlowSpin 55s linear infinite;
}

.vector-slow-spin-rev {
    transform-box: fill-box;
    transform-origin: center;
    animation: vectorSlowSpinRev 42s linear infinite;
}

@keyframes wavePulseAnim {
    0%, 100% {
        opacity: 0.35;
        stroke-width: 1.0;
    }
    50% {
        opacity: 0.75;
        stroke-width: 1.6;
    }
}

.harmonic-wave-pulse {
    animation: wavePulseAnim 4.5s ease-in-out infinite;
}

.harmonic-wave-pulse-2 {
    animation: wavePulseAnim 4.5s ease-in-out infinite 2.25s;
}

/* Mobile & Tablet Refinements */
@media (max-width: 768px) {
    .wormhole-drifter {
        transform-origin: 0 0;
        animation: wormholeDriftMobile 24s ease-in-out infinite;
    }
    .strata-telemetry-text,
    .wormhole-hud-text {
        display: none;
    }
    .hero-strata-canvas {
        opacity: 0.85;
    }
    .section-vector-canvas {
        opacity: 0.95;
    }
    .section-vector-canvas text {
        font-size: 7.5px;
        letter-spacing: 0.16em;
        opacity: 0.75;
    }
}

/* =========================================
   HOME PAGE SPECIFIC STYLES (ALIEN ELEGANCE)
   ========================================= */
.home-layout {
    max-width: 1300px;
    width: 95%;
    margin: 1rem auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* =========================================
   ⚡ GREEN: PROFOUND MISSION & ETHOS ⚡
   ========================================= */

/* The Ethereal Teal Gradient for the Mission Statement */
.text-gradient-teal {
    background: linear-gradient(135deg, #ffffff 0%, #4FD1C5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mission-statement {
    font-size: 1.35rem;
    /* Larger, more authoritative */
    font-weight: 300;
    /* Ultra-elegant thin weight */
    max-width: 1000px;
    margin: 1.2rem auto 2rem auto;
    line-height: 1.85;
    /* Improved readability with generous line height */
    letter-spacing: 0.02em;
    text-shadow: 0 4px 20px rgba(79, 209, 197, 0.2);
    /* Soft teal glow */
}

/* 🌟 HERO MANIFESTO TYPOGRAPHIC HIERARCHY (BALANCED WIDESCREEN FLOW) */
.hero-manifesto-container {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    /* Increased from 1.35rem for better breathing room */
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 1.5rem 0;
    /* Added vertical padding for breathing room */
}

/* Module 1: The Hook (Authoritative & Sharp - White, Bold, Text-lg) */
.hero-manifesto-hook {
    font-size: 1.28rem;
    /* Slightly increased for prominence */
    font-weight: 700;
    color: #ffffff;
    line-height: 1.7;
    /* Improved from 1.5 for better readability */
    letter-spacing: -0.01em;
    max-width: 1150px;
    margin: 0.5rem auto;
    /* Added margin for better separation */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    text-wrap: balance;
}

/* Sub-Block (Subtle Accent, Text-sm, Font-medium) */
.hero-manifesto-sub {
    font-size: 0.88rem;
    font-weight: 500;
    color: #4fd1c5;
    letter-spacing: 0.03em;
    line-height: 1.5;
    margin: -0.25rem auto 0 auto;
    display: inline-block;
    padding: 0.4rem 1.4rem;
    max-width: 1000px;
    background: rgba(79, 209, 197, 0.08);
    border: 1px solid rgba(79, 209, 197, 0.25);
    border-radius: 9999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-wrap: balance;
}

/* Module 2: The Engine (Analytical & Fluid - Gray/Silver, Light, Relaxed Leading) */
.hero-manifesto-engine {
    font-size: 1.05rem;
    /* Slightly increased for clarity */
    font-weight: 300;
    color: #9ca3af;
    line-height: 1.8;
    /* Improved from 1.65 for better readability */
    max-width: 960px;
    margin: 0.5rem auto;
    /* Added margin for better separation */
    letter-spacing: 0.015em;
    text-wrap: balance;
}

/* Modules 3 & 4: Subordinate Presentation (Discreet, Non-Intrusive, Business-First) */
.hero-manifesto-trigger {
    font-size: 0.88rem;
    font-weight: 400;
    color: rgba(148, 163, 184, 0.85);
    letter-spacing: 0.01em;
    line-height: 1.55;
    max-width: 880px;
    margin: 0.25rem auto 0 auto;
    text-shadow: none;
    text-wrap: balance;
}

.hero-manifesto-assistant {
    font-size: 0.95rem;
    /* Slightly increased from 0.82 for better visibility */
    font-weight: 400;
    color: rgba(148, 163, 184, 0.75);
    /* Improved contrast from 0.65 */
    letter-spacing: 0.01em;
    line-height: 1.75;
    /* Improved from 1.55 for better readability */
    max-width: 900px;
    margin: 0.5rem auto;
    /* Added margin for better separation */
    text-shadow: none;
    text-wrap: balance;
}

@media (max-width: 768px) {
    .mission-statement {
        font-size: 1.15rem;
        line-height: 1.75;
        margin: 0.8rem auto 1.5rem auto;
    }
    .hero-manifesto-container {
        gap: 1.4rem;
        margin-top: 0;
        padding: 1rem 0;
    }
    .hero-manifesto-hook {
        font-size: 1.15rem;
        line-height: 1.6;
    }
    .hero-manifesto-engine {
        font-size: 1rem;
        line-height: 1.7;
    }
    .hero-manifesto-trigger {
        font-size: 0.84rem;
    }
    .hero-manifesto-assistant {
        font-size: 0.9rem;
        margin-top: 0.35rem;
        padding: 0 0.75rem;
        line-height: 1.65;
    }
}

/* 🌟 FUNNEL NAVIGATION: SLEEK ETHEREAL GLASS SCROLL-DOWN BUTTON (ANCHORED AT BOTTOM OF MAIN PAGE) */
.hero-scroll-down {
    position: absolute;
    bottom: 2.8rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1.75rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    -webkit-backdrop-filter: blur(20px) saturate(190%);
    backdrop-filter: blur(20px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-top: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 9999px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25), inset 0 1px 1px 0 rgba(255, 255, 255, 0.35), 0 0 20px rgba(79, 209, 197, 0.12);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    animation: heroPillFloat 3s infinite ease-in-out;
}

.hero-scroll-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: #ffffff;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease, text-shadow 0.3s ease;
    user-select: none;
}

.hero-scroll-chevron {
    display: block;
    stroke: #4fd1c5;
    filter: drop-shadow(0 0 6px rgba(79, 209, 197, 0.6));
    transition: transform 0.3s ease, stroke 0.3s ease;
    animation: heroChevronSubtle 1.8s infinite ease-in-out;
}

.hero-scroll-down:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-color: rgba(79, 209, 197, 0.5);
    border-top-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 12px 36px 0 rgba(0, 0, 0, 0.3), inset 0 1px 2px 0 rgba(255, 255, 255, 0.6), 0 0 30px rgba(79, 209, 197, 0.4);
    transform: translateX(-50%) translateY(-4px) scale(1.05);
}

.hero-scroll-down:hover .hero-scroll-label {
    color: #4fd1c5;
    text-shadow: 0 0 14px rgba(79, 209, 197, 0.8);
}

.hero-scroll-down:hover .hero-scroll-chevron {
    stroke: #ffffff;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
    transform: translateY(2px);
}

@keyframes heroPillFloat {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(7px);
    }
}

@keyframes heroChevronSubtle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(3px);
    }
}

@media (max-height: 800px) {
    .hero-scroll-down {
        bottom: 1.5rem;
        padding: 0.6rem 1.4rem;
    }
}

.clarifier-text {
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.7;
    max-width: 1000px;
    margin: 0 auto;
    letter-spacing: 0.03em;
    background: linear-gradient(135deg, #ffffff 0%, #7dd3fc 45%, #c084fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: alienBreatheText 6s infinite alternate ease-in-out;
}

@keyframes alienBreatheText {
    0% {
        text-shadow: 0 0 8px rgba(125, 211, 252, 0.2);
    }

    100% {
        text-shadow: 0 0 25px rgba(192, 132, 252, 0.5);
    }
}

/* ========================================================= */
/* 🏛️ ETHOS CONTAINMENT FIELD (LIVING ELEGANCE + HOVER)      */
/* ========================================================= */

#ethos {
    display: flex;
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    padding-top: 2rem;
    padding-bottom: 4rem;
    width: 100%;
}

#ethos .content-container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

.ambassador-ethos-wrapper {
    max-width: 1300px;
    width: 95%;
    margin: 3.5rem auto 1rem auto;
    position: relative;
    z-index: 10;
}

.ethos-glass-block {
    position: relative;
    max-width: 850px;
    margin: 1rem auto;
    padding: 2.5rem 2.5rem;
    text-align: center;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(8, 14, 28, 0.14) 0%, rgba(20, 10, 36, 0.1) 100%);
    /* Matched with lucy-feature-card */
    border: 1.5px solid rgba(0, 229, 255, 0.52);
    /* Matched with lucy-feature-card */
    box-shadow:
        0 0 80px rgba(0, 229, 255, 0.32),
        0 30px 90px rgba(0, 0, 0, 0.6),
        inset 0 0 40px rgba(0, 229, 255, 0.15),
        inset 0 0 60px rgba(255, 26, 255, 0.12),
        inset 0 1px 3px rgba(79, 209, 197, 0.5);
    overflow: hidden;
    -webkit-backdrop-filter: blur(10px) saturate(200%);
    backdrop-filter: blur(10px) saturate(200%);
    animation: ethosBreathe 8s ease-in-out infinite alternate;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* The Ambient Heartbeat */
@keyframes ethosBreathe {
    0% {
        transform: translateY(0px);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 25px rgba(0, 229, 255, 0.18), inset 0 0 30px rgba(79, 209, 197, 0.12);
        border-color: rgba(0, 229, 255, 0.4);
    }

    100% {
        transform: translateY(-6px);
        box-shadow: 0 30px 65px rgba(0, 0, 0, 0.55), 0 0 45px rgba(255, 26, 255, 0.28), inset 0 0 50px rgba(192, 132, 252, 0.18);
        border-color: rgba(255, 26, 255, 0.55);
    }
}

/* 🔥 THE HOVER AWAKENING 🔥 */
.ethos-glass-block:hover {
    animation-play-state: paused;
    transform: translateY(-8px) scale(1.01);
    background: linear-gradient(135deg, rgba(8, 14, 28, 0.2) 0%, rgba(20, 10, 36, 0.15) 100%);
    border-color: rgba(0, 229, 255, 0.75);
    box-shadow:
        0 0 100px rgba(0, 229, 255, 0.4),
        0 40px 120px rgba(0, 0, 0, 0.7),
        inset 0 0 50px rgba(0, 229, 255, 0.2),
        inset 0 0 80px rgba(255, 26, 255, 0.15),
        inset 0 1px 3px rgba(79, 209, 197, 0.6);
}

/* The Premium Glass Sweep */
.ethos-glass-block::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(0, 229, 255, 0.14), transparent);
    transform: skewX(-25deg);
    animation: glassSweep 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none;
    z-index: 1;
}

.ethos-glass-block:hover::after {
    background: linear-gradient(to right, transparent, rgba(255, 26, 255, 0.2), transparent);
    animation-duration: 3s;
    /* Sweep accelerates on hover */
}

@keyframes glassSweep {

    0%,
    40% {
        left: -150%;
    }

    80%,
    100% {
        left: 200%;
    }
}

/* Stacking Context */
.ethos-glass-block>* {
    position: relative;
    z-index: 2;
}

/* The Liquid Hologram Heading */
.ethos-glass-block h4 {
    font-size: 2rem;
    /* Reduced from 2.6rem for compact elegance */
    font-weight: 500;
    font-family: var(--font-heading);
    background: linear-gradient(to right, #4FD1C5 0%, #7dd3fc 30%, #c084fc 70%, #4FD1C5 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: 1rem;
    /* Reduced from 1.5rem */
    letter-spacing: -0.02em;
    animation: liquidTextFlow 5s linear infinite;
    text-shadow: 0 4px 12px rgba(125, 211, 252, 0.25);
    transition: text-shadow 0.5s ease;
}

.ethos-glass-block:hover h4 {
    text-shadow: 0 8px 24px rgba(192, 132, 252, 0.5);
    /* Glow intensifies on hover */
    animation-duration: 2.5s;
    /* Liquid flows faster on hover */
}

@keyframes liquidTextFlow {
    to {
        background-position: 200% center;
    }
}

/* The Manifesto Text */
.ethos-paragraph {
    position: relative;
    font-size: 1rem !important;
    /* Reduced from 1.15rem for compactness */
    line-height: 1.75 !important;
    /* Reduced from 1.85 to match compactness */
    max-width: 780px;
    margin: 0 auto;
    font-weight: 300 !important;
    letter-spacing: 0.02em;
    z-index: 2;

    /* 🔴 BULLETPROOF TEXT GRADIENT 🔴 */
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 60%, #4FD1C5 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;

    animation: paragraphGlow 6s infinite alternate ease-in-out;
}

@keyframes paragraphGlow {
    0% {
        text-shadow: 0 0 4px rgba(165, 180, 252, 0.15);
    }

    100% {
        text-shadow: 0 0 12px rgba(79, 209, 197, 0.35);
    }
}

/* Avatar Pulse Animation */
@keyframes avatarPulse {
    0% {
        box-shadow: 0 0 20px rgba(0, 229, 255, 0.4),
                    0 0 40px rgba(255, 26, 255, 0.15),
                    inset 0 0 15px rgba(0, 229, 255, 0.15);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 229, 255, 0.6),
                    0 0 80px rgba(255, 26, 255, 0.3),
                    inset 0 0 25px rgba(0, 229, 255, 0.25);
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 0 20px rgba(0, 229, 255, 0.4),
                    0 0 40px rgba(255, 26, 255, 0.15),
                    inset 0 0 15px rgba(0, 229, 255, 0.15);
        transform: scale(1);
    }
}

/* Header Alignment */
.ethos-header-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* Reduced from 12px for tighter layout */
    margin-bottom: 0.8rem;
    /* Reduced from 1.2rem for compactness */
    z-index: 2;
}

/* =========================================
   💬 HUMANIZED PROMPTS INTERFACE 💬
   ========================================= */

.lucy-suggested-prompts {
    margin: 0.6rem 0 0;
    /* Reduced from 0.8rem */
    padding: 0.9rem;
    /* Reduced from 1.2rem */
    width: 100%;
    background: rgba(8, 16, 32, 0.14);
    /* Reduced from 0.18 */
    border-radius: 14px;
    /* Reduced from 16px */
    border: 1px solid rgba(0, 229, 255, 0.32);
    /* Reduced from 1.5px and 0.35 */
    -webkit-backdrop-filter: blur(8px) saturate(150%);
    backdrop-filter: blur(8px) saturate(150%);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.08),
                inset 0 0 15px rgba(0, 229, 255, 0.06);
}

.prompts-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid rgba(79, 209, 197, 0.15);
    padding-bottom: 0.5rem;
}

.prompts-header .prompts-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #4FD1C5;
    margin: 0;
    font-weight: 600;
}

.prompts-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Changed from 1fr 1fr to single column */
    gap: 0.6rem;
    /* Reduced from 0.8rem 1.2rem */
}

.prompt-item {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.08) 0%, rgba(255, 26, 255, 0.04) 100%);
    border-left: 4px solid rgba(0, 229, 255, 0.6);
    /* Thicker accent border */
    padding: 0.75rem 1rem;
    border-radius: 0 12px 12px 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    position: relative;
    overflow: hidden;
}

.prompt-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.15) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.prompt-item:hover::before {
    opacity: 1;
}

.prompt-item:hover {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.16) 0%, rgba(255, 26, 255, 0.08) 100%);
    border-left-color: #00e5ff;
    transform: translateX(6px);
    /* Increased from 4px */
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 229, 255, 0.25);
}

/* 🔴 BULLETPROOF LOCKS: Fixes Prompt 01 rendering bug */
.prompt-item .prompt-intent {
    font-size: 0.6rem !important;
    color: #4FD1C5 !important;
    /* Changed to teal */
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    font-weight: 600 !important;
    /* Slightly bolder */
    margin: 0 !important;
}

.prompt-item .prompt-pill {
    font-size: 0.8rem !important;
    /* Reduced from 0.85rem */
    color: #e0e6ed !important;
    font-family: var(--font-mono) !important;
    font-style: italic !important;
    transition: color 0.3s ease;
    text-align: center;
    /* Changed from left to center for premium look */
    width: 100%;
}

/* Interactive Success State */
.prompt-item.copy-success {
    background: rgba(79, 209, 197, 0.2);
    border-left-color: #00e5ff;
}

.prompt-item.copy-success .prompt-pill {
    color: #4FD1C5 !important;
    font-weight: 600 !important;
    font-style: normal !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .prompts-grid {
        grid-template-columns: 1fr;
    }
}

/* 3. THE AUTONOMOUS BADGE (ACTUALLY A BADGE NOW) */
.autonomous-badge {
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* Reduced from 12px */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(125, 211, 252, 0.3);
    padding: 6px 16px;
    /* Reduced from 8px 22px */
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.8rem;
    /* Reduced from 0.85rem */
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25), 0 0 20px rgba(125, 211, 252, 0.15);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: -0.8rem;
    /* Reduced from -1.2rem */
    margin-bottom: 0.8rem;
    /* Reduced from 2rem */
}

.autonomous-badge:hover {
    background: rgba(125, 211, 252, 0.15);
    border-color: rgba(125, 211, 252, 0.8);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 30px rgba(192, 132, 252, 0.4);
    transform: translateY(-2px);
}

.status-pulse {
    width: 8px;
    height: 8px;
    background-color: #00e5ff;
    /* Vivid Cyan */
    border-radius: 50%;
    box-shadow: 0 0 10px #00e5ff;
    animation: pulseAlien 2s infinite;
    flex-shrink: 0;
}

@keyframes pulseAlien {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(0, 229, 255, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 229, 255, 0);
    }
}

/* 4. BRUTE FORCE GRID FOR LUCY CARD */
/* We use Grid because Flexbox allows images to stretch unpredictably */
.lucy-feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    /* Reduced from 1.4rem */
    padding: 2rem 2rem;
    /* Reduced from 3rem 2.5rem */
    background: linear-gradient(135deg, rgba(8, 14, 28, 0.14) 0%, rgba(20, 10, 36, 0.1) 100%);
    /* Aligned with ethos-glass-block */
    border: 1.5px solid rgba(0, 229, 255, 0.52);
    /* Slightly reduced */
    border-radius: 24px;
    overflow: hidden;
    text-align: center;
    -webkit-backdrop-filter: blur(10px) saturate(200%);
    backdrop-filter: blur(10px) saturate(200%);
    box-shadow: 0 0 80px rgba(0, 229, 255, 0.32),
                0 30px 90px rgba(0, 0, 0, 0.6),
                inset 0 0 40px rgba(0, 229, 255, 0.15),
                inset 0 0 60px rgba(255, 26, 255, 0.12),
                inset 0 1px 3px rgba(79, 209, 197, 0.5);
    transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
}

.lucy-feature-card:hover {
    transform: translateY(-6px) scale(1.005);
    /* Reduced lift and scale */
    border-color: rgba(0, 229, 255, 0.75);
    background: linear-gradient(135deg, rgba(8, 14, 28, 0.18) 0%, rgba(20, 10, 36, 0.14) 100%);
    box-shadow: 0 0 70px rgba(0, 229, 255, 0.35),
                0 25px 80px rgba(0, 0, 0, 0.6),
                inset 0 0 40px rgba(0, 229, 255, 0.18),
                inset 0 0 65px rgba(255, 26, 255, 0.12);
}

.lucy-media-wrapper {
    width: 130px;
    /* Reduced from 140px */
    height: 130px;
    /* Reduced from 140px */
    border-radius: 50%;
    border: 3.5px solid rgba(0, 229, 255, 0.45);
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.55),
                0 0 80px rgba(255, 26, 255, 0.28),
                inset 0 0 25px rgba(0, 229, 255, 0.25),
                inset 0 0 35px rgba(0, 229, 255, 0.12);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 35% 35%, rgba(0, 229, 255, 0.12) 0%, transparent 60%);
    animation: avatarPulse 4.5s ease-in-out infinite;
    margin-top: 0.3rem;
}

.lucy-media-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    /* Frames her face beautifully */
    display: block;
}

.lucy-content-wrapper {
    flex: 1;
    width: 100%;
    max-width: 600px;
    /* Keep content centered and readable */
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.65rem;
    /* Reduced from 0.8rem */
    text-align: center;
}

.lucy-content-wrapper h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    /* Reduced from 1.6rem for compactness */
    font-weight: 600;
    margin-bottom: 0.3rem;
    background: linear-gradient(135deg, #00e5ff 0%, #4FD1C5 50%, #c084fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    letter-spacing: 0.5px;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.lucy-quote {
    border-left: 3px solid var(--accent-solid);
    padding-left: 0.7rem;
    /* Reduced from 0.8rem */
    margin-bottom: 0.5rem;
    /* Reduced from 0.6rem */
    font-style: italic;
    color: #e0f2fe;
    font-size: 0.85rem;
    line-height: 1.4;
    text-align: center;
}

.lucy-capabilities {
    font-size: 0.9rem;
    /* Balanced down from 0.95rem */
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
}

/* 📱 MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    #persistent-ai-layer {
        right: 1rem;
        bottom: 1rem;
    }

    #lucy-chat-box {
        width: calc(100vw - 2rem);
        max-height: 60vh;
    }

    #lucy-orb {
        width: 70px;
        height: 70px;
    }

    .home-layout {
        margin-top: 2rem;
        gap: 3rem;
    }

    .hero-header {
        gap: 1.5rem;
    }

    h1 {
        font-size: 2.8rem;
    }

    .hero-lab-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .ethos-block {
        padding: 1.5rem;
    }

    /* Stacks the Flexbox on Mobile */
    .lucy-feature-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
    }

    .lucy-media-wrapper {
        width: 100px;
        height: 100px;
        border-radius: 50%;
    }

    .lucy-content-wrapper {
        padding: 0;
        margin-top: 0;
        width: 100%;
    }

    /* Fix Horizontal Form Squeezing on Mobile/Tablets */
    .form-row.split {
        flex-direction: column;
        gap: 1.1rem;
    }
}

@media (max-width: 560px) {

    /* Stack Info Cards on mobile screens to prevent text wrap overflow */
    .contact-info-cards {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

/* General Glass Cards (For services/products) */
.glass-card {
    background: rgba(10, 18, 32, 0.34);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 16px;
    padding: 1.8rem;
    text-align: left;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s ease, border-color 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 229, 255, 0.25);
    border-color: rgba(0, 229, 255, 0.35);
}

/* =========================================
   SERVICES PAGE (LATERAL SCROLL UI)
   ========================================= */
.services-layout {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    /* Tightened from 3rem */
}

.services-header {
    max-width: 700px;
}

.horizontal-scroll-wrapper {
    width: 100%;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, black 85%, transparent 100%);
}

.horizontal-scroll-track {
    display: flex;
    gap: 1.5rem;
    /* Tightened from 2rem */
    overflow-x: auto;
    padding-bottom: 1.5rem;
    padding-right: 4rem;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #1d558c rgba(255, 255, 255, 0.03);
}

/* Alien Scrollbar Styling */
.horizontal-scroll-track::-webkit-scrollbar {
    height: 8px;
}

.horizontal-scroll-track::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.horizontal-scroll-track::-webkit-scrollbar-thumb {
    background-color: #7a26bf;
    background: linear-gradient(to right, #7a26bf, #1d558c);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(7, 172, 248, 0.25);
    transition: all 0.3s ease;
}

.horizontal-scroll-track::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to right, #00ff66, #07acf8);
    box-shadow: 0 0 15px rgba(0, 255, 102, 0.6);
}

.horizontal-scroll-track:focus-visible {
    outline: 2px dashed rgba(7, 172, 248, 0.7);
    outline-offset: 8px;
    border-radius: 8px;
    background: rgba(7, 172, 248, 0.02);
}

/* Service Card Adjustments */
.service-card {
    flex: 0 0 290px;
    /* Reduced card width slightly for better desktop proportion */
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-number {
    position: absolute;
    top: -10px;
    right: 10px;
    font-family: var(--font-heading);
    font-size: 4rem;
    /* Sleeker, less dominant */
    font-weight: 600;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
    z-index: 0;
}

.service-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    /* Tightened down from 1.4rem */
    color: #ffffff;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.6rem;
    z-index: 1;
}

.service-card p {
    z-index: 1;
    font-size: 0.9rem;
}

/* Compact body text */

@media (max-width: 768px) {
    .service-card {
        flex: 0 0 280px;
    }
}

/* =========================================
   PRODUCTS PAGE (2x2 CINEMATIC GRID)
   ========================================= */
.products-layout {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    /* Tightened from 3rem */
}

.products-header {
    max-width: 700px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    /* Tightened from 2.5rem to look compact and premium */
}

.product-card {
    padding: 0 !important;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.product-media {
    width: 100%;
    height: 210px;
    /* Reduced from 280px to save vertical space and improve balance */
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card:hover .product-media img {
    transform: scale(1.08);
}

.product-content {
    padding: 1.4rem;
    /* Tightened from 2rem */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-content h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    /* Balanced down from 1.5rem */
    color: #ffffff;
    margin-bottom: 0.8rem;
}

.product-content p {
    font-size: 0.9rem;
    /* Tightened down from 0.95rem */
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    /* Reduced from 2rem to prevent empty spacing */
    flex-grow: 1;
}

.product-link {
    color: var(--accent-solid);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    align-self: flex-start;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.product-link:hover {
    color: #ffffff;
    transform: translateX(5px);
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-media {
        height: 220px;
    }

    .product-content {
        padding: 1.5rem;
    }
}

/* =========================================
   THE ALIEN TYPEWRITER GLOW & CHAT MINIMIZE
   ========================================= */
.lucy-typing-glow {
    box-shadow: 0 0 20px rgba(7, 172, 248, 0.6) !important;
    border-color: var(--accent-solid) !important;
    transition: box-shadow 0.3s ease-in-out;
}

#lucy-chat-minimize svg {
    stroke: var(--text-secondary) !important;
    stroke-width: 2px !important;
    transition: stroke 0.3s ease;
}

#lucy-chat-minimize:hover svg {
    stroke: #ffffff !important;
}

/* PREMIUM TOGGLE BUTTON OVERRIDE */
.chat-toggle-btn.is-speaking {
    animation: toggleGlowPulse 1.5s infinite alternate;
}

@keyframes toggleGlowPulse {
    from {
        box-shadow: 0 0 5px var(--accent-glow);
    }

    to {
        box-shadow: 0 0 20px var(--accent-glow);
    }
}

.chat-toggle-btn {
    position: fixed !important;
    bottom: 2.5rem !important;
    right: calc(2rem + 95px) !important;
    z-index: 2147483645 !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: rgba(20, 20, 20, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.85) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    -webkit-backdrop-filter: blur(12px) !important;
    backdrop-filter: blur(12px) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    outline: none !important;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.chat-toggle-btn:hover {
    transform: scale(1.05) !important;
    background: rgba(40, 40, 40, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

.chat-toggle-btn.visible {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: scale(1) !important;
}

@keyframes lucy-breathe {
    0% {
        transform: scale(0.8) translate(0, 0);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.2) translate(-2%, 2%);
        opacity: 1;
    }
}

/* =========================================
   ⚡ COPYABLE EMAIL & WHATSAPP PHONE STYLES ⚡
   ========================================= */
.copyable-email {
    position: relative;
    cursor: copy !important;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-decoration: none;
}

.copyable-email:hover {
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(7, 172, 248, 0.4);
}

.copyable-email-status {
    color: #4FD1C5;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.copyable-email.copied {
    color: #00ff66 !important;
    text-shadow: 0 0 10px rgba(0, 255, 102, 0.6);
    font-weight: 600 !important;
    pointer-events: none !important;
}

.copy-disabled {
    pointer-events: none;
}

.copy-disabled>*:not(.prompt-copy-badge) {
    opacity: 0.2;
}

.copy-disabled .prompt-copy-badge {
    opacity: 1 !important;
}

.phone-whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-decoration: none;
}

.phone-whatsapp-link:hover {
    color: #25D366 !important;
    /* WhatsApp Green */
    text-shadow: 0 0 8px rgba(37, 211, 102, 0.5);
    transform: translateY(-1px) scale(1.02);
}

/* =========================================
   ⚡ HORIZONTAL SCROLL BLOG CARDS ⚡
   ========================================= */
.blog-post-card {
    flex: 0 0 290px;
    /* Matches .service-card flex-basis */
    scroll-snap-align: start;
    text-decoration: none !important;
    color: inherit !important;
}

/* =========================================
   ⚡ SPA PREMIUM HEADER NAVBAR ⚡
   ========================================= */
html {
    scroll-padding-top: 70px;
    /* Aligns scrolls target perfectly below the navbar */
}

.spa-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(10, 17, 24, 0.35);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 100002;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: opacity 0.3s ease;
}

.navbar-brand:hover {
    opacity: 0.8;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    margin-right: 80px;
    /* Leave space for the fixed language switcher */
}

.nav-btn {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.nav-btn:hover {
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Responsiveness overrides for Mobile & Tablet */
@media (max-width: 768px) {
    .spa-navbar {
        padding: 0 20px;
        height: 60px;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    .navbar-menu {
        gap: 1rem;
        margin-right: 60px;
    }

    .nav-btn {
        font-size: 0.85rem;
    }

    .language-switcher-container {
        top: 15px;
        right: 20px;
    }
}

@media (max-width: 520px) {
    .navbar-brand {
        display: none;
        /* Hide brand name on tiny screens to fit navigation items */
    }

    .navbar-menu {
        margin-right: 40px;
        width: 100%;
        justify-content: space-around;
        gap: 0.5rem;
    }

    .language-switcher-container {
        top: 15px;
        right: 10px;
    }
}

/* =========================================
   🔮 LUCY CONNECTING & WAKING WARM-UP STATES
   ========================================= */
.orb-connecting .orb-ring {
    animation: spinRing 3s infinite linear, rippleRing 1.5s infinite linear;
    opacity: 0.9;
    border-style: dashed;
    border-color: #07acf8;
}

@keyframes spinRing {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.lucy-connecting-bubble {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(7, 172, 248, 0.05) !important;
    border: 1px solid rgba(7, 172, 248, 0.15) !important;
    padding: 1.2rem !important;
    width: 100%;
}

.connecting-loader-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.connecting-spinner {
    width: 24px;
    height: 24px;
    animation: rotateSpinner 2s infinite linear;
}

.connecting-spinner .path {
    stroke: #07acf8;
    stroke-linecap: round;
    animation: dashSpinner 1.5s infinite ease-in-out;
}

.connecting-percentage {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: #07acf8;
    font-variant-numeric: tabular-nums;
}

.connecting-message {
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--text-primary);
    transition: opacity 0.3s ease;
}

@keyframes rotateSpinner {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dashSpinner {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }

    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

/* =========================================
   ⚡ PHASE 4: MOBILE COMPOSITOR OPTIMIZATIONS ⚡
   ========================================= */
@media (max-width: 768px) {
    #lucy-chat-box {
        -webkit-backdrop-filter: blur(12px) !important;
        backdrop-filter: blur(12px) !important;
    }

    #lucy-orb:hover .orb-tooltip {
        -webkit-backdrop-filter: blur(8px) !important;
        backdrop-filter: blur(8px) !important;
    }

    .lang-dropdown {
        -webkit-backdrop-filter: blur(8px) !important;
        backdrop-filter: blur(8px) !important;
    }

    .lucy-confirmation-overlay.visible {
        -webkit-backdrop-filter: blur(6px) !important;
        backdrop-filter: blur(6px) !important;
    }

    .services-modal-overlay {
        -webkit-backdrop-filter: blur(10px) !important;
        backdrop-filter: blur(10px) !important;
    }

    .services-modal-box {
        -webkit-backdrop-filter: blur(15px) !important;
        backdrop-filter: blur(15px) !important;
    }
}

/* =========================================
   SERVICES DETAILS MODAL (PREMIUM GLASSMORPHIC)
   ========================================= */
.services-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 10, 16, 0.65);
    -webkit-backdrop-filter: blur(28px);
    backdrop-filter: blur(28px);
    z-index: -1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.4s, z-index 0.4s step-end;
    padding: 2rem;
}

.services-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    z-index: 100000;
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.4s, z-index 0s;
}

.services-modal-box {
    background:
        linear-gradient(135deg,
            rgba(122, 38, 191, 0.18) 0%,
            /* Home Purple */
            rgba(29, 85, 140, 0.06) 25%,
            /* Services Blue */
            rgba(22, 63, 117, 0.06) 50%,
            /* Products Dark Blue */
            rgba(8, 26, 92, 0.08) 75%,
            /* Contact Deep Blue */
            rgba(58, 10, 99, 0.18) 100%
            /* Blog Dark Violet */
        ),
        linear-gradient(rgba(255, 255, 255, 0.005) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.005) 1px, transparent 1px),
        rgba(6, 12, 22, 0.92);
    background-size: auto, 24px 24px, 24px 24px, auto;
    border: 1px solid rgba(122, 38, 191, 0.25);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8),
        0 0 50px rgba(122, 38, 191, 0.18),
        0 0 30px rgba(7, 172, 248, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    width: 100%;
    max-width: 650px;
    position: relative;
    padding: 3rem;
    -webkit-backdrop-filter: blur(45px) saturate(180%);
    backdrop-filter: blur(45px) saturate(180%);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #1d558c #0A1118;
}

#blog-modal .services-modal-box {
    max-width: min(720px, calc(100vw - 4rem));
    width: min(100%, 720px);
    padding: 2.5rem;
    overflow-x: hidden;
}

#blog-modal .services-modal-content {
    gap: 1.5rem;
}

.ghost-hidden {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.blog-modal-hero-wrapper,
.blog-modal-subimage-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 24px;
    margin-top: 1.5rem;
}

#modal-blog-hero-image,
#modal-blog-sub-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

#modal-blog-video-container,
#modal-blog-link-container {
    display: none;
}

.modal-section-visible {
    display: block;
}

body.modal-open {
    overflow: hidden;
}

#modal-blog-extra-details {
    font-size: 1rem;
    line-height: 1.75;
    color: #dbe6ff;
    letter-spacing: 0.01em;
    overflow-wrap: break-word;
    word-break: break-word;
}

#modal-blog-extra-details p {
    margin-bottom: 1.2rem;
}

#modal-blog-blueprint::before,
#modal-blog-blueprint::after {
    display: none !important;
    content: none !important;
}

/* Glowing Neon Top Strip carrying the unified gradient color palette */
.services-modal-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,
            #7a26bf 0%,
            /* Home */
            #1d558c 25%,
            /* Services */
            #163f75 50%,
            /* Products */
            #081a5c 75%,
            /* Contact */
            #3a0a63 100%
            /* Blog */
        );
    border-radius: 24px 24px 0 0;
    z-index: 5;
}

.services-modal-overlay.active .services-modal-box {
    transform: translateY(0) scale(1);
}

/* Lucy Autonomous Modal Highlight — Subtle cyan pulse when Lucy opens a modal */
.services-modal-box.lucy-modal-highlight {
    animation: lucyModalPulse 1.4s ease-out forwards;
}

@keyframes lucyModalPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(7, 172, 248, 0.55),
            0 0 60px rgba(122, 38, 191, 0.3);
    }

    40% {
        box-shadow: 0 0 50px 15px rgba(7, 172, 248, 0.18),
            0 0 80px rgba(122, 38, 191, 0.15);
    }

    100% {
        box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8),
            0 0 50px rgba(122, 38, 191, 0.18),
            0 0 30px rgba(7, 172, 248, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }
}

/* Cinematic Focus Mode */
.services-modal-overlay.lucy-theater-mode {
    background: rgba(4, 8, 15, 0.95);
    -webkit-backdrop-filter: blur(60px);
    backdrop-filter: blur(60px);
}


/* Synchronized Highlighting */
.lucy-active-glow {
    animation: lucyTextPulse 2.5s ease-in-out forwards;
    border-radius: 8px;
}

@keyframes lucyTextPulse {
    0% {
        color: var(--text-primary);
        text-shadow: 0 0 0 rgba(7, 172, 248, 0);
        background-color: rgba(7, 172, 248, 0);
        box-shadow: 0 0 0 rgba(7, 172, 248, 0);
    }

    30% {
        color: #ffffff;
        text-shadow: 0 0 15px rgba(7, 172, 248, 0.8);
        background-color: rgba(7, 172, 248, 0.15);
        box-shadow: 0 0 20px rgba(7, 172, 248, 0.2);
    }

    100% {
        color: var(--text-primary);
        text-shadow: 0 0 0 rgba(7, 172, 248, 0);
        background-color: rgba(7, 172, 248, 0);
        box-shadow: 0 0 0 rgba(7, 172, 248, 0);
    }
}

/* Scrollbar inside modal */
.services-modal-box::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

.services-modal-box::-webkit-scrollbar-track {
    background: #0A1118;
    border-radius: 6px;
}

.services-modal-box::-webkit-scrollbar-thumb {
    background-color: #1d558c;
    background: linear-gradient(to bottom,
            #7a26bf 0%,
            #1d558c 25%,
            #163f75 50%,
            #081a5c 75%,
            #3a0a63 100%);
    border-radius: 6px;
    border: 3px solid #0A1118;
    box-shadow: 0 0 10px rgba(7, 172, 248, 0.2);
}

.services-modal-box::-webkit-scrollbar-thumb:hover {
    background: #07acf8bb;
    box-shadow: 0 0 15px #07acf8;
}

/* Product Extra Details Sub-headings & Formatted Text */
.product-extra-heading {
    margin-top: 1.8rem;
    margin-bottom: 0.7rem;
    color: #a5b4fc;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-bottom: 1px dashed rgba(165, 180, 252, 0.15);
    padding-bottom: 0.4rem;
}

.product-extra-detail-line {
    margin-bottom: 0.6rem;
    line-height: 1.5;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.product-extra-detail-label {
    color: #07acf8;
    font-weight: 600;
}

.product-extra-body-text {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.services-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    outline: none;
    z-index: 10;
}

.services-modal-close:hover {
    background: linear-gradient(135deg, rgba(122, 38, 191, 0.2) 0%, rgba(7, 172, 248, 0.2) 100%);
    border-color: rgba(7, 172, 248, 0.4);
    color: #ffffff;
    transform: rotate(90deg) scale(1.05);
    box-shadow: 0 0 15px rgba(7, 172, 248, 0.25);
}

.services-modal-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1.5rem;
    position: relative;
}

.services-modal-header::after {
    content: none;
}

.services-modal-num {
    display: none;
}

#modal-service-title,
#modal-product-title,
#modal-blog-title {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 40%, #a5b4fc 70%, #07acf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.4rem;
    line-height: 1.2;
}

#modal-service-subtitle,
#modal-product-subtitle,
#modal-blog-subtitle {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    background: linear-gradient(90deg, #07acf8 0%, #a5b4fc 50%, #7a26bf 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
}

.services-modal-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.services-modal-section {
    position: relative;
}

#modal-service-ethos,
#modal-product-ethos,
#modal-blog-ethos {
    position: relative;
    font-style: italic;
    color: #ffffff;
    font-size: 1.05rem;
    line-height: 1.6;
    background: linear-gradient(90deg, rgba(122, 38, 191, 0.08) 0%, rgba(7, 172, 248, 0.02) 100%), rgba(4, 10, 16, 0.45);
    border-radius: 0 16px 16px 0;
    padding: 1.2rem 1.5rem 1.2rem 2rem;
    margin: 0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

#modal-service-ethos::before,
#modal-product-ethos::before,
#modal-blog-ethos::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #7a26bf, #07acf8);
}

.services-modal-section h5 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

/* 🌟 PRODUCT MODAL HUMAN-FIRST REDESIGN */
.modal-category-title,
#modal-product-extra-details h5 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #f97316 !important;
    margin: 1.8rem 0 0.8rem 0;
    border-bottom: 1px solid rgba(249, 115, 22, 0.2);
    padding-bottom: 0.4rem;
    display: inline-block;
}

#modal-product-extra-container {
    margin-top: 0.5rem;
}

.modal-category-title:first-child,
#modal-product-extra-details h5:first-child {
    margin-top: 0.5rem;
}

.modal-human-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modal-human-list li,
#modal-product-benefits li {
    position: relative;
    padding-left: 1.6rem;
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.modal-human-list li::before,
#modal-product-benefits li::before {
    content: "✦";
    position: absolute;
    left: 0;
    top: 0;
    color: #4fd1c5;
    font-size: 0.85rem;
    text-shadow: 0 0 8px rgba(79, 209, 197, 0.6);
}

.modal-human-list li strong,
#modal-product-benefits li strong {
    color: #ffffff;
    font-weight: 700;
}

#modal-service-benefits,
#modal-product-benefits,
#modal-blog-benefits {
    list-style: none;
    padding-left: 0;
}

#modal-service-benefits li,
#modal-blog-benefits li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.5;
}

#modal-service-benefits li::before,
#modal-blog-benefits li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: #07acf8;
    font-size: 1rem;
    text-shadow: 0 0 8px rgba(122, 38, 191, 0.8), 0 0 4px rgba(7, 172, 248, 0.6);
}

#modal-service-blueprint,
#modal-product-blueprint,
#modal-blog-blueprint {
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.9rem;
    color: #a5b4fc;
    background: rgba(5, 10, 20, 0.75);
    border: 1px solid rgba(122, 38, 191, 0.25);
    border-radius: 12px;
    padding: 1.5rem;
    line-height: 1.6;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* Glowing Neon laser scanline animation running on hardware-accelerated GPU layer */
#modal-service-blueprint::after,
#modal-product-blueprint::after,
#modal-blog-blueprint::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to bottom,
            rgba(7, 172, 248, 0) 0%,
            rgba(7, 172, 248, 0.05) 10%,
            rgba(7, 172, 248, 0.12) 50%,
            rgba(7, 172, 248, 0.05) 90%,
            rgba(7, 172, 248, 0) 100%);
    opacity: 0.85;
    pointer-events: none;
    animation: scanlineSweep 4s infinite linear;
    z-index: 2;
    will-change: transform;
}

@keyframes scanlineSweep {
    0% {
        transform: translateY(-40px);
    }

    100% {
        transform: translateY(280px);
    }
}

#modal-service-blueprint::before,
#modal-product-blueprint::before,
#modal-blog-blueprint::before {
    content: "SYSTEM LOG // TELEMETRY DIRECTIVE \2588";
    /* █ terminal block character */
    display: block;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: #07acf8;
    margin-bottom: 0.8rem;
    font-weight: 700;
    opacity: 0.9;
    animation: cursorBlink 1.2s infinite ease-in-out;
    text-shadow: 0 0 4px rgba(7, 172, 248, 0.4);
}

@keyframes cursorBlink {

    0%,
    100% {
        opacity: 0.55;
    }

    50% {
        opacity: 0.95;
    }
}

/* Premium Glassmorphic Launch Button */
.modal-product-launch-btn {
    display: inline-block;
    background: linear-gradient(135deg, rgba(7, 172, 248, 0.12) 0%, rgba(122, 38, 191, 0.08) 100%), rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.85rem 2.5rem;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    backdrop-filter: blur(12px) saturate(160%);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-product-launch-btn:hover {
    background: linear-gradient(135deg, rgba(7, 172, 248, 0.25) 0%, rgba(122, 38, 191, 0.15) 100%), rgba(255, 255, 255, 0.05);
    border-color: rgba(7, 172, 248, 0.4);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37),
        0 0 25px rgba(7, 172, 248, 0.3),
        0 0 15px rgba(122, 38, 191, 0.2);
    transform: translateY(-2px) scale(1.02);
    color: #ffffff;
}

.modal-product-launch-btn:active {
    transform: translateY(1px);
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.37);
}

/* Service Card Interactive Enhancement */
.service-card {
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(7, 172, 248, 0.25) !important;
    box-shadow: 0 15px 30px rgba(7, 172, 248, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.service-card-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    z-index: 1;
}

.read-more-btn {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-solid);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease, gap 0.3s ease;
}

.service-card:hover .read-more-btn {
    color: #ffffff;
    gap: 0.8rem;
}

@media (max-width: 768px) {
    .services-modal-box {
        padding: 2.2rem 1.8rem;
        border-radius: 20px;
        max-width: 90%;
    }

    #modal-service-title {
        font-size: 1.6rem;
    }
}

/* =========================================
   ⚡ COGNITIVE TELEMETRY READOUT (SCARY INTEL) ⚡
   ========================================= */
.cognitive-telemetry-readout {
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(7, 172, 248, 0.25);
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.8rem;
    color: #a5b4fc;
    line-height: 1.6;
    text-shadow: 0 0 4px rgba(165, 180, 252, 0.35);
    animation: teleFadeIn 0.8s ease-out;
}

.cognitive-telemetry-title {
    color: #07acf8;
    font-weight: 700;
    letter-spacing: 0.1em;
    animation: telePulse 2s infinite ease-in-out;
    display: inline-block;
}

@keyframes telePulse {

    0%,
    100% {
        opacity: 0.75;
        text-shadow: 0 0 4px rgba(7, 172, 248, 0.4);
    }

    50% {
        opacity: 1;
        text-shadow: 0 0 10px rgba(7, 172, 248, 0.9);
    }
}

@keyframes teleFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* =========================================
   ✨ PREMIUM GLASSMORPHISM FOOTER ✨
   ========================================= */
.premium-footer {
    margin-top: 4rem;
    padding: 4rem 2rem 3rem 2rem;
    background: rgba(10, 17, 24, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    text-align: left;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    transition: opacity 0.3s ease;
}

.footer-brand:hover {
    opacity: 0.8;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-col h5 {
    font-family: var(--font-heading);
    color: #ffffff;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
}

.footer-links,
.footer-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
}

/* Striking Teal Accent on Hover */
.footer-links a:hover {
    color: #4FD1C5;
    transform: translateX(5px);
    text-shadow: 0 0 8px rgba(79, 209, 197, 0.4);
}

.footer-info-item {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Copyable Email / Phone specific overrides for the footer */
.footer-info-item .copyable-email:hover,
.footer-info-item .phone-whatsapp-link:hover {
    color: #4FD1C5 !important;
    text-shadow: 0 0 8px rgba(79, 209, 197, 0.4);
}

/* Footer Social Icons */
.footer-social-icons {
    display: flex;
    gap: 1.2rem;
    margin-top: 0.5rem;
}

.footer-social-icons a {
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social-icons a:hover {
    color: #4FD1C5;
    transform: translateY(-3px);
    filter: drop-shadow(0 0 8px rgba(79, 209, 197, 0.4));
}

/* 📱 Responsive Grid Architecture */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .footer-social-icons {
        justify-content: center;
    }

    .footer-tagline {
        margin: 0 auto;
    }

    .footer-links a:hover {
        transform: translateY(-2px);
        /* Vertical hover for mobile */
    }
}

/* =========================================
   🏛️ FOOTER MODALS OMNIVERSE STYLING
   ========================================= */
.modal-header {
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Beautiful gradient line under header */
.modal-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
            rgba(122, 38, 191, 0.2) 0%,
            rgba(7, 172, 248, 0.8) 50%,
            rgba(58, 10, 99, 0.2) 100%);
    box-shadow: 0 0 10px rgba(7, 172, 248, 0.4);
}

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 0.6rem;
    line-height: 1.25;
}

.modal-ethos-quote {
    font-family: var(--font-body);
    font-size: 1rem;
    font-style: italic;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-top: 0.5rem;
}

.modal-content {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.modal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-top: 0.5rem;
    margin-bottom: 0.3rem;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Add a subtle cyan prefix bullet to modal section headers */
.modal-content h3::before {
    content: "✦";
    color: var(--accent-solid);
    font-size: 0.95rem;
    text-shadow: 0 0 8px rgba(7, 172, 248, 0.6);
}

.modal-content p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

/* Highlighting right to erasure or important notices */
.modal-content h3.highlight-erasure {
    color: #ff5e7e;
    text-shadow: 0 0 15px rgba(255, 94, 126, 0.15);
}

.modal-content h3.highlight-erasure::before {
    content: "✦";
    color: #ff5e7e;
    text-shadow: 0 0 8px rgba(255, 94, 126, 0.6);
}

/* Frequently Asked Questions accordion style */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    padding-bottom: 1.2rem;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-item h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item h4::before {
    content: "Q.";
    color: var(--accent-solid);
    font-weight: 700;
    font-size: 1rem;
}

.faq-item p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-secondary);
    padding-left: 1.5rem;
    position: relative;
}

.faq-item p::before {
    content: "A.";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Interactive Prompt Flows list */
.prompt-flows-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.prompt-flows-list li {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    padding-left: 2.2rem;
}

.prompt-flows-list li::before {
    content: "➔";
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-solid);
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.prompt-flows-list li:hover {
    background: rgba(7, 172, 248, 0.05);
    border-color: rgba(7, 172, 248, 0.2);
    color: #ffffff;
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.prompt-flows-list li:hover::before {
    transform: translateY(-50%) translateX(3px);
}

.prompt-flows-list li strong {
    color: #ffffff;
    font-weight: 600;
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =========================================
   🔮 MARKOV MATRIX PREDICTIVE UI GLOW
   ========================================= */
.predictive-glow-state {
    /* Opaque midnight obsidian tone with glassmorphism backdrop-filter */
    background: rgba(10, 10, 12, 0.85) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    backdrop-filter: blur(12px) !important;

    /* Onyx glassmorphic box-shadow overlay */
    box-shadow: 0 8px 32px 0 rgba(10, 10, 12, 0.7) !important;

    /* Crisp, pulsating brushed brass hue configuration */
    border: 1px solid rgba(181, 166, 66, 0.85) !important;

    /* Ambient deep teal accent glow signature */
    filter: drop-shadow(0 0 14px rgba(0, 128, 128, 0.6));

    /* Hardware rendering acceleration hints */
    will-change: transform, filter, box-shadow;

    animation: renaissancePulse 2s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes renaissancePulse {
    from {
        border-color: rgba(181, 166, 66, 0.6);
        box-shadow: 0 8px 24px 0 rgba(10, 10, 12, 0.5);
        filter: drop-shadow(0 0 8px rgba(0, 128, 128, 0.4));
    }

    to {
        border-color: rgba(212, 195, 89, 1.0);
        box-shadow: 0 12px 48px 0 rgba(10, 10, 12, 0.9);
        filter: drop-shadow(0 0 22px rgba(0, 128, 128, 0.85));
    }
}

/* ========================================================= */
/* 👽 ALIEN SMART SCROLL NODE                                */
/* ========================================================= */
#alien-scroll-node {
    position: fixed;
    bottom: 2.5rem;
    /* Aligns horizontally with the AI Orb */
    left: 2.5rem;
    /* Anchors to the left side for perfect symmetry */
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(79, 209, 197, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 0 10px rgba(79, 209, 197, 0.1);
}

#alien-scroll-node.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#alien-scroll-node:hover {
    border-color: #4FD1C5;
    background: rgba(15, 23, 42, 0.9);
    box-shadow: 0 0 20px rgba(79, 209, 197, 0.4), inset 0 0 15px rgba(79, 209, 197, 0.3);
    transform: translateY(-5px);
}

#alien-scroll-node svg {
    transition: transform 0.3s ease;
}

#alien-scroll-node:hover svg {
    transform: translateY(-3px);
}

/* ========================================================= */
/* 🧠 INTERACTIVE PROMPT FLOWS COPY UX                       */
/* ========================================================= */
.copyable-modal-prompt {
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.copyable-modal-prompt:hover {
    border-color: rgba(79, 209, 197, 0.5) !important;
    box-shadow: 0 4px 15px rgba(79, 209, 197, 0.15);
    transform: translateY(-2px);
}

.copyable-modal-prompt>* {
    transition: opacity 0.3s ease;
}

.prompt-copy-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(15, 23, 42, 0.95);
    color: #4FD1C5;
    padding: 10px 24px;
    border-radius: 8px;
    border: 1px solid #4FD1C5;
    font-weight: 600;
    font-size: 1.05rem;
    z-index: 10;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(79, 209, 197, 0.2);
    animation: badgeFadeIn 0.3s ease forwards;
    white-space: nowrap;
}

/* ========================================================= */
/* 📱 HOME SECTION 100VH COMPRESSION (6-PROMPT GRID FIX)     */
/* ========================================================= */
@media (min-width: 1024px) {
    .home-layout {
        gap: 1.5rem !important;
        /* Reduce gap between Hero text and Lucy Card */
    }

    .hero-header {
        margin-bottom: 0 !important;
    }

    .lucy-feature-card {
        padding: 1.5rem !important;
        /* Tighten internal card padding */
    }

    .prompts-grid {
        gap: 0.5rem !important;
        /* Reduce gap between prompt pills */
    }

    .prompt-item {
        padding: 8px 12px !important;
        /* Shrink prompt card height */
    }

    .prompt-intent {
        font-size: 0.65rem !important;
        margin-bottom: 2px !important;
    }

    .prompt-pill {
        font-size: 0.8rem !important;
    }
}

/* ========================================================= */
/* 🟠 MODAL TERMINAL ORANGE HIGHLIGHTS                       */
/* ========================================================= */
#modal-product-caps-title,
#modal-product-blueprint-title,
#modal-service-caps-title,
#modal-service-blueprint-title,
#modal-blog-caps-title,
#modal-blog-blueprint-title {
    color: #f97316 !important;
    /* Striking Orange */
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(249, 115, 22, 0.2);
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* ========================================================= */
/* 🟠 MODAL EXTRA DETAILS TYPOGRAPHY & COLORS                */
/* ========================================================= */
#modal-product-extra-details {
    color: #f8fafc !important;
    /* Force container text to white */
    color: #f8fafc !important;
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

#modal-blog-extra-cta {
    display: none;
}

.modal-blog-cta-text {
    color: #dbe6ff;
    font-size: 1.05rem;
    line-height: 1.75;
    margin-top: 1rem;
}

.modal-blog-cta-text a {
    color: #7dd3fc;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    transition: color 0.2s ease;
}

.modal-blog-cta-text a:hover {
    color: #60a5fa;
}

/* ========================================================= */
/* 🎬 CINEMATIC VIDEO WRAPPER (16:9 RESPONSIVE)              */
/* ========================================================= */
.blog-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* Mathematical perfection for 16:9 Aspect Ratio */
    height: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(7, 172, 248, 0.15);
    margin-top: 1rem;
    margin-bottom: 1rem;
    background: #000;
    /* Fallback before iframe loads */
}

.blog-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    transition: opacity 0.5s ease;
}

#modal-blog-video-title {
    color: #f97316 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 2.5rem;
    border-bottom: 1px dashed rgba(249, 115, 22, 0.4);
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* ========================================================= */
/* 📥 DUAL-CORE DOWNLOAD BUTTONS (RESPONSIVE)                */
/* ========================================================= */
#modal-blog-link-container {
    transition: all 0.3s ease;
}

#modal-blog-link-container.dual-links {
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.modal-product-launch-btn.compact {
    padding: 0.85rem 1.5rem !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.08em !important;
    flex: 1 1 auto;
    max-width: 45%;
    text-align: center;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .modal-product-launch-btn.compact {
        max-width: 100%;
        width: 100%;
    }

    #modal-blog-link-container.dual-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ========================================================= */
/* 🌟 HOLOGRAPHIC SECTION DESCRIPTIONS                       */
/* ========================================================= */
.services-header p,
.products-header p,
.contact-header p {
    font-weight: 300 !important;
    background: linear-gradient(135deg, #ffffff 0%, #7dd3fc 45%, #c084fc 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    animation: alienBreatheText 6s infinite alternate ease-in-out !important;
    line-height: 1.6;
}

/* ========================================================= */
/* 🟠 ALIEN ORANGE HIGHLIGHTS (HERO SECTION)                 */
/* ========================================================= */
.lucy-content-wrapper .sub-heading {
    color: #00e5ff !important;
    letter-spacing: 2px !important;
    /* Reduced from 3px */
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    /* Reduced from 0.9rem */
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.5),
                 0 0 30px rgba(0, 229, 255, 0.25) !important;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
    /* Reduced from 0.3rem */
}

.lucy-content-wrapper .lucy-tagline {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #00e5ff 0%, #4FD1C5 50%, #c084fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.4) !important;
    margin-top: 0.5rem;
    text-transform: uppercase;
}

/* Typewriter Cursor Animation */
@keyframes alienCursorBlink {

    0%,
    100% {
        border-right-color: transparent;
    }

    50% {
        border-right-color: #00e5ff;
    }
}

/* Mobile adjustments for the Scroll Node */
@media (max-width: 768px) {
    #alien-scroll-node {
        bottom: 1.5rem;
        left: 1.5rem;
        width: 42px;
        height: 42px;
    }
}

/* =========================================
   🏛️ SOCIAL CONTRACT WELCOME GATE 
   ========================================= */
/* ================= SOCIAL CONTRACT GATE: ALIEN ELEGANCE ================= */
#social-contract-overlay {
    position: fixed;
    bottom: 2rem;
    left: -100%;
    width: 420px;
    max-width: calc(100vw - 4rem);
    z-index: 2147483646;
    display: flex;
    flex-direction: column;
    padding: 0;
    
    /* Hide state */
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease, visibility 0.5s;
}

#social-contract-overlay.active {
    left: 2rem;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

#social-contract-overlay .fs-modal-box {
    /* Highly translucent, elegant glass */
    background: linear-gradient(135deg, rgba(15, 25, 40, 0.85) 0%, rgba(5, 10, 15, 0.95) 100%);
    -webkit-backdrop-filter: blur(20px) saturate(130%);
    backdrop-filter: blur(20px) saturate(130%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(7, 172, 248, 0.45);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(7, 172, 248, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    width: 100%;
    padding: 2.5rem 2rem;
    position: relative;
}

/* Holographic Header */
#sc-front-face h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem; /* Scaled down for side panel */
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #7dd3fc 45%, #c084fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    animation: alienBreatheText 6s infinite alternate ease-in-out;
}

#sc-front-face p {
    font-family: var(--font-body);
    font-size: 1.05rem; /* Slightly smaller for panel */
    line-height: 1.7;
    font-weight: 300;
    color: #e2e8f0;
    margin-bottom: 2.5rem;
    letter-spacing: 0.01em;
}

#sc-front-face .welcome-disclaimer {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: -1.5rem;
    margin-bottom: 2.5rem;
    font-style: italic;
    line-height: 1.4;
    border-left: 2px solid rgba(7, 172, 248, 0.3);
    padding-left: 12px;
}

/* Action Buttons */
.sc-actions-wrapper {
    display: flex;
    gap: 1.2rem;
    justify-content: flex-end;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 2rem;
}

#sc-btn-reject {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

#sc-btn-reject:hover {
    color: #ff5e7e;
    text-shadow: 0 0 8px rgba(255, 94, 126, 0.4);
}

#sc-btn-details {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f8fafc;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

#sc-btn-details:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

#sc-btn-approve {
    background: linear-gradient(135deg, #07acf8 0%, #1d558c 100%);
    border: 1px solid rgba(7, 172, 248, 0.4);
    color: #ffffff;
    padding: 12px 32px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(7, 172, 248, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#sc-btn-approve:hover {
    background: linear-gradient(135deg, #38bdf8 0%, #07acf8 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(7, 172, 248, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Internal Details Custom Scrollbar */
#sc-details-face {
    scrollbar-width: thin;
    scrollbar-color: rgba(7, 172, 248, 0.4) rgba(10, 25, 35, 0.2);
}

#sc-details-face::-webkit-scrollbar {
    width: 6px;
}

#sc-details-face::-webkit-scrollbar-track {
    background: rgba(10, 25, 35, 0.2);
    border-radius: 10px;
}

#sc-details-face::-webkit-scrollbar-thumb {
    background: rgba(7, 172, 248, 0.4);
    border-radius: 10px;
}

#sc-details-face::-webkit-scrollbar-thumb:hover {
    background: var(--accent-solid);
}

/* Mobile & Ultra-Mobile Responsiveness for Gate */
@media (max-width: 768px) {
    #social-contract-overlay {
        padding: 0;
        align-items: flex-end;
    }

    #social-contract-overlay .fs-modal-box {
        padding: 2.5rem 2rem 3rem 2rem;
        max-height: 90vh;
        border-radius: 24px 24px 0 0;
        border-bottom: none;
        transform: translateY(100%);
    }

    #social-contract-overlay.active .fs-modal-box {
        transform: translateY(0);
    }

    #sc-details-face {
        max-height: 55vh;
    }
}

@media (max-width: 480px) {
    #social-contract-overlay .fs-modal-box {
        padding: 2rem 1.5rem 2.5rem 1.5rem;
    }

    #sc-front-face h2 {
        font-size: 1.5rem;
    }

    #sc-front-face p {
        font-size: 0.95rem;
    }

    #sc-details-face {
        font-size: 0.85rem;
        max-height: 60vh;
    }
}

/* =========================================================
   COOKIE CONSENT BANNER
   ========================================================= */
.cookie-banner-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    display: flex;
    justify-content: center;
    padding: 1rem;
    pointer-events: none;
}

.cookie-banner-box {
    pointer-events: auto;
    max-width: 800px;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    border-radius: 12px;
    background: rgba(10, 15, 25, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

@media (max-width: 768px) {
    .cookie-banner-box {
        flex-direction: column;
        text-align: center;
    }
}

.cookie-banner-box h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: #f8fafc;
    font-family: var(--font-heading);
}

.cookie-banner-box p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-family: var(--font-body);
}

.cookie-banner-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-shrink: 0;
}

.cookie-banner-actions .btn-reject {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.cookie-banner-actions .btn-reject:hover {
    color: #ff5e7e;
}

.cookie-banner-actions .btn-approve {
    background: linear-gradient(135deg, #07acf8 0%, #1d558c 100%);
    border: 1px solid rgba(7, 172, 248, 0.4);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(7, 172, 248, 0.3);
    transition: all 0.3s ease;
}

.cookie-banner-actions .btn-approve:hover {
    background: linear-gradient(135deg, #38bdf8 0%, #07acf8 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(7, 172, 248, 0.5);
}