/**
 * Blueprint Landing - Netflix-Style UI for Campaign Network
 * CRT/Neon aesthetic - Guest Mode version for Divi theme
 */

/* ===== CSS Variables ===== */
:root {
    --bp-bg-dark: #0a0a0f;
    --bp-bg-card: rgba(10, 15, 20, 0.9);
    --bp-cyan: #00ffff;
    --bp-cyan-dim: rgba(0, 255, 255, 0.6);
    --bp-magenta: #ff00ff;
    --bp-green: #00ff88;
    --bp-purple: #a855f7;
    --bp-text: #e0e0e0;
    --bp-text-dim: rgba(255, 255, 255, 0.6);
    --bp-border: rgba(0, 255, 255, 0.2);
    --bp-glow: 0 0 20px rgba(0, 255, 255, 0.3);
    --bp-card-width: 280px;
    --bp-card-height: 160px;
    --bp-rail-gap: 16px;
    --bp-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Section Color Identity */
    --section-trending-color: #00ffff;
    --section-iconic-color: #00d4ff;
    --section-tiktok-color: #00ff88;
    --section-manager-color: #ffaa00;
    --section-hiphop-color: #ff5555;
    --section-indie-color: #ff88cc;
    --section-classic-color: #ffd700;
    --section-brand-color: #ff6600;
    --section-zordon-color: #b36bff;
    --section-default-color: #00ffff;
}

/* ===== Override Divi defaults for this page ===== */
.blueprint-landing-page {
    background: var(--bp-bg-dark) !important;
}

/* Hide Divi header on blueprints section (optional - uncomment if needed) */
/*
.blueprint-landing-page ~ #main-header,
.page-template-page-blueprints #main-header {
    display: none;
}
*/

/* ===== Section Color Identity System ===== */
.cn-section {
    position: relative;
    --section-accent: var(--section-default-color);
    overflow: visible; /* Allow card expansion */
}

.cn-section[data-cn-section="trending"] { --section-accent: var(--section-trending-color); }
.cn-section[data-cn-section="iconic"] { --section-accent: var(--section-iconic-color); }
.cn-section[data-cn-section="tiktok"] { --section-accent: var(--section-tiktok-color); }
.cn-section[data-cn-section="manager"] { --section-accent: var(--section-manager-color); }
.cn-section[data-cn-section="hiphop"] { --section-accent: var(--section-hiphop-color); }
.cn-section[data-cn-section="indie"] { --section-accent: var(--section-indie-color); }
.cn-section[data-cn-section="classic"] { --section-accent: var(--section-classic-color); }
.cn-section[data-cn-section="brand"] { --section-accent: var(--section-brand-color); }
.cn-section[data-cn-section="zordon"] { --section-accent: var(--section-zordon-color); }

/* Section title glow */
.cn-section[data-cn-section="trending"] .rail-title { text-shadow: 0 0 8px rgba(0, 255, 255, 0.25), 0 0 16px rgba(0, 255, 255, 0.1); }
.cn-section[data-cn-section="iconic"] .rail-title { text-shadow: 0 0 8px rgba(0, 212, 255, 0.25), 0 0 16px rgba(0, 212, 255, 0.1); }
.cn-section[data-cn-section="tiktok"] .rail-title { text-shadow: 0 0 8px rgba(0, 255, 136, 0.25), 0 0 16px rgba(0, 255, 136, 0.1); }
.cn-section[data-cn-section="manager"] .rail-title { text-shadow: 0 0 8px rgba(255, 170, 0, 0.25), 0 0 16px rgba(255, 170, 0, 0.1); }
.cn-section[data-cn-section="hiphop"] .rail-title { text-shadow: 0 0 8px rgba(255, 85, 85, 0.25), 0 0 16px rgba(255, 85, 85, 0.1); }
.cn-section[data-cn-section="indie"] .rail-title { text-shadow: 0 0 8px rgba(255, 136, 204, 0.25), 0 0 16px rgba(255, 136, 204, 0.1); }
.cn-section[data-cn-section="classic"] .rail-title { text-shadow: 0 0 8px rgba(255, 215, 0, 0.25), 0 0 16px rgba(255, 215, 0, 0.1); }
.cn-section[data-cn-section="brand"] .rail-title { text-shadow: 0 0 8px rgba(255, 102, 0, 0.25), 0 0 16px rgba(255, 102, 0, 0.1); }
.cn-section[data-cn-section="zordon"] .zordon-brain-title { text-shadow: 0 0 8px rgba(179, 107, 255, 0.25), 0 0 16px rgba(179, 107, 255, 0.1); }

/* Section divider line */
.cn-section .rail-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 4%;
    right: 4%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--section-accent) 20%, var(--section-accent) 80%, transparent 100%);
    opacity: 0.2;
}

/* Top edge CRT bleed */
.cn-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(180deg, var(--section-accent) 0%, transparent 100%);
    opacity: 0.06;
    mix-blend-mode: screen;
    pointer-events: none;
}

