/* Space-Tech / Dribbble-Inspired Modernized Style Sheet for CodeX Player Showcase Website */

:root {
    --bg-dark: #0B0E14; /* Slate navy-dark matching player screenshot */
    --bg-card: rgba(20, 26, 38, 0.45);
    --border-color: rgba(46, 52, 74, 0.4);
    
    /* Exact colors extracted from CodeX brand assets */
    --color-purple: #4E16C9; /* Purple accent */
    --color-pink: #E01E9B;   /* Vibrant pink */
    --color-orange: #FF8C00; /* Warm sunset orange */
    
    --text-primary: #FFFFFF;
    --text-secondary: #8E96A9;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    font-family: var(--font-body);
    color: var(--text-primary);
}

body {
    overflow-x: hidden;
    line-height: 1.65;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Background Dynamic Intersecting Blobs (X-Pattern Animation) */
.blob-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.blur-blob {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.52;
    transition: var(--transition-smooth);
}

.blob-1 {
    background: radial-gradient(circle, var(--color-purple) 0%, transparent 70%);
    top: -150px;
    left: -150px;
    animation: moveX1 25s infinite alternate ease-in-out;
}

.blob-2 {
    background: radial-gradient(circle, var(--color-pink) 0%, transparent 70%);
    bottom: -150px;
    right: -150px;
    animation: moveX2 25s infinite alternate ease-in-out;
}

.blob-3 {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.16) 0%, transparent 75%);
    filter: blur(160px);
    z-index: 0;
    pointer-events: none;
}

/* Animated Diagonal X-Path Crossover */
@keyframes moveX1 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(45vw, 45vh) scale(1.3);
    }
    100% {
        transform: translate(90vw, 90vh) scale(1);
    }
}

@keyframes moveX2 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-45vw, -45vh) scale(1.3);
    }
    100% {
        transform: translate(-90vw, -90vh) scale(1);
    }
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #1C2230;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-purple);
}

/* Floating Capsule Header & Navigation (Dribbble Inspired) */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1060px;
    z-index: 1000;
    backdrop-filter: blur(20px);
    background-color: rgba(11, 14, 20, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 40px;
    padding: 12px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: var(--transition-smooth);
}

header.scrolled {
    top: 10px;
    padding: 8px 24px;
    background-color: rgba(11, 14, 20, 0.85);
    max-width: 1000px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 26px;
    width: auto;
    object-fit: contain;
}

.desktop-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    margin-right: 32px;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.desktop-nav a:hover {
    color: var(--text-primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.82rem;
    text-decoration: none;
    border-radius: 30px; /* Capsule buttons */
    transition: var(--transition-smooth);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-purple), var(--color-pink), var(--color-orange));
    background-size: 150% 150%;
    color: #FFFFFF;
    border: none;
    box-shadow: 0 4px 15px rgba(78, 22, 201, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 6px 20px rgba(224, 30, 155, 0.35);
    background-position: right center;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-pink);
    transform: translateY(-1.5px);
}

/* Mobile nav hidden by default on desktop */
.mobile-nav {
    display: none;
}

/* Hamburger menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger-menu span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 190px 0 90px;
    z-index: 1;
}

.hero-center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 860px;
    margin: 0 auto 60px;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(224, 30, 155, 0.08);
    color: var(--color-pink);
    border: 1px solid rgba(224, 30, 155, 0.2);
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.8px;
}

.hero-text {
    width: 100%;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    color: #FFFFFF;
    /* Ultra-premium glowing shadow and text gradient shimmer */
    text-shadow: 0 0 50px rgba(78, 22, 201, 0.25);
    background: linear-gradient(135deg, #FFFFFF 20%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-pink) 0%, var(--color-orange) 50%, var(--color-purple) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGradientShimmer 5s linear infinite;
}

@keyframes textGradientShimmer {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

.hero-text p.lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin: 0 auto 36px;
    max-width: 680px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.hero-media {
    display: flex;
    justify-content: center;
    perspective: 1500px; /* Enable perspective for 3D card layout */
}

.mockup-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: var(--bg-dark);
    max-width: 480px;
    /* Beautiful 3D side perspective */
    transform: rotateY(-18deg) rotateX(10deg) rotateZ(2deg);
    transform-style: preserve-3d;
    box-shadow: 
        -25px 25px 50px rgba(0, 0, 0, 0.75), 
        0 0 30px rgba(78, 22, 201, 0.12),
        -1px 1px 0px rgba(255, 255, 255, 0.2) inset;
    transition: var(--transition-smooth);
}

