/* ============================================
   CUSTOM COMPONENT STYLES
   ============================================ */

/* Popup Menu Item Hover Effects */
.custom-popup-menu-item:hover .vertical-lightsaber {
    box-shadow: 0 0 12px 3px #09A7D5;
    opacity: 1;
    transform: scaleY(1.1);
}

.popup-item-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 15px;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 90%, #0f172a 100%);
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    position: relative;
    z-index: 10;
    max-width: 32rem;
    margin: auto;
}

.close-button {
    display: flex;
    justify-content: flex-end;
    flex: 1;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #09A7D5;
}

.modal-text {
    color: #cbd5e1;
    margin-bottom: 1rem;
}

/* Button Variants */
.btn-close {
    background-color: #f56565;
}

.btn-close:hover {
    background-color: #c53030;
}

.btn-open {
    background-color: #3b82f6;
}

.btn-open:hover {
    background-color: #2563eb;
}

/* Title/Layout Utilities */
.title-div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 150px;
}

.download-link {
    color: #09A7D5;
}

/* Founder Section */
.founder-div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    gap: 20px;
}

.founder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 20px;
    margin-top: 20px;
}

.founder-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #09A7D5;
}

.founder-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: #cbd5e1;
}

/* Research Icons */
.research-icon-div {
    display: flex;
    align-items: center;
}

.research-icon {
    width: 100px;
    min-width: 100px;
    height: 100px;
}

/* Kronos Image */
.kronos-img {
    max-width: 100%;
    height: auto;
}

/* Responsive Research Container */
.responsive-research-container {
    display: flex;
    flex-direction: row;
    max-width: 500px;
}

@media (max-width: 768px) {
    .responsive-research-container {
        flex-direction: column;
        align-items: center;
        max-width: calc(100vw - 80px);
    }
}

/* Bouncing Boxes */
.bouncing-box {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    width: 80px;
    background: #1e293b;
    border-radius: 15px;
    z-index: 1;
    border: 1px solid #2a384d;
}

.bouncing-box-medium {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    width: 60px;
    background: #1e293b;
    border-radius: 15px;
    z-index: 1;
    border: 1px solid #2a384d;
}

.bouncing-box-small {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 50px;
    background: #1e293b;
    border-radius: 15px;
    z-index: 1;
    border: 1px solid #2a384d;
}

/* Image Container with Gradient Overlay */
.image-container {
    position: relative;
    display: inline-block;
}

.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #0f172a 3%, rgba(255, 255, 255, 0) 97%);
    pointer-events: none;
    z-index: 1;
}

.left-image-container {
    position: relative;
    display: inline-block;
}

.left-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, #0f172a 30%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Alert Graph Styles */
.alert-graph-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    margin-bottom: -10px;
}

.persistence-image {
    width: auto;
    height: 300px;
    max-height: 100%;
    margin-bottom: -10px;
}

.alert-graph-div {
    display: flex;
    flex-direction: row;
}

.graph-text {
    max-width: 400px;
}

/* UU (User) Styles */
.uu-image-div {
    display: flex;
    flex-shrink: 0;
    height: 175px;
    width: 175px;
    border-radius: 50%;
    background-color: #1e293b;
    box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transform: translateZ(18px);
    transition: transform 200ms ease, box-shadow 200ms ease;
    align-items: center;
    justify-content: center;
}

.uu-div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    padding: 20px;
    gap: 60px;
}

.uu-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 120px;
    gap: 10px;
    flex-grow: 1;
}

.uu-title {
    font-size: 1.5em;
    background: linear-gradient(to left, #09A7D5, #8EDFF2);
    width: fit-content;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* Dashboard Feature Styles */
.dashboard-feature-div {
    display: flex;
    flex-direction: row;
}

.dashboard-features-list {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
}

.feature-boxes {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Example Alert Styles */
.example-alert-left {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: 10px;
    background: #1e293b;
    border: 1px solid #2a384d;
    margin-top: 20px;
    margin-bottom: 20px;
    right: 150px;
    width: 300px;
    height: 100px;
}

.example-alert-right {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: 10px;
    background: #1e293b;
    border: 1px solid #2a384d;
    margin-top: 20px;
    margin-bottom: 20px;
    left: 150px;
    width: 300px;
    height: 100px;
}

.example-alert-title {
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    font-family: "Cascadia Code", Menlo, monospace;
}

.example-alert-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80px;
    min-width: 80px;
    border-radius: 50%;
    background-color: #1e293b;
    box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transform: translateZ(18px);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.examples {
    gap: 20px;
}

.examples-text-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    flex: 1;
}

.examples-text-right {
    width: 650px;
}

/* CTA Text */
.cta-text {
    text-align: left;
}

/* Phorion Image Container with Rotation */
.phorion-image-container {
    position: relative;
    display: inline-block;
}

.phorion-image-container img {
    position: absolute;
    left: 0;
    top: 0;
    width: 450px;
    height: auto;
    animation: rotate 16s linear infinite;
}

.top-image {
    position: relative;
    z-index: 1;
    animation: anti-rotate 16s linear infinite;
}

/* Table Styles */
.table-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    justify-content: center;
}

.table-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    border-radius: 20px;
    background: transparent;
    border: 1px solid #2a384d;
    width: 100%;
    height: 100%;
    padding-bottom: 40px;
    box-shadow: 0 0 20px 1px #09A7D5;
    margin-top: 40px;
    margin-bottom: 60px;
}