/* Card hover glow per section */
.cn-section[data-cn-section="trending"] .blueprint-card:hover { box-shadow: 0 0 0 1px rgba(0, 255, 255, 0.6), 0 0 25px rgba(0, 255, 255, 0.15), 0 8px 30px rgba(0, 0, 0, 0.4); }
.cn-section[data-cn-section="iconic"] .blueprint-card:hover { box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.6), 0 0 25px rgba(0, 212, 255, 0.15), 0 8px 30px rgba(0, 0, 0, 0.4); }
.cn-section[data-cn-section="tiktok"] .blueprint-card:hover { box-shadow: 0 0 0 1px rgba(0, 255, 136, 0.6), 0 0 25px rgba(0, 255, 136, 0.15), 0 8px 30px rgba(0, 0, 0, 0.4); }
.cn-section[data-cn-section="manager"] .blueprint-card:hover { box-shadow: 0 0 0 1px rgba(255, 170, 0, 0.6), 0 0 25px rgba(255, 170, 0, 0.15), 0 8px 30px rgba(0, 0, 0, 0.4); }
.cn-section[data-cn-section="hiphop"] .blueprint-card:hover { box-shadow: 0 0 0 1px rgba(255, 85, 85, 0.6), 0 0 25px rgba(255, 85, 85, 0.15), 0 8px 30px rgba(0, 0, 0, 0.4); }
.cn-section[data-cn-section="indie"] .blueprint-card:hover { box-shadow: 0 0 0 1px rgba(255, 136, 204, 0.6), 0 0 25px rgba(255, 136, 204, 0.15), 0 8px 30px rgba(0, 0, 0, 0.4); }
.cn-section[data-cn-section="classic"] .blueprint-card:hover { box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.6), 0 0 25px rgba(255, 215, 0, 0.15), 0 8px 30px rgba(0, 0, 0, 0.4); }
.cn-section[data-cn-section="brand"] .blueprint-card:hover { box-shadow: 0 0 0 1px rgba(255, 102, 0, 0.6), 0 0 25px rgba(255, 102, 0, 0.15), 0 8px 30px rgba(0, 0, 0, 0.4); }

/* ===== Blueprint Explorer Container ===== */
.blueprint-explorer {
    background: var(--bp-bg-dark);
    min-height: 100vh;
    color: var(--bp-text);
    font-family: 'Courier New', 'SF Mono', monospace;
    position: relative;
    overflow-x: hidden;
}

/* ===== Hero Section ===== */
.blueprint-hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    max-height: 900px;
    display: flex;
    align-items: flex-end;
    padding: 0 4% 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-image-layer,
.hero-video-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image-layer {
    z-index: 1;
    transition: opacity 0.5s ease;
    background: #0a0f19;
    overflow: hidden;
}

.hero-image-layer:empty {
    opacity: 0 !important;
    visibility: hidden;
}

/* Hide any broken image icons */
.hero-image-layer img[src=""],
.hero-image-layer img:not([src]) {
    display: none !important;
}

.hero-image-layer img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero-video-layer {
    z-index: 2;
    background: #0a0f19;
}

.hero-video-layer video,
.hero-video-layer iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(10, 10, 15, 0.95) 0%,
        rgba(10, 10, 15, 0.7) 30%,
        rgba(10, 10, 15, 0.3) 60%,
        transparent 100%
    ),
    linear-gradient(
        to top,
        rgba(10, 10, 15, 1) 0%,
        rgba(10, 10, 15, 0.8) 20%,
        transparent 50%
    );
    z-index: 3;
}

.hero-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 150px 50px rgba(0, 0, 0, 0.8);
    pointer-events: none;
    z-index: 4;
}

/* Hero Unmute Button */
.hero-unmute-btn {
    position: absolute;
    bottom: 100px;
    right: 24px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    opacity: 0.8;
}

.hero-unmute-btn:hover {
    background: rgba(0, 0, 0, 0.85);
    border-color: rgba(0, 255, 255, 0.4);
    opacity: 1;
    transform: scale(1.05);
}

.hero-unmute-btn.is-unmuted {
    background: rgba(0, 255, 255, 0.15);
    border-color: rgba(0, 255, 255, 0.5);
    color: #00ffff;
}

/* Hero Progress Indicators */
.hero-progress {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 200; /* Above hero-content (100) but below header */
    pointer-events: auto;
}

.hero-progress-dot {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    padding: 0;
    overflow: hidden;
    transition: background 0.3s ease;
    pointer-events: auto;
    position: relative;
}

.hero-progress-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.hero-progress-dot.active {
    background: rgba(255, 255, 255, 0.3);
}

.hero-progress-dot .progress-fill {
    display: block;
    height: 100%;
    width: 0%;
    background: var(--bp-cyan);
    border-radius: 2px;
    transition: width 0.1s linear;
}

.hero-progress-dot.active .progress-fill {
    animation: progressFill 8s linear forwards;
}

.hero-progress-dot.playing .progress-fill {
    animation: none;
    width: 100%;
    background: var(--bp-magenta);
}

@keyframes progressFill {
    from { width: 0%; }
    to { width: 100%; }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
    transition: opacity 0.5s ease;
}

.hero-content.transitioning {
    opacity: 0;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.hero-type {
    background: linear-gradient(135deg, var(--bp-cyan), var(--bp-green));
    color: #000;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
}

.hero-year {
    color: var(--bp-text-dim);
    font-size: 14px;
    border: 1px solid var(--bp-border);
    padding: 4px 10px;
    border-radius: 4px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.1;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.5), 2px 2px 0 rgba(255, 0, 255, 0.3);
    color: #fff;
}

.hero-artist {
    font-size: 1.25rem;
    color: var(--bp-cyan);
    margin: 0 0 16px;
    text-shadow: 0 0 10px var(--bp-cyan-dim);
}

.hero-logline {
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--bp-text);
    margin: 0 0 16px;
    max-width: 500px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.hero-tag {
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--bp-border);
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 20px;
    color: var(--bp-cyan-dim);
}

.hero-results {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 8px;
    margin-bottom: 24px;
    max-width: fit-content;
}

.results-icon {
    display: flex;
    align-items: center;
    color: var(--bp-green);
}

.results-text {
    font-size: 14px;
    color: var(--bp-green);
}

/* Hero Buttons */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--bp-transition);
    text-decoration: none;
    border: none;
}

.hero-btn-primary {
    background: linear-gradient(135deg, var(--bp-cyan), var(--bp-green));
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

.hero-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.6);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--bp-cyan);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--bp-text-dim);
    font-size: 12px;
    animation: bounce 2s infinite;
    z-index: 150; /* Above hero-content (100) but below progress dots (200) */
    pointer-events: none; /* Don't block clicks */
}

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