.mockup-frame:hover {
    transform: rotateY(-10deg) rotateX(6deg) rotateZ(1deg) translateY(-8px);
    border-color: var(--color-pink);
    box-shadow: 
        -30px 30px 60px rgba(0, 0, 0, 0.8), 
        0 0 50px rgba(224, 30, 155, 0.25),
        -1px 1px 0px rgba(255, 255, 255, 0.35) inset;
}

.mockup-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Dribbble Inspired Hero Stats Bar */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
    margin-top: 40px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: block;
    margin-bottom: 4px;
    background: linear-gradient(135deg, var(--color-pink), var(--color-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition-smooth);
}

.stat-lbl {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Features Section */
.features-section {
    padding: 90px 0;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 54px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 36px 28px;
    border-radius: 16px; /* Soft roundings */
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    border-color: var(--color-purple);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(78, 22, 201, 0.1);
}

.feature-icon {
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(224, 30, 155, 0.08);
    color: var(--color-pink);
    border: 1px solid rgba(224, 30, 155, 0.2);
    transition: var(--transition-smooth);
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.feature-card:hover .feature-icon {
    background: var(--color-purple);
    color: #FFFFFF;
    border-color: var(--color-purple);
    box-shadow: 0 0 15px rgba(78, 22, 201, 0.4);
    transform: scale(1.05);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.55;
}

/* About & Branding Section */
.about-section {
    padding: 90px 0;
    border-top: 1px solid var(--border-color);
    background-color: rgba(14, 18, 26, 0.2);
    position: relative;
    z-index: 1;
}

.about-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}

.about-info h2 {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.about-lead {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.brand-details {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
}

.detail-item {
    font-size: 0.92rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
}

.detail-item strong {
    color: var(--text-secondary);
    margin-right: 8px;
}

.detail-item a {
    color: var(--color-pink);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.detail-item a:hover {
    color: var(--color-orange);
}

.about-card {
    position: relative;
    background: linear-gradient(135deg, rgba(20, 26, 38, 0.85), rgba(12, 15, 22, 0.9));
    border: 1px solid var(--border-color);
    padding: 44px 36px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
}

.about-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(224, 30, 155, 0.08) 0%, transparent 70%);
}

.brand-card-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
    margin-bottom: 16px;
}

.about-card .card-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #FFFFFF;
    margin-bottom: 2px;
}