.enterprise-welcome-div {
    margin-top: 100px;
    margin-bottom: 70px;
}

/* Rotation Animations */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes anti-rotate {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

/* Mobile Responsive Overrides */
@media (max-width: 768px) {
    .cta-text {
        text-align: center;
    }

    .alert-graph-div {
        flex-direction: column;
        height: 100%;
    }

    .graph-text {
        max-width: 100%;
    }

    .image-container {
        width: 100%;
        height: 100%;
    }

    .image-container::before {
        background: linear-gradient(to bottom, #0f172a 5%, rgba(255, 255, 255, 0) 95%);
    }

    .left-image-container {
        width: 100%;
        height: 100%;
    }

    .left-image-container::before {
        background: linear-gradient(to bottom, #0f172a 50%, rgba(255, 255, 255, 0) 50%);
    }

    .alert-graph-image {
        width: auto;
        height: 300px;
        object-fit: cover;
        min-width: 100%;
    }

    .persistence-image {
        height: 300px;
        object-fit: cover;
    }

    .uu-image-div {
        height: 125px;
        width: 125px;
    }

    .uu-div {
        gap: 30px;
    }

    .example-alert-right {
        left: 0;
    }

    .example-alert-left {
        right: 0;
    }

    .examples-text-right {
        width: 100%;
    }

    .phorion-image-container img {
        width: 100%;
    }

    .phorion-image-container .title {
        position: absolute;
        top: 46%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 40px;
        text-align: center;
        color: #ffffff;
    }

    .phorion-image-container .body {
        position: absolute;
        top: 54%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 16px;
        font-weight: 200;
        text-align: center;
    }
}

/* Particle Canvas */
#particleCanvas {
    width: 100%;
    height: 100%;
}

/* Custom HR Glow */
.custom-hr {
    box-shadow: 0 0 5px 1px #09A7D5;
}

/* Mailchimp Error */
#mc-error {
    display: none;
}

/* ========== SOLUTION SECTION ANIMATIONS ========== */

/* Logo container */
.solution-logo-container {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Energy ring around logo */
.energy-ring {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    border: 2px solid rgba(9, 167, 213, 0.3);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.energy-ring.active {
    opacity: 1;
    animation: energy-pulse 2s ease-in-out infinite;
}

/* Logo glow effect */
.logo-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle, rgba(9, 167, 213, 0.4) 0%, transparent 70%);
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.5s ease;
    pointer-events: none;
}

/* Shake animations - progressive intensity */
@keyframes shake-subtle {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(1px, 1px) rotate(0.5deg);
    }

    50% {
        transform: translate(-1px, -1px) rotate(-0.5deg);
    }

    75% {
        transform: translate(1px, -1px) rotate(0.5deg);
    }
}

@keyframes shake-medium {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    20% {
        transform: translate(2px, 2px) rotate(1deg);
    }

    40% {
        transform: translate(-2px, -1px) rotate(-1deg);
    }

    60% {
        transform: translate(2px, -2px) rotate(1deg);
    }

    80% {
        transform: translate(-1px, 2px) rotate(-0.5deg);
    }
}

@keyframes shake-intense {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    10% {
        transform: translate(-4px, 2px) rotate(-2deg);
    }

    20% {
        transform: translate(4px, -2px) rotate(2deg);
    }

    30% {
        transform: translate(-3px, 4px) rotate(-1deg);
    }

    40% {
        transform: translate(3px, -4px) rotate(1deg);
    }

    50% {
        transform: translate(-4px, 2px) rotate(-2deg);
    }

    60% {
        transform: translate(4px, -2px) rotate(2deg);
    }

    70% {
        transform: translate(-3px, 3px) rotate(-1deg);
    }

    80% {
        transform: translate(3px, -3px) rotate(1deg);
    }

    90% {
        transform: translate(-2px, 1px) rotate(0deg);
    }
}

.shake-subtle {
    animation: shake-subtle 0.3s ease-in-out infinite;
}

.shake-medium {
    animation: shake-medium 0.2s ease-in-out infinite;
}

.shake-intense {
    animation: shake-intense 0.1s ease-in-out infinite;
}

