/* --- 5. DEMO SECTION --- */
.demo-section {
    padding: 20px 20px;
    background: var(--void-black);
    position: relative;
    border-top: 1px solid #222;
}

.demo-container {
    max-width: 1000px;
    margin: 0 auto;
}

.demo-header {
    text-align: center;
    margin-bottom: 40px;
}

#demo-title {
    color: #58a8e9;
    font-size: larger;
    padding: 30px 0;
}

#demo-play {
    /* Converts all text to uppercase */
    text-transform: uppercase;  
    /* Makes the text "a bit larger" (default is usually 16px) */
    font-size: 1.2rem;   
    /* Makes the text bold */
    font-weight: bold;  
    /* Optional: improves readability for all-caps text */
    letter-spacing: 1px;
    
    margin-bottom: 20px;
}

.demo-logo {
    height: auto;
    width: 80%;
    margin-bottom: 20px;
}

.demo-logo path {
    fill: #ffffff !important;
    stroke: none !important;
}

.demo-header p { font-size: 1rem; letter-spacing: 1px; }

/* Grid Layout */
.platform-grid {
    display: block;
}

/* The Card */
.platform-card {
    margin: 0 auto;

    max-width: fit-content;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.platform-card:hover {
    background: rgba(82, 164, 155, 0.05);
    border-color: var(--spectral-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #333;
    margin-inline-end: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

/* SVG Base Style */
.platform-svg {
    width: 48px;
    height: 48px;
    fill: var(--text-white);
    transition: all 0.3s ease;
}

/* Hover Effects */
.platform-card:hover .card-icon {
    border-color: var(--spectral-green);
    box-shadow: 0 0 15px rgba(82, 164, 155, 0.2);
}

.platform-card:hover .platform-svg {
    fill: var(--spectral-green); /* Hover: Glowing Green */
    filter: drop-shadow(0 0 5px var(--spectral-green));
    transform: scale(1.1);
}

/* Text Info */
.card-info { 
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1; 
}
.card-info h3 {
    font-family: var(--font-header);
    color: var(--text-white);
    font-size: 1.2rem;
}

.status-badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 2px 8px;
    border-radius: 2px;
}

.status-badge.available { color: var(--text-white); border: 1px solid var(--text-white); background: rgba(59, 77, 75, 0.1); }
.status-badge.coming-soon { color: var(--text-white); border: 1px solid var(--fog-grey); }

/* Arrow Animation */
.card-arrow {
    color: var(--fog-grey);
    transition: all 0.3s;
    padding: 5px;
}
.card-arrow svg { width: 24px; height: 24px; }

.platform-card:hover .card-arrow {
    color: var(--spectral-green);
    transform: translateX(5px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .platform-grid { grid-template-columns: 1fr; }
    
    p #demo-title {
    font-size: medium;
    padding: 10px 0;
}
}