/* ===== Rails Section ===== */
.blueprint-rails {
    position: relative;
    padding: 20px 0 60px;
    margin-top: -40px;
    z-index: 20;
    background: transparent;
}

.blueprint-rail {
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.blueprint-rail:nth-child(1) { animation-delay: 0.1s; }
.blueprint-rail:nth-child(2) { animation-delay: 0.2s; }
.blueprint-rail:nth-child(3) { animation-delay: 0.3s; }
.blueprint-rail:nth-child(4) { animation-delay: 0.4s; }
.blueprint-rail:nth-child(5) { animation-delay: 0.5s; }
.blueprint-rail:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4%;
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 12px;
}

.rail-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
    letter-spacing: 0.5px;
}

.rail-description {
    font-size: 13px;
    color: var(--bp-text-dim);
    margin: 4px 0 0;
    display: none;
}

.rail-nav {
    display: flex;
    gap: 8px;
}

.rail-nav-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--bp-border);
    border-radius: 50%;
    color: var(--bp-cyan);
    cursor: pointer;
    transition: var(--bp-transition);
    opacity: 0;
}

.blueprint-rail:hover .rail-nav-btn {
    opacity: 1;
}

.rail-nav-btn:hover {
    background: var(--bp-cyan);
    color: #000;
    transform: scale(1.1);
}

.rail-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Rail Carousel */
.rail-carousel {
    position: relative;
    overflow: visible; /* Allow card expansion to show */
}

.rail-track {
    display: flex;
    gap: var(--bp-rail-gap);
    padding: 30px 4% 40px; /* Extra padding for card expansion */
    margin: -20px 0; /* Compensate for padding so layout stays same */
    scroll-behavior: smooth;
    overflow-x: auto;
    overflow-y: visible; /* Allow cards to expand vertically */
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: none; /* Disable snap to prevent scroll getting stuck */
}

.rail-track::-webkit-scrollbar {
    display: none;
}

/* Prevent scroll capture when scrolling over cards */
.rail-track.is-scrolling,
body.is-scrolling .rail-track {
    pointer-events: none;
}

.rail-track.is-scrolling .blueprint-card,
body.is-scrolling .blueprint-card {
    pointer-events: none;
    transform: none !important;
}

body.is-scrolling .blueprint-card:hover {
    transform: none !important;
    box-shadow: none !important;
}

body.is-scrolling .zordon-brain-card:hover,
body.is-scrolling .feature-showcase-card:hover {
    transform: none !important;
}

/* ===== Blueprint Cards ===== */
.blueprint-card {
    flex: 0 0 var(--bp-card-width);
    scroll-snap-align: none; /* Disable snap per card */
    position: relative;
    border-radius: 8px;
    overflow: visible; /* Allow content to expand beyond card */
    background: var(--bp-bg-card);
    border: 1px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    transform-origin: center center;
    cursor: pointer;
}

/* Inner wrapper clips content but card expands cleanly */
.blueprint-card .card-link {
    overflow: hidden;
    border-radius: 8px;
}

.blueprint-card:hover {
    transform: scale(1.05); /* Slightly reduced scale for cleaner look */
    z-index: 100;
    border-color: var(--bp-cyan);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.4), 0 15px 35px rgba(0, 0, 0, 0.7);
}

.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Card Image */
.card-image-wrapper {
    position: relative;
    width: 100%;
    height: var(--bp-card-height);
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e, #0f0f1a);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.blueprint-card:hover .card-image {
    transform: scale(1.1);
}

/* Video Cards */
.card-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blueprint-card:hover .card-video {
    transform: scale(1.1);
}

.card-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: opacity 0.5s ease;
}

.blueprint-card.has-video:hover .card-poster {
    opacity: 0;
}

/* Videos without poster - show immediately, always visible */
.blueprint-card.no-poster .card-video,
.card-video.no-poster-video {
    opacity: 1 !important;
    z-index: 2;
}

.blueprint-card.no-poster .card-image-wrapper {
    background: #0a0f19; /* Dark fallback while video loads */
}

.card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bp-cyan-dim);
    position: relative;
}

.placeholder-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 10px;
}

.placeholder-artist {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: rgba(255,255,255,0.95);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Card Overlay - Guest Mode (Request Access) */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: var(--bp-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.blueprint-card:hover .card-overlay {
    opacity: 1;
}

.card-access-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(0, 255, 255, 0.2);
    border: 1px solid rgba(0, 255, 255, 0.5);
    border-radius: 6px;
    color: var(--bp-cyan);
    transform: translateY(5px);
    opacity: 0;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blueprint-card:hover .card-access-btn {
    transform: translateY(0);
    opacity: 1;
}

.blueprint-card:hover .card-access-btn:hover {
    background: rgba(0, 255, 255, 0.35);
    border-color: var(--bp-cyan);
}

/* Play Icon for Lightbox-enabled cards */
.card-play-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(0, 255, 255, 0.6);
    border-radius: 50%;
    color: #00ffff;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.card-play-icon svg {
    margin-left: 4px; /* Optical centering for play triangle */
    filter: drop-shadow(0 0 6px rgba(0, 255, 255, 0.6));
}

.blueprint-card:hover .card-play-icon {
    opacity: 1;
    transform: scale(1);
}

.blueprint-card.cn-video-lightbox-trigger:hover .card-play-icon {
    background: rgba(0, 255, 255, 0.2);
    border-color: #00ffff;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

/* Card CRT Effect */
.card-crt-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.2) 50%),
        linear-gradient(90deg, rgba(0, 255, 255, 0.02), rgba(255, 0, 255, 0.02), rgba(0, 255, 255, 0.02));
    background-size: 100% 3px, 3px 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 6;
}