/* Energy pulse ring */
@keyframes energy-pulse {

    0%,
    100% {
        transform: scale(1);
        border-color: rgba(9, 167, 213, 0.3);
        box-shadow: 0 0 20px rgba(9, 167, 213, 0.2);
    }

    50% {
        transform: scale(1.05);
        border-color: rgba(9, 167, 213, 0.6);
        box-shadow: 0 0 40px rgba(9, 167, 213, 0.4);
    }
}

/* Energy beam from feature to logo */
.energy-beam {
    position: absolute;
    height: 3px;
    background: linear-gradient(90deg, rgba(9, 167, 213, 0), rgba(9, 167, 213, 0.8), rgba(9, 167, 213, 0));
    opacity: 0;
    transform-origin: left center;
    filter: blur(1px);
    box-shadow: 0 0 10px rgba(9, 167, 213, 0.5);
}

@keyframes beam-fire {
    0% {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
    }

    50% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }

    100% {
        opacity: 0;
        clip-path: inset(0 0 0 100%);
    }
}

.energy-beam.firing {
    animation: beam-fire 0.6s ease-out forwards;
}

/* Feature card styles */
.feature-card {
    opacity: 0.4;
    transform: translateX(20px);
    transition: all 0.5s ease;
}

.feature-card.active {
    opacity: 1;
    transform: translateX(0);
}

.feature-card .feature-icon {
    transition: all 0.3s ease;
}

.feature-card.active .feature-icon {
    box-shadow: 0 0 30px rgba(9, 167, 213, 0.4);
}

/* Explosion effect */
@keyframes explode {
    0% {
        transform: scale(1);
        opacity: 1;
        filter: blur(0);
    }

    50% {
        transform: scale(1.5);
        opacity: 0.8;
        filter: blur(5px);
    }

    100% {
        transform: scale(3);
        opacity: 0;
        filter: blur(20px);
    }
}

.exploding {
    animation: explode 0.8s ease-out forwards;
}

/* Product reveal */
.product-reveal {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-reveal.visible {
    opacity: 1;
    transform: scale(1);
}

/* Energy particles */
.energy-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #09A7D5;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}

@keyframes particle-orbit {
    0% {
        transform: rotate(0deg) translateX(80px) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: rotate(360deg) translateX(80px) rotate(-360deg);
        opacity: 0;
    }
}

.energy-particle.orbiting {
    animation: particle-orbit 3s linear infinite;
}

/* Mobile: disable complex animations */
@media (max-width: 768px) {
    .solution-section-wrapper {
        min-height: auto !important;
    }

    .solution-logo-sticky {
        position: relative !important;
        top: auto !important;
    }

    .feature-card {
        opacity: 1;
        transform: none;
    }

    .energy-beam,
    .energy-particle {
        display: none;
    }
}

/* ===================================
   DEPLOYMENT VISUALIZATION
   =================================== */

/* Deployment grid container */
.deployment-grid-container {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.6), rgba(30, 41, 59, 0.3));
    border: 1px solid rgba(100, 116, 139, 0.15);
    border-radius: 24px;
}

/* Fleet grid of devices - 4 columns */
.deployment-fleet-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

/* Individual device */
.deployment-mac {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(100, 116, 139, 0.2);
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.deployment-mac-icon {
    width: 24px;
    height: 24px;
    color: #64748b;
    transition: color 0.4s ease;
}

.status-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #475569;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Secured state */
.deployment-mac.secured {
    border-color: rgba(34, 197, 94, 0.3);
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.1);
}

.deployment-mac.secured .deployment-mac-icon {
    color: #22c55e;
}

.deployment-mac.secured .status-indicator {
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

/* Installing state */
.deployment-mac.installing {
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.15);
}

.deployment-mac.installing .status-indicator {
    background: #a855f7;
    animation: pulse-indicator 0.5s ease-in-out infinite;
}