.about-card .card-sub {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.about-card .card-desc {
    color: #C5CBD9;
    font-size: 0.95rem;
    margin-bottom: 28px;
}

/* Tech Specs Table Section */
.specs-section {
    padding: 90px 0;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.table-container {
    width: 100%;
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    text-align: left;
    min-width: 600px;
    background-color: var(--bg-card);
}

th, td {
    padding: 18px 22px;
}

th {
    background-color: rgba(14, 18, 26, 0.9);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    color: var(--color-pink);
    border-bottom: 1px solid var(--border-color);
}

td {
    border-bottom: 1px solid rgba(46, 52, 74, 0.15);
    color: var(--text-secondary);
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    color: #FFFFFF;
    background-color: rgba(20, 26, 38, 0.1);
}

/* Footer Section */
footer {
    border-top: 1px solid var(--border-color);
    background-color: rgba(8, 10, 15, 0.98);
    padding: 50px 0 35px;
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 40px;
    align-items: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-logo-img {
    height: 24px;
    width: auto;
    object-fit: contain;
    align-self: flex-start;
}

.footer-brand p {
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--color-pink);
}

.footer-credit {
    text-align: right;
    color: var(--text-secondary);
}

.footer-credit p {
    margin-bottom: 4px;
}

.footer-credit strong {
    color: #FFFFFF;
}

/* Responsive Queries */
@media (max-width: 992px) {
    header {
        width: calc(100% - 30px);
        top: 10px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .hero-text p.lead {
        margin: 0 auto 28px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }
    
    .footer-brand {
        align-items: center;
    }
    
    .footer-logo-img {
        align-self: center;
    }
    
    .footer-credit {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.4rem;
    }
    
    .desktop-nav, .nav-cta {
        display: none;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    /* Mobile Menu Drawer */
    .mobile-nav {
        display: none;
        flex-direction: column;
        background-color: var(--bg-dark);
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
        padding: 20px;
        gap: 14px;
        z-index: 999;
    }
    
    .mobile-nav.active {
        display: flex;
    }
    
    .mobile-nav a {
        color: var(--text-primary);
        text-decoration: none;
        font-weight: 600;
        font-size: 1rem;
    }
}

/* Simulated Video Screen Overlay inside mockup-frame */
.video-screen-overlay {
    position: absolute;
    top: 6.2%;
    left: 0.1%;
    right: 0.1%;
    bottom: 11.2%;
    overflow: hidden;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000000;
    pointer-events: none;
}

.video-playing-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.95;
    transition: var(--transition-smooth);
}

.video-state-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(224, 30, 155, 0.85);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.video-audio-visualizer {
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 16px;
    z-index: 3;
}

.video-audio-visualizer span {
    width: 2px;
    background-color: var(--color-pink);
    border-radius: 1px;
    animation: barBounce 1.2s infinite ease-in-out alternate;
    transform-origin: bottom;
}

.video-audio-visualizer span:nth-child(1) { height: 30%; animation-delay: 0.1s; }
.video-audio-visualizer span:nth-child(2) { height: 60%; animation-delay: 0.4s; }
.video-audio-visualizer span:nth-child(3) { height: 100%; animation-delay: 0.2s; }
.video-audio-visualizer span:nth-child(4) { height: 40%; animation-delay: 0.6s; }
.video-audio-visualizer span:nth-child(5) { height: 75%; animation-delay: 0.3s; }

@keyframes barBounce {
    0% { transform: scaleY(0.3); }
    100% { transform: scaleY(1); }
}

/* Enhanced Hero Glow and High-End Pulsing Button */
.hero {
    background: radial-gradient(circle at 50% 30%, rgba(224, 30, 155, 0.14) 0%, rgba(78, 22, 201, 0.14) 45%, transparent 100%);
}

.badge {
    box-shadow: 0 0 15px rgba(224, 30, 155, 0.18), inset 0 0 8px rgba(224, 30, 155, 0.05);
    border-color: rgba(224, 30, 155, 0.35) !important;
}

.btn-primary.btn-glow {
    box-shadow: 0 0 25px rgba(78, 22, 201, 0.45), 0 0 10px rgba(224, 30, 155, 0.2);
    animation: buttonPulse 3s infinite alternate ease-in-out;
}

@keyframes buttonPulse {
    0% {
        box-shadow: 0 0 20px rgba(78, 22, 201, 0.4), 0 0 5px rgba(224, 30, 155, 0.15);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 0 35px rgba(224, 30, 155, 0.55), 0 0 15px rgba(78, 22, 201, 0.3);
        transform: scale(1.02);
    }
}

/* Universal Formats Showcase Section */
.formats-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.formats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .formats-grid {
        grid-template-columns: 1fr;
    }
}

.format-category-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.format-category-card:hover {
    border-color: var(--color-purple);
    box-shadow: 0 12px 30px rgba(78, 22, 201, 0.08);
    transform: translateY(-2px);
}

.category-header {
    margin-bottom: 30px;
}

.category-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: var(--font-heading);
    margin-bottom: 12px;
}

.badge-video {
    background-color: rgba(224, 30, 155, 0.1);
    color: var(--color-pink);
    border: 1px solid rgba(224, 30, 155, 0.25);
}

.badge-audio {
    background-color: rgba(78, 22, 201, 0.1);
    color: #8C52FF;
    border: 1px solid rgba(78, 22, 201, 0.25);
}

.format-category-card h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
}

.format-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.format-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.format-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #FFFFFF;
    font-family: var(--font-heading);
    min-width: 80px;
    text-align: center;
}

.format-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.format-desc strong {
    color: #FFFFFF;
}

/* Why CodeX (Value Proposition) Section */
.why-codex-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
    background-color: rgba(14, 18, 26, 0.1);
}

.why-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.why-card {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.why-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .why-card {
        flex-direction: column;
        gap: 20px;
        padding: 30px;
    }
}

.why-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.why-icon-wrap svg {
    width: 26px;
    height: 26px;
    color: #FFFFFF;
}