.blueprint-card:hover .card-crt-overlay {
    opacity: 0.6;
    animation: scanline 8s linear infinite;
}

@keyframes scanline {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 0 100%, 0 0; }
}

/* Card Content */
.card-content {
    padding: 12px 14px 14px;
}

.card-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px;
    color: #fff;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-artist {
    font-size: 12px;
    color: var(--bp-cyan);
    margin: 0 0 8px;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.card-type {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--bp-green);
    background: rgba(0, 255, 136, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.card-year {
    font-size: 11px;
    color: var(--bp-text-dim);
}

.card-logline {
    font-size: 12px;
    color: var(--bp-text-dim);
    line-height: 1.4;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0;
    max-height: 0;
    transition: var(--bp-transition);
}

.blueprint-card:hover .card-logline {
    opacity: 1;
    max-height: 60px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.card-tag {
    font-size: 10px;
    padding: 2px 8px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--bp-cyan-dim);
}

/* ===== Enterprise CTA Section ===== */
.enterprise-cta-section {
    background: linear-gradient(180deg, var(--bp-bg-dark) 0%, rgba(0, 255, 255, 0.03) 50%, var(--bp-bg-dark) 100%);
    padding: 80px 4%;
    text-align: center;
    border-top: 1px solid rgba(0, 255, 255, 0.1);
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.enterprise-cta-container {
    max-width: 600px;
    margin: 0 auto;
}

.enterprise-cta-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: #fff;
    margin: 0 0 12px;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.enterprise-cta-subtitle {
    font-size: 1rem;
    color: var(--bp-text-dim);
    margin: 0 0 32px;
}

.enterprise-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    border: 2px solid var(--bp-cyan);
    border-radius: 8px;
    color: var(--bp-cyan);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--bp-transition);
}

.enterprise-cta-btn:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}

.enterprise-cta-btn svg {
    animation: bounce-down 2s infinite;
}

@keyframes bounce-down {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* ===== Enterprise Section Wrapper ===== */
.enterprise-section-wrapper {
    background: #fff;
    position: relative;
    z-index: 1;
}

/* ===== Empty State ===== */
.blueprint-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    text-align: center;
    padding: 40px;
}

.empty-icon {
    color: var(--bp-cyan-dim);
    margin-bottom: 24px;
    opacity: 0.5;
}

.blueprint-empty-state h2 {
    font-size: 1.5rem;
    margin: 0 0 12px;
    color: #fff;
}

.blueprint-empty-state p {
    color: var(--bp-text-dim);
    margin: 0 0 24px;
}

/* ===== Trailer Modal ===== */
.trailer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.trailer-modal.active {
    display: flex;
}

.trailer-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.trailer-modal-content {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16/9;
    background: #000;
    border: 1px solid var(--bp-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(0, 255, 255, 0.3);
}

.trailer-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 10px;
    transition: var(--bp-transition);
}

.trailer-modal-close:hover {
    color: var(--bp-cyan);
    transform: scale(1.1);
}

.trailer-video-container {
    width: 100%;
    height: 100%;
}

.trailer-video-container video,
.trailer-video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== Glitch Text Effect ===== */
.glitch-text {
    position: relative;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.blueprint-hero:hover .glitch-text::before {
    animation: glitch-1 0.3s linear infinite;
    color: var(--bp-cyan);
    z-index: -1;
    opacity: 0.8;
}

.blueprint-hero:hover .glitch-text::after {
    animation: glitch-2 0.3s linear infinite;
    color: var(--bp-magenta);
    z-index: -2;
    opacity: 0.8;
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(2px, -2px); }
    40% { transform: translate(2px, 2px); }
    60% { transform: translate(-2px, -2px); }
    80% { transform: translate(-2px, 2px); }
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    :root {
        --bp-card-width: 240px;
        --bp-card-height: 140px;
    }
}

@media (max-width: 768px) {
    :root {
        --bp-card-width: 200px;
        --bp-card-height: 120px;
    }

    #top-menu {
        display: none !important;
    }

    .cn-enterprise-menu-btn {
        font-size: 0.65rem !important;
        padding: 5px 10px !important;
    }

    .blueprint-hero {
        height: auto;
        min-height: 500px;
        max-height: none;
        padding: 80px 5% 20px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-gradient {
        background:
            linear-gradient(to top, rgba(10,10,15,1) 0%, rgba(10,10,15,0.95) 20%, rgba(10,10,15,0.7) 50%, transparent 100%);
    }

    .hero-meta { margin-bottom: 6px; gap: 6px; }
    .hero-type { font-size: 9px; padding: 2px 6px; }
    .hero-year { font-size: 10px; padding: 2px 6px; }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.15;
        margin-bottom: 2px;
    }

    .hero-artist {
        font-size: 0.85rem;
        margin-bottom: 4px;
    }

    .hero-logline {
        font-size: 0.75rem;
        margin-bottom: 4px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-tags { margin-bottom: 4px; gap: 4px; }
    .hero-tags .hero-tag { font-size: 0.55rem; padding: 2px 6px; }

    .hero-results { margin-bottom: 4px; font-size: 0.65rem; padding: 6px 10px; }

    .hero-actions {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .hero-btn {
        font-size: 0.75rem;
        padding: 8px 14px;
    }

    .hero-btn-secondary { display: none; }

    .hero-progress {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        padding: 8px 0 0;
        z-index: 10;
    }

    .hero-progress-dot { width: 28px; }

    .hero-unmute-btn { display: none; }

    .hero-scroll-indicator { display: none; }

    .rail-header {
        padding: 0 5%;
    }

    .rail-track {
        padding: 10px 5%;
    }

    .rail-nav {
        display: none;
    }

    .card-logline {
        display: none;
    }
    
    .enterprise-cta-section {
        padding: 40px 5%;
    }
}

@media (max-width: 480px) {
    :root {
        --bp-card-width: 160px;
        --bp-card-height: 100px;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .hero-logline {
        -webkit-line-clamp: 2;
    }

    .hero-tags .hero-tag { font-size: 0.55rem; padding: 2px 6px; }

    .hero-results { font-size: 0.65rem; padding: 6px 10px; }

    .hero-btn {
        font-size: 0.75rem;
        padding: 8px 14px;
    }

    .card-content {
        padding: 8px 10px;
    }

    .card-title {
        font-size: 12px;
    }

    .card-artist,
    .card-meta {
        display: none;
    }
}

/* ===== CN: Phase 6 – Zordon's Brain Section ===== */
.zordon-brain-section {
    padding: 32px 4% 40px;
    background: linear-gradient(180deg, 
        transparent 0%,
        rgba(179, 107, 255, 0.02) 20%,
        rgba(179, 107, 255, 0.04) 50%,
        rgba(179, 107, 255, 0.02) 80%,
        transparent 100%
    );
    border-top: 1px solid rgba(179, 107, 255, 0.1);
    position: relative;
}

.zordon-brain-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(179, 107, 255, 0.5), transparent);
}