@keyframes pulse-indicator {

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

    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

/* Counter animation */
.deployment-counter {
    font-variant-numeric: tabular-nums;
}

/* Responsive */
@media (min-width: 768px) {
    .deployment-grid-container {
        padding: 2rem;
    }

    .deployment-fleet-grid {
        gap: 1rem;
    }

    .deployment-mac {
        padding: 0.75rem;
    }

    .deployment-mac-icon {
        width: 28px;
        height: 28px;
    }

    .status-indicator {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 768px) {
    .deployment-grid-container {
        display: none;
    }
}

/* ============================================
   FEATURE DEMO PLACEHOLDERS
   Matches the product screenshot aesthetic
   ============================================ */

.feature-demo-placeholder {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 200px;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(51, 65, 85, 0.5);
    background: linear-gradient(to bottom right, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-demo-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(9, 167, 213, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(147, 51, 234, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.feature-demo-placeholder:hover {
    border-color: rgba(51, 65, 85, 0.7);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), 0 15px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

.feature-demo-placeholder img,
.feature-demo-placeholder video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.demo-placeholder-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.demo-placeholder-text {
    font-size: 0.7rem;
    color: rgba(148, 163, 184, 0.35);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   CLICKFIX DEMO ANIMATION STYLES
   ============================================ */

.clickfix-demo {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 280px;
    border-radius: 1rem;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(10, 10, 15, 0.98));
    border: 1px solid rgba(51, 65, 85, 0.5);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    margin-top: 1.5rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Animated Cursor */
.demo-cursor {
    position: absolute;
    z-index: 100;
    pointer-events: none;
    opacity: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    transform: translate(-2px, -2px);
}

/* Window Chrome (shared) */
.demo-window-chrome {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: rgba(30, 41, 59, 0.8);
    border-radius: 0.5rem 0.5rem 0 0;
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.demo-window-dots {
    display: flex;
    gap: 6px;
}

.demo-window-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red {
    background: #ef4444;
}

.dot-yellow {
    background: #eab308;
}

.dot-green {
    background: #22c55e;
}

/* Browser Window */
.demo-browser {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid rgba(51, 65, 85, 0.5);
    background: rgba(15, 23, 42, 0.9);
}

.demo-address-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: rgba(51, 65, 85, 0.4);
    border-radius: 0.25rem;
    font-size: 0.7rem;
    color: rgba(148, 163, 184, 0.8);
    flex: 1;
    max-width: 200px;
}

.lock-icon {
    color: #f87171;
}

.demo-url {
    color: #f87171;
}

.demo-browser-content {
    flex: 1;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fake CAPTCHA Page */
.fake-captcha-page {
    text-align: center;
    max-width: 280px;
}

.captcha-header {
    margin-bottom: 1rem;
}

.captcha-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.75rem;
    background: rgba(34, 197, 94, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22c55e;
}

.captcha-header h4 {
    color: #e2e8f0;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.captcha-header p {
    color: #94a3b8;
    font-size: 0.75rem;
}

.command-block {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(51, 65, 85, 0.6);
    border-radius: 0.5rem;
    padding: 0.75rem;
    position: relative;
}

.command-label {
    font-size: 0.65rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    text-align: left;
}

.command-text-wrapper {
    position: relative;
    margin-bottom: 0.5rem;
}

.command-text {
    display: block;
    background: rgba(15, 23, 42, 0.8);
    padding: 0.5rem 0.75rem;
    border-radius: 0.25rem;
    font-family: 'SF Mono', 'Cascadia Code', Menlo, monospace;
    font-size: 0.7rem;
    color: #e2e8f0;
    text-align: left;
    word-break: break-all;
    transition: all 0.3s ease;
}

.command-text.selected {
    background: rgba(59, 130, 246, 0.3);
    color: #fff;
}

.command-text.blocked {
    background: rgba(244, 63, 94, 0.2);
    color: #f87171;
    text-decoration: line-through;
}

.copied-tooltip {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #22c55e;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.copied-tooltip.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.copy-button {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #60a5fa;
    font-size: 0.65rem;
    font-weight: 500;
    padding: 0.35rem 0.75rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-button:hover,
.copy-button.active {
    background: rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.6);
}

/* Terminal Window */
.demo-terminal {
    height: 80px;
    display: flex;
    flex-direction: column;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid rgba(51, 65, 85, 0.5);
    background: rgba(15, 23, 42, 0.95);
    transition: all 0.3s ease;
}

.demo-terminal.active {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}

.demo-terminal.blocked {
    border-color: rgba(244, 63, 94, 0.6);
    box-shadow: 0 0 20px rgba(244, 63, 94, 0.15);
    animation: shake-terminal 0.4s ease-in-out;
}

@keyframes shake-terminal {

    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-4px);
    }

    40% {
        transform: translateX(4px);
    }

    60% {
        transform: translateX(-3px);
    }

    80% {
        transform: translateX(2px);
    }
}

.terminal-chrome {
    background: rgba(30, 41, 59, 0.9);
}

.terminal-title {
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 500;
}

.demo-terminal-content {
    flex: 1;
    padding: 0.75rem;
    font-family: 'SF Mono', 'Cascadia Code', Menlo, monospace;
    font-size: 0.75rem;
}

.terminal-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.terminal-prompt {
    color: #22d3ee;
}

.terminal-command {
    color: #e2e8f0;
    flex: 1;
}

.terminal-command.error {
    color: #f87171;
}

.terminal-cursor {
    color: #e2e8f0;
    animation: blink-cursor 1s step-end infinite;
}

@keyframes blink-cursor {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* Phorion Alert */
.phorion-alert {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(244, 63, 94, 0.5);
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(244, 63, 94, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    z-index: 20;
}

.phorion-alert.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.alert-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.2), rgba(168, 85, 247, 0.2));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f87171;
    flex-shrink: 0;
}

.alert-content {
    flex: 1;
    min-width: 0;
}

.alert-title {
    color: #f1f5f9;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.alert-message {
    color: #94a3b8;
    font-size: 0.7rem;
    line-height: 1.4;
}

.alert-action {
    flex-shrink: 0;
}

.blocked-badge {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.3rem 0.6rem;
    border-radius: 0.25rem;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .clickfix-demo {
        aspect-ratio: 4 / 5;
        min-height: 350px;
    }

    .demo-browser {
        flex: 1.5;
    }

    .captcha-header h4 {
        font-size: 0.9rem;
    }

    .command-text {
        font-size: 0.6rem;
    }

    .phorion-alert {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .alert-action {
        width: 100%;
    }

    .blocked-badge {
        display: block;
    }
}

/* ============================================
   FILE ACCESS PROTECTION DEMO STYLES
   ============================================ */

.fileaccess-demo {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 260px;
    border-radius: 1rem;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(10, 10, 15, 0.98));
    border: 1px solid rgba(51, 65, 85, 0.5);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    margin-top: 1.5rem;
    padding: 1.5rem;
    display: flex;
    align-items: stretch;
    gap: 1.5rem;
}

/* Request cards container */
.fa-requests {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-shrink: 0;
    justify-content: center;
}

/* Individual request card */
.fa-request-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(51, 65, 85, 0.5);
    border-radius: 0.5rem;
    min-width: 180px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
}

.fa-request-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.fa-request-card.active {
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(59, 130, 246, 0.1);
}

.fa-request-card.malicious.active {
    border-color: rgba(244, 63, 94, 0.5);
    background: rgba(244, 63, 94, 0.1);
}

.fa-request-card.success {
    border-color: rgba(34, 197, 94, 0.5);
}

.fa-request-card.blocked {
    border-color: rgba(244, 63, 94, 0.6);
    animation: shake-terminal 0.4s ease-in-out;
}

/* App icons */
.fa-app-icon {
    width: 36px;
    height: 36px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fa-app-icon.safari {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
}

.fa-app-icon.malware {
    background: rgba(244, 63, 94, 0.2);
    color: #f87171;
}

.fa-request-card.malicious.active .fa-app-icon.malware {
    animation: pulse-threat 1s ease-in-out infinite;
}

@keyframes pulse-threat {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

/* App info */
.fa-app-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1;
    min-width: 0;
}

.fa-app-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fa-request-card.malicious .fa-app-name {
    color: #f87171;
}

.fa-app-status {
    font-size: 0.65rem;
    color: #64748b;
    transition: color 0.3s ease;
}

.fa-request-card.success .fa-app-status {
    color: #22c55e;
}

.fa-request-card.blocked .fa-app-status {
    color: #f87171;
}

/* Result badges */
.fa-result-badge {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

.fa-request-card.success .fa-result-badge {
    opacity: 1;
    transform: scale(1);
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
}

.fa-result-badge.blocked {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.fa-request-card.blocked .fa-result-badge.blocked {
    opacity: 1;
    transform: scale(1);
}

/* Finder window */
.fa-finder-window {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid rgba(51, 65, 85, 0.5);
    background: rgba(15, 23, 42, 0.95);
    transition: all 0.3s ease;
}

.fa-finder-window.active {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}

.fa-finder-window.protected {
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.15);
}

.fa-finder-title {
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 500;
    font-family: 'SF Mono', 'Cascadia Code', Menlo, monospace;
}

.fa-finder-content {
    flex: 1;
    padding: 1rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.fa-finder-file {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.fa-finder-file span {
    font-size: 0.65rem;
    color: #94a3b8;
    text-align: center;
    max-width: 100px;
    word-break: break-all;
}

.fa-finder-file.highlight {
    background: rgba(59, 130, 246, 0.15);
}

/* File Access alert styling */
.fileaccess-demo .phorion-alert {
    border-color: rgba(34, 197, 94, 0.5);
}

.fileaccess-demo .phorion-alert .alert-icon.success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 211, 238, 0.2));
    color: #22c55e;
}

/* Responsive */
@media (max-width: 768px) {
    .fileaccess-demo {
        flex-direction: column;
        aspect-ratio: auto;
        min-height: 360px;
        padding: 1.25rem;
        gap: 1rem;
    }

    .fa-requests {
        flex-direction: row;
        width: 100%;
    }

    .fa-request-card {
        flex: 1;
        min-width: 0;
    }

    .fa-finder-window {
        min-height: 120px;
    }
}

@media (max-width: 480px) {
    .fa-requests {
        flex-direction: column;
    }

    .fa-finder-content {
        padding: 0.75rem;
        gap: 0.75rem;
    }
}

/* ============================================
   TRANSPARENCY DEMO STYLES
   ============================================ */

.transparency-demo {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 280px;
    border-radius: 1rem;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(10, 10, 15, 0.98));
    border: 1px solid rgba(51, 65, 85, 0.5);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    margin-top: 1.5rem;
    padding: 1rem;
    display: flex;
    gap: 1rem;
}

/* SIEM Log Viewer Window */
.siem-window {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid rgba(51, 65, 85, 0.5);
    background: rgba(15, 23, 42, 0.95);
}

.siem-title {
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 500;
}

.siem-content {
    flex: 1;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-family: 'SF Mono', 'Cascadia Code', Menlo, monospace;
    font-size: 0.6rem;
    overflow: hidden;
}

/* Log entries */
.siem-log-entry {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.4rem;
    border-radius: 0.25rem;
    background: rgba(30, 41, 59, 0.4);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.siem-log-entry.visible {
    opacity: 1;
    transform: translateY(0);
}

.siem-log-entry.highlight {
    background: rgba(244, 63, 94, 0.1);
    border-left: 2px solid #f43f5e;
}

.siem-log-entry.highlight.visible {
    animation: log-highlight 0.5s ease-out;
}

@keyframes log-highlight {
    0% {
        background: rgba(244, 63, 94, 0.3);
    }

    100% {
        background: rgba(244, 63, 94, 0.1);
    }
}

.log-time {
    color: #64748b;
    flex-shrink: 0;
}

.log-severity {
    padding: 0.15rem 0.4rem;
    border-radius: 0.2rem;
    font-size: 0.55rem;
    font-weight: 600;
    flex-shrink: 0;
    text-transform: uppercase;
}

.log-severity.info {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.log-severity.warning {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.log-severity.critical {
    background: rgba(244, 63, 94, 0.2);
    color: #f87171;
}

.log-source {
    color: #a855f7;
    flex-shrink: 0;
}

.log-message {
    color: #e2e8f0;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.log-message em {
    color: #94a3b8;
    font-style: normal;
}

/* Detection Rule Panel */
.detection-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid rgba(51, 65, 85, 0.5);
    background: rgba(15, 23, 42, 0.95);
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.4s ease;
}

.detection-panel.visible {
    opacity: 1;
    transform: translateX(0);
}

.detection-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(30, 41, 59, 0.8);
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
    color: #94a3b8;
    font-size: 0.7rem;
    font-weight: 500;
}

.detection-code {
    flex: 1;
    padding: 0.75rem;
    overflow: hidden;
}

.detection-code pre {
    margin: 0;
    font-family: 'SF Mono', 'Cascadia Code', Menlo, monospace;
    font-size: 0.6rem;
    line-height: 1.5;
    color: #e2e8f0;
}

.detection-code code {
    display: block;
}

/* Syntax highlighting */
.code-keyword {
    color: #f472b6;
}

.code-name {
    color: #22d3ee;
}

.code-key {
    color: #a78bfa;
}

.code-operator {
    color: #f97316;
}

.code-string {
    color: #4ade80;
}

.code-bool {
    color: #fb923c;
}

.code-num {
    color: #fbbf24;
}

.code-action {
    color: #f87171;
    font-weight: 600;
}

.detection-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    background: rgba(34, 197, 94, 0.1);
    border-top: 1px solid rgba(34, 197, 94, 0.3);
}

.rule-match {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #22c55e;
    font-size: 0.65rem;
    font-weight: 600;
}

.rule-match::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.rule-id {
    color: #64748b;
    font-size: 0.6rem;
    font-family: 'SF Mono', 'Cascadia Code', Menlo, monospace;
}

/* Responsive */
@media (max-width: 768px) {
    .transparency-demo {
        flex-direction: column;
        padding: 1rem;
        aspect-ratio: auto;
        min-height: 450px;
        gap: 0.75rem;
    }

    .siem-window {
        flex: none;
        min-height: 180px;
    }

    .siem-content {
        max-height: none;
        overflow-y: auto;
    }

    .log-message {
        display: none;
    }

    .detection-panel {
        flex: none;
        min-height: 180px;
    }
}

@media (max-width: 480px) {
    .detection-code pre {
        font-size: 0.55rem;
    }
}

/* ============================================
   PERFORMANCE MONITORING DEMO STYLES
   ============================================ */

.performance-demo {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 280px;
    border-radius: 1rem;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(10, 10, 15, 0.98));
    border: 1px solid rgba(51, 65, 85, 0.5);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    margin-top: 1.5rem;
    padding: 1rem;
    display: flex;
    gap: 1rem;
}

/* Device Grid */
.perf-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, auto);
    grid-template-rows: repeat(2, auto);
    gap: 0.75rem;
    align-content: center;
    justify-content: center;
}

.perf-device-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5rem;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(51, 65, 85, 0.5);
    border-radius: 0.5rem;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.3s ease;
}