.bg-pink {
    background: linear-gradient(135deg, var(--color-pink), #B00E75);
    box-shadow: 0 4px 15px rgba(224, 30, 155, 0.25);
}

.bg-purple {
    background: linear-gradient(135deg, var(--color-purple), #3A0FA3);
    box-shadow: 0 4px 15px rgba(78, 22, 201, 0.25);
}

.bg-orange {
    background: linear-gradient(135deg, var(--color-orange), #C76D00);
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.25);
}

.why-card:hover .why-icon-wrap {
    transform: scale(1.08) rotate(3deg);
}

.why-content h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #FFFFFF;
}

.why-content p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* CodeX System Status & Safety Panel Card */
.status-panel-card {
    position: relative;
    background: linear-gradient(135deg, rgba(20, 26, 38, 0.85), rgba(12, 15, 22, 0.9));
    border: 1px solid var(--border-color);
    padding: 36px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.status-panel-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 16px;
}

.pulse-indicator {
    width: 8px;
    height: 8px;
    background-color: #00FF66; /* Vibrant active green */
    border-radius: 50%;
    box-shadow: 0 0 10px #00FF66;
    animation: activePulse 1.8s infinite;
}

@keyframes activePulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 15px #00FF66; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.panel-title {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
}

.status-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 8px;
}

.status-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.status-label {
    color: var(--text-secondary);
}

.status-value {
    color: #FFFFFF;
    font-weight: 600;
}

.status-success {
    color: #00FF66;
    text-shadow: 0 0 10px rgba(0, 255, 102, 0.2);
}

.status-highlight {
    color: var(--color-pink);
    text-shadow: 0 0 10px rgba(224, 30, 155, 0.2);
}

.panel-footer-badge {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 8px;
    border-radius: 8px;
    color: var(--text-secondary);
}