.zordon-brain-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

/* CN: Colorful Zordon Orb for Zordon's Brain section (Siri-style) - Copied from database */
.zordon-brain-orb-icon.zordon-orb-siri-style {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 20, 30, 0.95), rgba(0, 40, 50, 0.9));
    border: 2px solid rgba(0, 255, 200, 0.4);
    box-shadow: 
        0 0 20px rgba(0, 255, 200, 0.3),
        0 4px 20px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(0, 255, 200, 0.1);
    animation: zordonBrainPulse 3s ease-in-out infinite;
}

.zordon-brain-orb-icon.zordon-orb-siri-style .zordon-orb-inner {
    display: flex;
    gap: 3px;
    align-items: center;
    justify-content: center;
}

.zordon-brain-orb-icon.zordon-orb-siri-style .zordon-orb {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    animation: zordonBrainWave 2s ease-in-out infinite;
}

/* Colorful orbs - matching the floating Zordon orb */
.zordon-brain-orb-icon.zordon-orb-siri-style .zordon-orb:nth-child(1) {
    background: linear-gradient(135deg, #ff00ff, #ff6bd5);
    box-shadow: 0 0 8px rgba(255, 0, 255, 0.8);
    animation-delay: 0s;
}
.zordon-brain-orb-icon.zordon-orb-siri-style .zordon-orb:nth-child(2) {
    background: linear-gradient(135deg, #00ffc8, #00d4ff);
    box-shadow: 0 0 8px rgba(0, 255, 200, 0.8);
    animation-delay: 0.15s;
}
.zordon-brain-orb-icon.zordon-orb-siri-style .zordon-orb:nth-child(3) {
    background: linear-gradient(135deg, #ffff00, #ffd700);
    box-shadow: 0 0 8px rgba(255, 255, 0, 0.8);
    animation-delay: 0.3s;
}
.zordon-brain-orb-icon.zordon-orb-siri-style .zordon-orb:nth-child(4) {
    background: linear-gradient(135deg, #00d4ff, #0066ff);
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.8);
    animation-delay: 0.45s;
}
.zordon-brain-orb-icon.zordon-orb-siri-style .zordon-orb:nth-child(5) {
    background: linear-gradient(135deg, #ff6b00, #ff9500);
    box-shadow: 0 0 8px rgba(255, 107, 0, 0.8);
    animation-delay: 0.6s;
}

@keyframes zordonBrainWave {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.4); opacity: 1; }
}

@keyframes zordonBrainPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 200, 0.3), 0 4px 20px rgba(0, 0, 0, 0.5); }
    50% { box-shadow: 0 0 35px rgba(0, 255, 200, 0.5), 0 4px 20px rgba(0, 0, 0, 0.5); }
}

.zordon-brain-title-wrap {
    flex: 1;
}

.zordon-brain-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-shadow: 0 0 10px rgba(179, 107, 255, 0.3);
    font-family: 'Courier New', 'SF Mono', monospace;
}

.zordon-brain-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 4px 0 0 0;
    font-family: 'Courier New', 'SF Mono', monospace;
}

.zordon-brain-carousel {
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0 -4%;
    padding: 0 4%;
}

.zordon-brain-carousel::-webkit-scrollbar {
    display: none;
}

/* Zordon's Brain Cards */
.zordon-brain-card {
    flex: 0 0 auto;
    width: 300px;
    background: var(--bp-bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--bp-transition);
    border: 1px solid rgba(179, 107, 255, 0.1);
    cursor: pointer;
}

.zordon-brain-card:hover {
    transform: translateY(-4px);
    border-color: rgba(179, 107, 255, 0.3);
    box-shadow: 0 8px 32px rgba(179, 107, 255, 0.2);
}

.zordon-brain-card .card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.zordon-brain-card .card-image-wrapper {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(179, 107, 255, 0.1), rgba(0, 255, 255, 0.1));
}

.zordon-brain-card .card-image,
.zordon-brain-card .card-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease, transform 0.6s ease;
}

/* Zordon card video - always autoplay, sound on hover */
.zordon-brain-card.has-video .card-video {
    opacity: 1;
    z-index: 2;
}

.zordon-brain-card .card-poster.zordon-poster {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: opacity 0.5s ease;
}

.zordon-brain-card:hover .card-image,
.zordon-brain-card:hover .card-video {
    transform: scale(1.05);
}