.perf-device-card.visible {
    opacity: 1;
    transform: scale(1);
}

.perf-device-icon {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.perf-device-icon svg {
    width: 100%;
    height: 100%;
    color: #94a3b8;
}

.perf-device-icon .perf-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
    border: 1px solid rgba(30, 41, 59, 0.8);
}

.perf-device-name {
    font-size: 0.55rem;
    font-weight: 600;
    color: #94a3b8;
    font-family: 'SF Mono', 'Cascadia Code', Menlo, monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    max-width: 100%;
}

.perf-device-stats {
    display: flex;
    gap: 0.6rem;
}

.perf-device-stat {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.perf-device-label {
    font-size: 0.45rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
}

.perf-cpu,
.perf-mem {
    font-size: 0.55rem;
    font-family: 'SF Mono', 'Cascadia Code', Menlo, monospace;
    color: #22c55e;
    font-weight: 600;
}

/* Summary Card */
.perf-summary {
    width: 130px;
    display: flex;
    flex-direction: column;
    border-radius: 0.5rem;
    border: 1px solid rgba(51, 65, 85, 0.5);
    background: rgba(15, 23, 42, 0.95);
    padding: 0.75rem;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.4s ease;
}

.perf-summary.visible {
    opacity: 1;
    transform: scale(1);
}

.perf-summary-title {
    font-size: 0.6rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    text-align: center;
}

.perf-summary-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
}