/* Developer Profile Card */
.developer-profile-card {
    position: relative;
    background: linear-gradient(135deg, rgba(20, 26, 38, 0.85), rgba(12, 15, 22, 0.9));
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.developer-profile-card:hover {
    border-color: var(--color-pink);
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(224, 30, 155, 0.15);
}

.profile-img-wrap {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

.developer-profile-card:hover .profile-img-wrap {
    border-color: var(--color-pink);
    transform: scale(1.03);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.profile-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-pink);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.profile-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.profile-btn {
    padding: 8px 20px !important;
    font-size: 0.78rem !important;
}

/* Interactive Interface Showcase Section */
.interface-showcase-section {
    padding: 60px 0 90px;
    position: relative;
    z-index: 1;
}

.showcase-header {
    text-align: center;
    margin-bottom: 50px;
}

.showcase-header h2 {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.8px;
    background: linear-gradient(135deg, #FFFFFF, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.showcase-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.showcase-media-container {
    display: flex;
    justify-content: center;
    perspective: 2000px; /* Enable perspective for high-end 3D tilt */
}

.showcase-mockup-frame {
    width: 100%;
    max-width: 960px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: var(--bg-dark);
    overflow: hidden;
    /* Gentle 3D flat tilt forward facing */
    transform: rotateX(8deg);
    box-shadow: 
        0 30px 70px rgba(0, 0, 0, 0.85),
        0 0 50px rgba(78, 22, 201, 0.15),
        -1px 1px 0px rgba(255, 255, 255, 0.15) inset;
    transition: var(--transition-smooth);
}

.showcase-mockup-frame:hover {
    transform: rotateX(2deg) translateY(-8px);
    border-color: var(--color-pink);
    box-shadow: 
        0 35px 80px rgba(0, 0, 0, 0.9),
        0 0 70px rgba(224, 30, 155, 0.25),
        -1px 1px 0px rgba(255, 255, 255, 0.25) inset;
}

.window-titlebar {
    display: flex;
    align-items: center;
    background-color: #0E121B;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 24px;
    position: relative;
}

.titlebar-dots {
    display: flex;
    gap: 8px;
}

.titlebar-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot-red { background-color: #FF5F56; }
.dot-yellow { background-color: #FFBD2E; }
.dot-green { background-color: #27C93F; }

.window-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.mockup-relative-wrap {
    position: relative;
    width: 100%;
}

.showcase-mockup-img {
    width: 100%;
    display: block;
    height: auto;
}

/* Simulated Video Screen Overlay for Showcase mockup */
.showcase-video-overlay {
    position: absolute;
    top: 6.2%;
    left: 0.1%;
    right: 0.1%;
    bottom: 11.2%;
    overflow: hidden;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000000;
    pointer-events: none;
}

.showcase-video-playing-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.95;
}

/* Sleek Centered Text Badge over Mockup */
.mockup-center-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
    text-align: center;
}

.center-play-text {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 18px;
    border-radius: 6px;
    background-color: rgba(14, 18, 26, 0.65);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
    display: inline-block;
    margin-top: 130px; /* Positions below the 'X' logo */
    animation: textPulse 2s infinite ease-in-out alternate;
}

.showcase-mockup-frame:hover .center-play-text {
    color: #FFFFFF;
    border-color: var(--color-pink);
    box-shadow: 0 0 15px rgba(224, 30, 155, 0.3);
    background-color: rgba(224, 30, 155, 0.1);
}

@keyframes textPulse {
    0% { opacity: 0.7; transform: scale(0.98); }
    100% { opacity: 1; transform: scale(1.02); }
}

/* ==========================================
   Universal Video & Audio Downloader Styles
   ========================================== */
.downloader-container {
    margin: 40px auto 0;
    width: 100%;
    max-width: 720px;
    text-align: left;
    position: relative;
    z-index: 10;
}

.downloader-box {
    background: rgba(20, 26, 38, 0.55);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
}

.downloader-box:hover, .downloader-box:focus-within {
    border-color: rgba(224, 30, 155, 0.45);
    box-shadow: 0 20px 60px rgba(224, 30, 155, 0.12);
}

.downloader-title-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-pink);
    box-shadow: 0 0 8px var(--color-pink);
    display: inline-block;
    animation: pulseDot 1.8s infinite ease-in-out alternate;
}

@keyframes pulseDot {
    0% { transform: scale(0.8); opacity: 0.5; box-shadow: 0 0 4px var(--color-pink); }
    100% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 12px var(--color-pink); }
}

.downloader-title-bar h3 {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.downloader-input-group {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 100%;
}

.input-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.input-wrapper .link-icon {
    position: absolute;
    left: 18px;
    width: 18px;
    height: 18px;
    color: var(--text-secondary);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.downloader-box:focus-within .input-wrapper .link-icon {
    color: var(--color-pink);
}

.downloader-input-group input[type="url"] {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    background: rgba(11, 14, 20, 0.75);
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: var(--transition-smooth);
    outline: none;
}

.downloader-input-group input[type="url"]:focus {
    border-color: var(--color-pink);
    background: rgba(11, 14, 20, 0.95);
    box-shadow: 0 0 15px rgba(224, 30, 155, 0.15);
}

.select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.downloader-input-group select {
    padding: 14px 40px 14px 20px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    background: rgba(11, 14, 20, 0.75);
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: var(--transition-smooth);
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.downloader-input-group select:focus {
    border-color: var(--color-pink);
    box-shadow: 0 0 15px rgba(224, 30, 155, 0.15);
}

.select-wrapper::after {
    content: '▼';
    font-size: 0.65rem;
    color: var(--text-secondary);
    position: absolute;
    right: 18px;
    pointer-events: none;
}

#downloadBtn {
    height: 50px;
    padding: 0 28px;
    font-size: 0.9rem;
    border-radius: 30px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    white-space: nowrap;
}

.downloader-status {
    margin-top: 16px;
    padding: 12px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.downloader-status.hidden {
    display: none;
}

.downloader-status.error {
    background: rgba(255, 95, 86, 0.08);
    border-color: rgba(255, 95, 86, 0.25);
    color: #FF8882;
}

.downloader-status.success {
    background: rgba(39, 201, 63, 0.08);
    border-color: rgba(39, 201, 63, 0.25);
    color: #6BE57E;
}

.status-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    font-weight: 500;
}

.downloader-status.error .spinner, .downloader-status.success .spinner {
    display: none;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--color-pink);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    flex-shrink: 0;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive adjustments for downloader */
@media (max-width: 768px) {
    .downloader-container {
        padding: 0 10px;
    }
    
    .downloader-input-group {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .downloader-input-group select, #downloadBtn {
        width: 100%;
        height: 48px;
    }
    
    .downloader-input-group input[type="url"] {
        padding: 13px 16px 13px 44px;
    }
}