/* Zordon sound hint */
.zordon-sound-hint {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 4px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zordon-sound-hint svg {
    color: var(--section-zordon-color, #b36bff);
}

.zordon-brain-card:hover .zordon-sound-hint {
    opacity: 1;
}

.zordon-brain-card .card-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zordon-brain-card .placeholder-content svg {
    color: rgba(255, 255, 255, 0.3);
}

.zordon-brain-card .card-content {
    padding: 16px;
}

.zordon-brain-card .card-category {
    display: inline-block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--section-zordon-color);
    margin-bottom: 8px;
    font-weight: 600;
}

.zordon-brain-card .card-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zordon-brain-card .card-date {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0 8px 0;
}

.zordon-brain-card .card-excerpt {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Zordon card overlay */
.zordon-brain-card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zordon-brain-card:hover .card-overlay {
    opacity: 1;
}

.zordon-brain-card .card-access-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(179, 107, 255, 0.2);
    border: 1px solid rgba(179, 107, 255, 0.5);
    border-radius: 20px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

/* Zordon section responsive */
@media (max-width: 768px) {
    .zordon-brain-section {
        padding: 24px 4% 32px;
    }
    
    .zordon-brain-header {
        gap: 12px;
        margin-bottom: 16px;
    }
    
    .zordon-brain-orb-icon.zordon-orb-siri-style {
        width: 40px;
        height: 40px;
    }
    
    .zordon-brain-orb-icon .zordon-orb-inner {
        width: 28px;
        height: 28px;
    }
    
    .zordon-brain-title {
        font-size: 1.1rem;
    }
    
    .zordon-brain-card {
        width: 260px;
    }
}

@media (max-width: 480px) {
    .zordon-brain-card {
        width: 220px;
    }
    
    .zordon-brain-card .card-content {
        padding: 12px;
    }
    
    .zordon-brain-card .card-excerpt {
        display: none;
    }
}

/* CRT Effects are now handled by the CN CRT Effects plugin */
/* Go to Settings > CRT Effects to customize */

/* ===== Feature Showcase Section - BTS Content ===== */
.feature-showcase-section {
    padding: 60px 4% 80px;
    background: linear-gradient(180deg, 
        rgba(0, 20, 40, 0.5) 0%,
        var(--bp-bg-dark) 100%
    );
    position: relative;
}

.feature-showcase-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(100, 200, 255, 0.4), transparent);
}

.feature-showcase-header {
    text-align: center;
    margin-bottom: 48px;
}

.feature-showcase-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--bp-cyan);
    margin-bottom: 12px;
    font-family: 'Courier New', 'SF Mono', monospace;
}

.feature-showcase-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px 0;
    text-shadow: 0 0 30px rgba(100, 200, 255, 0.3);
}

.feature-showcase-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Feature Showcase Grid - 3 Column Layout */
.feature-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

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

@media (min-width: 1024px) {
    .feature-showcase-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Feature Showcase Card */
.feature-showcase-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(10, 20, 30, 0.8);
    border: 1px solid rgba(100, 200, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
}

.feature-showcase-card:hover {
    transform: translateY(-8px);
    border-color: rgba(100, 200, 255, 0.4);
    box-shadow: 
        0 20px 60px rgba(0, 150, 255, 0.2),
        0 0 40px rgba(100, 200, 255, 0.1);
}

.feature-showcase-card.large {
    grid-column: span 2;
}

/* Large card - Full width centered */
.feature-showcase-card.large {
    grid-column: 1 / -1 !important;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.feature-showcase-card.large .feature-showcase-media {
    padding-top: 50%;
}

.feature-showcase-card.large .feature-showcase-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 32px 32px;
}

.feature-showcase-card.large .feature-showcase-card-title {
    font-size: 1.5rem;
}

.feature-showcase-card.large .feature-showcase-description {
    max-width: 600px;
}

.feature-showcase-card.large .feature-showcase-features {
    justify-content: center;
}

@media (max-width: 768px) {
    .feature-showcase-card.large {
        max-width: 100%;
        grid-column: span 1 !important;
    }
    
    .feature-showcase-card.large .feature-showcase-media {
        padding-top: 56.25%;
    }
    
    .feature-showcase-card.large .feature-showcase-content {
        text-align: left;
        align-items: flex-start;
        padding: 20px;
    }
    
    .feature-showcase-card.large .feature-showcase-features {
        justify-content: flex-start;
    }
}

/* Main header above CRT effects */
#main-header,
#top-header,
.et-fixed-header,
header#main-header {
    position: relative;
    z-index: 9999999 !important;
}

/* Blueprint header also above CRT */
.blueprint-landing-page .site-header {
    position: relative;
    z-index: 1000000;
}

/* Hero content - lower z-index so progress dots are clickable */
.blueprint-explorer .hero-content {
    position: relative;
    z-index: 100; /* Lower so progress dots (1000002) stay above */
}

/* Enterprise button in menu - Base Styles */
.cn-enterprise-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    margin-left: 10px;
    cursor: pointer !important;
    position: relative;
    z-index: 100;
}

.cn-enterprise-menu-btn svg {
    width: 14px;
    height: 14px;
}