.perf-stat {
    text-align: center;
}

.perf-stat-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #22c55e;
    font-family: 'SF Mono', 'Cascadia Code', Menlo, monospace;
}

.perf-stat-label {
    font-size: 0.5rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.perf-summary-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-size: 0.5rem;
    color: #64748b;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(51, 65, 85, 0.5);
    margin-top: auto;
}

.perf-online-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .performance-demo {
        flex-direction: column;
        padding: 0.75rem;
        aspect-ratio: auto;
        min-height: 400px;
    }

    .perf-grid {
        grid-template-columns: repeat(2, auto);
        grid-template-rows: repeat(2, auto);
    }

    .perf-device-card:nth-child(n+5) {
        display: none;
    }

    .perf-summary {
        width: 100%;
        flex-direction: row;
        padding: 0.5rem 0.75rem;
    }

    .perf-summary-title {
        display: none;
    }

    .perf-summary-stats {
        flex-direction: row;
        gap: 1.5rem;
    }

    .perf-stat-value {
        font-size: 1rem;
    }

    .perf-summary-footer {
        border-top: none;
        border-left: 1px solid rgba(51, 65, 85, 0.5);
        padding-top: 0;
        padding-left: 0.75rem;
        margin-top: 0;
        margin-left: auto;
    }
}