/* Style: Gradient Border Slim (No Icon) - EXACT match to image */
.cn-enterprise-menu-btn.style-gradient-border-slim {
    background: #0a0a0a;
    color: #fff !important;
    border: 2px solid transparent;
    background-image: linear-gradient(#0a0a0a, #0a0a0a), linear-gradient(90deg, #ff00ff, #00ffff);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    padding: 10px 28px;
}

.cn-enterprise-menu-btn.style-gradient-border-slim:hover {
    background-image: linear-gradient(#1a1a2e, #1a1a2e), linear-gradient(90deg, #ff00ff, #00ffff);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3), 0 0 40px rgba(0, 255, 255, 0.2);
}

.cn-enterprise-menu-btn.style-gradient-border-slim svg {
    display: none;
}

/* Style: Gradient Border (With Icon) */
.cn-enterprise-menu-btn.style-gradient-border {
    background: #0a0a0a;
    color: #fff !important;
    border: 2px solid transparent;
    background-image: linear-gradient(#0a0a0a, #0a0a0a), linear-gradient(135deg, #ff00ff, #00ffff);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.cn-enterprise-menu-btn.style-gradient-border:hover {
    background-image: linear-gradient(#1a1a2e, #1a1a2e), linear-gradient(135deg, #ff00ff, #00ffff);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3), 0 0 40px rgba(0, 255, 255, 0.2);
}

/* Style: Animated Rainbow Border */
@keyframes cn-rainbow-border {
    0% { background-position: 0 0, 0% 50%; }
    100% { background-position: 0 0, 300% 50%; }
}

.cn-enterprise-menu-btn.style-animated-rainbow {
    background: #0a0a0a;
    color: #fff !important;
    border: 2px solid transparent;
    background-image: linear-gradient(#0a0a0a, #0a0a0a), linear-gradient(90deg, #ff00ff, #00ffff, #00ff00, #ffff00, #ff6600, #ff00ff);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    background-size: 100% 100%, 300% 100%;
    animation: cn-rainbow-border 3s linear infinite;
    padding: 10px 28px;
}

.cn-enterprise-menu-btn.style-animated-rainbow:hover {
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.4), 0 0 50px rgba(0, 255, 255, 0.3);
}

.cn-enterprise-menu-btn.style-animated-rainbow svg {
    display: none;
}

/* Style: Animated Pulse Glow */
@keyframes cn-pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 5px #ff00ff, 0 0 10px rgba(0, 255, 255, 0.5); 
        border-color: #ff00ff; 
    }
    50% { 
        box-shadow: 0 0 20px #ff00ff, 0 0 40px rgba(0, 255, 255, 0.8), 0 0 60px rgba(255, 0, 255, 0.4); 
        border-color: #00ffff; 
    }
}

.cn-enterprise-menu-btn.style-animated-pulse {
    background: #0a0a0a;
    color: #fff !important;
    border: 2px solid #ff00ff;
    animation: cn-pulse-glow 2s ease-in-out infinite;
    padding: 10px 28px;
}

.cn-enterprise-menu-btn.style-animated-pulse:hover {
    animation-duration: 0.5s;
}

.cn-enterprise-menu-btn.style-animated-pulse svg {
    display: none;
}

/* Style: Animated Neon Sweep */
@keyframes cn-neon-sweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

.cn-enterprise-menu-btn.style-animated-neon {
    background: #0a0a0a;
    color: #fff !important;
    border: 2px solid #00ffff;
    position: relative;
    overflow: hidden;
    padding: 10px 28px;
}

.cn-enterprise-menu-btn.style-animated-neon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.4), rgba(255, 0, 255, 0.4), transparent);
    animation: cn-neon-sweep 2s linear infinite;
    z-index: -1;
}

.cn-enterprise-menu-btn.style-animated-neon:hover {
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    border-color: #ff00ff;
}

.cn-enterprise-menu-btn.style-animated-neon svg {
    display: none;
}

/* Style: Cyan Glow (Original) */
.cn-enterprise-menu-btn.style-cyan-glow {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(0, 255, 136, 0.1));
    border: 1px solid rgba(0, 255, 255, 0.4);
    border-radius: 6px;
    color: #00ffff !important;
}

.cn-enterprise-menu-btn.style-cyan-glow:hover {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(0, 255, 136, 0.2));
    border-color: rgba(0, 255, 255, 0.6);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    color: #fff !important;
}

/* Style: Neon Pink */
.cn-enterprise-menu-btn.style-neon-pink {
    background: transparent;
    border: 2px solid #ff00ff;
    color: #ff00ff !important;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.3), inset 0 0 10px rgba(255, 0, 255, 0.1);
}

.cn-enterprise-menu-btn.style-neon-pink:hover {
    background: rgba(255, 0, 255, 0.1);
    box-shadow: 0 0 25px rgba(255, 0, 255, 0.5), inset 0 0 15px rgba(255, 0, 255, 0.2);
    color: #fff !important;
}

/* Style: Gold Premium */
.cn-enterprise-menu-btn.style-gold-premium {
    background: linear-gradient(135deg, #2a2a0a, #1a1a05);
    border: 1px solid #ffd700;
    color: #ffd700 !important;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.cn-enterprise-menu-btn.style-gold-premium:hover {
    background: linear-gradient(135deg, #3a3a1a, #2a2a0a);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.4);
    color: #fff !important;
}

/* Style: Matrix Green */
.cn-enterprise-menu-btn.style-matrix-green {
    background: #001100;
    border: 1px solid #00ff00;
    color: #00ff00 !important;
    text-shadow: 0 0 5px #00ff00;
}

.cn-enterprise-menu-btn.style-matrix-green:hover {
    background: #002200;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.4);
    text-shadow: 0 0 10px #00ff00;
}

/* Style: Purple Haze */
.cn-enterprise-menu-btn.style-purple-haze {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(75, 0, 130, 0.2));
    border: 1px solid #8a2be2;
    color: #da70d6 !important;
    border-radius: 20px;
}

.cn-enterprise-menu-btn.style-purple-haze:hover {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.3), rgba(75, 0, 130, 0.3));
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.4);
    color: #fff !important;
}

/* Style: Minimal White */
.cn-enterprise-menu-btn.style-minimal-white {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff !important;
    border-radius: 4px;
}

.cn-enterprise-menu-btn.style-minimal-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Menu item styling for blueprints page */
.blueprint-landing-page #top-menu .menu-item a {
    color: rgba(255, 255, 255, 0.8) !important;
}

.blueprint-landing-page #top-menu .menu-item a:hover {
    color: #00ffff !important;
}

/* ===== DIVI-STYLE GLASS MENU FOR BLUEPRINTS PAGE ===== */

/* Match Divi's fixed header behavior - transparent at top, glass on scroll */
.blueprint-landing-page #main-header,
.blueprint-landing-page header#main-header {
    background-color: transparent !important;
    transition: all 0.4s ease-in-out !important;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* When scrolled - apply the glass effect like enterprise page */
.blueprint-landing-page #main-header.et-fixed-header,
.blueprint-landing-page.scrolled #main-header,
body.scrolled .blueprint-landing-page #main-header {
    background-color: rgba(0, 20, 30, 0.85) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(0, 150, 200, 0.08),
        inset 0 -1px 0 rgba(255, 255, 255, 0.05) !important;
    border-bottom: 1px solid rgba(0, 200, 255, 0.1) !important;
}

/* Ensure the logo shrinks like on enterprise */
.blueprint-landing-page #main-header.et-fixed-header #logo,
.blueprint-landing-page.scrolled #main-header #logo {
    max-height: 54px !important;
}

/* Menu items styling */
.blueprint-landing-page #main-header #top-menu > li > a,
.blueprint-landing-page #main-header .et_mobile_menu li a {
    color: rgba(255, 255, 255, 0.9) !important;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.blueprint-landing-page #main-header #top-menu > li > a:hover {
    color: #00ffff !important;
    opacity: 1 !important;
}

/* Fix MorphOS animated button pixelation in glass menu */
.blueprint-landing-page #main-header .menu-item a,
.blueprint-landing-page #main-header #top-menu a {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Menu container transparent */
.blueprint-landing-page #main-header .container,
.blueprint-landing-page #main-header .et_menu_container {
    background: transparent !important;
}

/* Ensure fixed header sticks properly */
.blueprint-landing-page #main-header.et-fixed-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
}

/* Remove default Divi fixed header background */
.blueprint-landing-page .et-fixed-header#main-header,
.blueprint-landing-page .et-fixed-header#main-header .container {
    background-color: rgba(0, 20, 30, 0.85) !important;
}

/* Card Media - Standard 16:9 aspect ratio */
.feature-showcase-media {
    position: relative;
    padding-top: 56.25%; /* 16:9 ratio */
    overflow: hidden;
    background: linear-gradient(135deg, #0a1520, #0d1a25);
}

.feature-showcase-card.large .feature-showcase-media {
    padding-top: 50%; /* Slightly wider for featured */
}

.feature-showcase-media video,
.feature-showcase-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, opacity 0.4s ease;
}

/* Video always visible and autoplays - sound on hover */
.feature-showcase-card.has-video .feature-showcase-media video {
    opacity: 1;
    z-index: 2;
}

.feature-showcase-card.has-video .feature-showcase-media img.poster-image {
    opacity: 0;
    z-index: 1;
}

.feature-showcase-card:hover .feature-showcase-media video,
.feature-showcase-card:hover .feature-showcase-media img {
    transform: scale(1.05);
}

.feature-showcase-media::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(10, 20, 30, 0.95), transparent);
    pointer-events: none;
}

/* Play Button Overlay */
.feature-showcase-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(100, 200, 255, 0.2);
    border: 2px solid rgba(100, 200, 255, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 5;
}

.feature-showcase-card:hover .feature-showcase-play {
    opacity: 1;
}

.feature-showcase-play svg {
    color: #fff;
    margin-left: 4px;
}

/* Card Content */
.feature-showcase-content {
    padding: 20px 24px 24px;
    position: relative;
}

.feature-showcase-tag {
    display: inline-block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--bp-cyan);
    background: rgba(100, 200, 255, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-showcase-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.feature-showcase-card.large .feature-showcase-card-title {
    font-size: 1.5rem;
}

.feature-showcase-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.5;
}

/* Feature List (for cards with features) */
.feature-showcase-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.feature-showcase-feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(100, 200, 255, 0.05);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(100, 200, 255, 0.1);
}

.feature-showcase-feature svg {
    color: var(--bp-cyan);
    width: 14px;
    height: 14px;
}

/* CTA in Showcase */
.feature-showcase-cta {
    text-align: center;
    margin-top: 48px;
}

.feature-showcase-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    border: 2px solid var(--bp-cyan);
    border-radius: 8px;
    color: var(--bp-cyan);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-showcase-cta-btn:hover {
    background: rgba(100, 200, 255, 0.1);
    box-shadow: 0 0 30px rgba(100, 200, 255, 0.3);
    transform: translateY(-2px);
}

/* CRT Flicker Effect */
.crt-flicker {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999996;
    animation: crtFlicker 0.05s infinite;
    opacity: 0.03;
    background: rgba(255, 255, 255, 0.02);
}

@keyframes crtFlicker {
    0%, 100% { opacity: 0.02; }
    50% { opacity: 0.04; }
}

/* CRT Vignette */
.crt-vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999995;
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        transparent 60%,
        rgba(0, 0, 0, 0.3) 100%
    );
}

/* Card CRT Overlay Effect */
.card-crt-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 2px,
        rgba(0, 0, 0, 0.1) 2px,
        rgba(0, 0, 0, 0.1) 4px
    );
    pointer-events: none;
    z-index: 5;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.blueprint-card:hover .card-crt-overlay,
.zordon-brain-card:hover .card-crt-overlay {
    opacity: 0.6;
    animation: cardScanline 8s linear infinite;
}

@keyframes cardScanline {
    0% { background-position: 0 0; }
    100% { background-position: 0 100%; }
}

/* Hero CRT effect */
.blueprint-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 2px,
        rgba(0, 0, 0, 0.08) 2px,
        rgba(0, 0, 0, 0.08) 4px
    );
    pointer-events: none;
    z-index: 10;
    animation: heroScanline 10s linear infinite;
}

@keyframes heroScanline {
    0% { background-position: 0 0; }
    100% { background-position: 0 200%; }
}