/* ============================================
   RESPONSE CAPABILITIES DEMO STYLES
   ============================================ */

.response-demo {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 280px;
    border-radius: 1rem;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(10, 10, 15, 0.98));
    border: 1px solid rgba(51, 65, 85, 0.5);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    margin-top: 1.5rem;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

/* Terminal Window */
.response-terminal {
    flex: 0 1 auto;
    min-width: 380px;
    display: flex;
    flex-direction: column;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid rgba(51, 65, 85, 0.5);
    background: rgba(15, 23, 42, 0.95);
}

.response-terminal-content {
    flex: 1;
    padding: 1rem;
    font-family: 'SF Mono', 'Cascadia Code', Menlo, monospace;
    font-size: 0.65rem;
    line-height: 1.5;
    overflow: hidden;
}

.response-line {
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s ease;
    margin-bottom: 0.25rem;
}

.response-line.visible {
    opacity: 1;
    transform: translateY(0);
}

.response-line.cmd {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: 0.35rem;
}

.response-prompt {
    color: #22c55e;
    font-weight: 600;
}

.response-command {
    color: #e2e8f0;
}

.response-line.output {
    padding-left: 0;
}

.response-output {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    color: #94a3b8;
}

.output-header {
    color: #64748b;
    font-size: 0.55rem;
}

.output-row {
    color: #94a3b8;
    font-size: 0.6rem;
}

.output-row.danger {
    color: #ef4444;
}

.output-success {
    color: #22c55e;
}

.output-dim {
    color: #64748b;
    font-size: 0.55rem;
}

/* Device Panel */
.response-device-panel {
    width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 0.5rem;
    border: 1px solid rgba(51, 65, 85, 0.5);
    background: rgba(15, 23, 42, 0.95);
    padding: 1rem;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.4s ease;
}

.response-device-panel.visible {
    opacity: 1;
    transform: scale(1);
}

/* Device */
.response-device {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    z-index: 2;
}

.response-device .device-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 41, 59, 0.8);
    border-radius: 0.5rem;
    border: 1px solid rgba(51, 65, 85, 0.5);
    transition: all 0.4s ease;
}

.response-device .device-icon svg {
    width: 36px;
    height: 36px;
    color: #94a3b8;
}

.response-device .device-label {
    font-size: 0.55rem;
    font-weight: 600;
    color: #94a3b8;
    font-family: 'SF Mono', 'Cascadia Code', Menlo, monospace;
}

.response-device .device-status {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.5rem;
    color: #64748b;
}

.response-device .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
    transition: all 0.3s ease;
}

.response-device .status-text {
    transition: all 0.3s ease;
}

.isolation-overlay span {
    font-size: 0.55rem;
    font-weight: 700;
    color: #ef4444;
    letter-spacing: 0.08em;
}

/* Isolated state for device */
.response-device-panel.isolated .response-device .device-icon {
    border-color: #ef4444;
}

.response-device-panel.isolated .response-device .status-dot {
    background: #f59e0b;
    box-shadow: 0 0 6px rgba(245, 158, 11, 0.5);
}

.response-device-panel.isolated .response-device .status-text {
    color: #f59e0b;
}

.text-green {
    color: #22c55e;
}

/* Responsive */
@media (max-width: 768px) {
    .response-demo {
        flex-direction: column;
        padding: 0.75rem;
        aspect-ratio: auto;
        min-height: 450px;
    }

    .response-device-panel {
        width: 100%;
        min-height: 120px;
    }

    .response-terminal {
        min-width: 100%;
    }
}

/* ============================================
   Device Visibility Demo
   ============================================ */

.visibility-demo {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 280px;
    border-radius: 1rem;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(10, 10, 15, 0.98));
    border: 1px solid rgba(51, 65, 85, 0.5);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    margin-top: 1.5rem;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

/* Query Terminal */
.visibility-terminal {
    flex: 0 1 auto;
    min-width: 320px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid rgba(51, 65, 85, 0.5);
    background: rgba(15, 23, 42, 0.95);
}

.visibility-terminal-content {
    padding: 1rem;
    font-family: 'SF Mono', 'Cascadia Code', Menlo, monospace;
    font-size: 0.6rem;
    line-height: 1.5;
    overflow: hidden;
}

.visibility-line {
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s ease;
    margin-bottom: 0.25rem;
}

.visibility-line.visible {
    opacity: 1;
    transform: translateY(0);
}

.visibility-line.cmd {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    margin-top: 0.35rem;
}

.visibility-prompt {
    color: #22c55e;
    font-weight: 600;
    flex-shrink: 0;
}

.visibility-command {
    color: #e2e8f0;
    word-break: break-all;
}

.visibility-output {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    color: #94a3b8;
}

/* Results Panel */
.visibility-results {
    flex: 0 1 auto;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid rgba(51, 65, 85, 0.5);
    background: rgba(15, 23, 42, 0.95);
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.4s ease;
}

.visibility-results.visible {
    opacity: 1;
    transform: scale(1);
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: rgba(30, 41, 59, 0.6);
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.results-title {
    font-size: 0.65rem;
    font-weight: 600;
    color: #94a3b8;
}

.results-count {
    font-size: 0.55rem;
    color: #64748b;
    font-family: 'SF Mono', 'Cascadia Code', Menlo, monospace;
    transition: all 0.3s ease;
}

.results-count.updated {
    color: #22c55e;
}

.results-table {
    flex: 1;
    padding: 0.5rem;
}

.results-table-header {
    display: grid;
    grid-template-columns: 1fr 1fr 50px;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.5rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
    margin-bottom: 0.25rem;
}

.results-rows {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.results-row {
    display: grid;
    grid-template-columns: 1fr 1fr 50px;
    gap: 0.5rem;
    padding: 0.35rem 0.5rem;
    font-size: 0.55rem;
    font-family: 'SF Mono', 'Cascadia Code', Menlo, monospace;
    border-radius: 0.25rem;
    background: rgba(30, 41, 59, 0.3);
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.results-row.visible {
    opacity: 1;
    transform: translateX(0);
}

.results-row .col-device {
    color: #94a3b8;
}

.results-row .col-ext {
    color: #e2e8f0;
}

.results-row .col-risk {
    font-weight: 600;
    text-align: center;
    border-radius: 0.2rem;
    padding: 0.1rem 0.25rem;
}

.results-row .col-risk.high {
    color: #fecaca;
    background: rgba(239, 68, 68, 0.2);
}

.results-row .col-risk.medium {
    color: #fde68a;
    background: rgba(245, 158, 11, 0.2);
}

.results-row .col-risk.low {
    color: #bbf7d0;
    background: rgba(34, 197, 94, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .visibility-demo {
        flex-direction: column;
        padding: 0.75rem;
        aspect-ratio: auto;
        min-height: 450px;
    }

    .visibility-terminal {
        min-width: 100%;
    }

    .visibility-results {
        min-width: 100%;
    }
}

/* ============================================
   MOBILE: Disable demo entry/shift animations
   Elements appear immediately, but demo sequences still run
   ============================================ */
@media (max-width: 768px) {

    /* Remove fileaccess demo entry animations on mobile */
    .fa-request-card {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}