/* Dev Coffee Brand Theme - Dark Terminal Aesthetic */

:root {
    /* Dev Coffee Green Palette */
    --green-primary: #00ff9d;    /* Neon mint */
    --green-secondary: #10b981;  /* Softer green */
    --green-muted: #4a6a5a;      /* Muted green for subtle text */

    /* Dark backgrounds */
    --bg-primary: #0d1117;       /* Dark charcoal */
    --bg-secondary: #161b22;     /* Slightly lighter */
    --bg-card: rgba(22, 27, 34, 0.8);  /* Dark glass */

    /* Glass effects */
    --glass-bg: rgba(22, 27, 34, 0.8);
    --glass-border: rgba(0, 255, 157, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #8b949e;
    --text-muted: #4a6a5a;

    /* librosa blue (contrast) */
    --blue-500: #3b82f6;

    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
}

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

body {
    font-family: 'SF Mono', 'Fira Code', 'JetBrains Mono', 'Cascadia Code', -apple-system, monospace;
    background: var(--bg-primary);
    background-image:
        linear-gradient(rgba(0, 255, 157, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 157, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

/* Ambient background orbs */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    animation: float 20s ease-in-out infinite;
}

.bg-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 157, 0.1) 0%, transparent 70%);
    top: -200px;
    right: -100px;
}

.bg-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(5deg); }
    50% { transform: translate(-20px, 20px) rotate(-3deg); }
    75% { transform: translate(20px, 10px) rotate(2deg); }
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-10) var(--space-6);
    position: relative;
    z-index: 1;
}

/* Breadcrumb navigation */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
    padding: var(--space-3) 0;
}

.breadcrumb a {
    color: var(--green-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--green-secondary);
    text-shadow: 0 0 8px rgba(0, 255, 157, 0.3);
}

.breadcrumb span {
    color: var(--text-muted);
    user-select: none;
}

/* Header - dark with green accent */
.header {
    text-align: center;
    margin-bottom: var(--space-8);
    padding: var(--space-8);
    background: rgba(22, 27, 34, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 157, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 60px rgba(0, 255, 157, 0.05);
}

.title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: var(--space-3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
}

.emoji {
    font-size: 40px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--green-primary), var(--green-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 255, 157, 0.3);
}

.subtitle {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
}

.tagline {
    font-size: 13px;
    color: var(--text-muted);
}

/* Glassmorphic cards - dark */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow), 0 0 40px rgba(0, 255, 157, 0.03);
    margin-bottom: var(--space-6);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4), 0 0 60px rgba(0, 255, 157, 0.08);
    border-color: rgba(0, 255, 157, 0.3);
}

/* COMPACT HORIZONTAL CONFIG */
.config-card {
    padding: var(--space-5);
}

.config-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-4);
    cursor: pointer;
}

.config-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.collapse-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.collapse-btn.collapsed {
    transform: rotate(180deg);
}

.config-content {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    flex-wrap: wrap;
    transition: all 0.3s ease;
}

.config-content.collapsed {
    display: none;
}

.config-group {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.config-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.divider {
    width: 1px;
    height: 24px;
    background: rgba(0, 255, 157, 0.2);
}

/* Pill toggle buttons (compact!) */
.toggle-group {
    display: flex;
    gap: var(--space-2);
}

.toggle-btn {
    padding: 6px 14px;
    border-radius: 8px;
    border: 1.5px solid rgba(0, 255, 157, 0.2);
    background: rgba(0, 255, 157, 0.05);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.toggle-btn:hover {
    border-color: rgba(0, 255, 157, 0.4);
    background: rgba(0, 255, 157, 0.1);
    color: var(--text-primary);
}

.toggle-btn.active {
    background: var(--green-primary);
    border-color: var(--green-primary);
    color: var(--bg-primary);
    box-shadow: 0 2px 8px rgba(0, 255, 157, 0.3), 0 0 20px rgba(0, 255, 157, 0.2);
}

/* Number input (compact!) */
.number-input {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.number-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1.5px solid rgba(0, 255, 157, 0.2);
    background: rgba(0, 255, 157, 0.05);
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.number-btn:hover {
    background: rgba(0, 255, 157, 0.1);
    border-color: rgba(0, 255, 157, 0.4);
}

.number-input input {
    width: 50px;
    height: 28px;
    border-radius: 6px;
    border: 1.5px solid rgba(0, 255, 157, 0.2);
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    background: rgba(0, 255, 157, 0.05);
    color: var(--text-primary);
}

/* Primary button - terminal style */
.primary-button {
    padding: 10px 24px;
    margin-left: auto;
    background: var(--green-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    box-shadow: 0 4px 12px rgba(0, 255, 157, 0.3), 0 0 30px rgba(0, 255, 157, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 255, 157, 0.4), 0 0 40px rgba(0, 255, 157, 0.3);
}

.primary-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* HERO RESULT SECTION */
.hero-result {
    background: linear-gradient(135deg,
        rgba(0, 255, 157, 0.08) 0%,
        rgba(0, 255, 157, 0.02) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 157, 0.3);
    border-radius: 16px;
    padding: var(--space-8);
    margin-bottom: var(--space-6);
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: scaleIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-result::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 255, 157, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.hero-emoji {
    font-size: 48px;
    animation: gentlePulse 2s ease-in-out infinite;
}

.hero-number {
    font-size: 56px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--green-primary), var(--green-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(0, 255, 157, 0.5);
}

.hero-text {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-secondary);
}

.hero-badge {
    padding: 8px 16px;
    background: var(--green-primary);
    color: var(--bg-primary);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 255, 157, 0.4), 0 0 20px rgba(0, 255, 157, 0.3);
}

/* COMPARISON SECTION */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-6);
    margin-bottom: var(--space-6);
    align-items: stretch;
}

.vs-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 0 var(--space-4);
}

.vs-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(22, 27, 34, 0.8);
    border: 2px solid rgba(0, 255, 157, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.result-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: var(--space-6);
    transition: all 0.3s ease;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    animation-fill-mode: both;
}

.result-card.winner {
    background: linear-gradient(135deg,
        rgba(0, 255, 157, 0.1) 0%,
        rgba(0, 255, 157, 0.03) 100%);
    border: 1.5px solid rgba(0, 255, 157, 0.4);
    box-shadow: 0 0 40px rgba(0, 255, 157, 0.1);
}

.result-card.delay-1 {
    animation-delay: 0.1s;
}

.result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-4);
}

.result-title-group {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.result-icon {
    font-size: 24px;
}

.result-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.result-lang {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.winner-badge {
    padding: 4px 10px;
    background: var(--green-primary);
    color: var(--bg-primary);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.3);
}

.result-time {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    font-variant-numeric: tabular-nums;
}

.result-throughput {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
}

/* Progress bar (shows relative performance) */
.result-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.bar-librosa {
    background: linear-gradient(90deg, var(--blue-500), #2563eb);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
}

.bar-mojo {
    background: linear-gradient(90deg, var(--green-primary), var(--green-secondary));
    box-shadow: 0 0 12px rgba(0, 255, 157, 0.5);
}

/* Stats row */
.stats-row {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
    animation: fadeIn 0.6s ease 0.2s;
    animation-fill-mode: both;
}

.stat-card {
    flex: 1;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: var(--space-4);
    text-align: center;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-1);
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Chart card */
.chart-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: var(--space-6);
    margin-bottom: var(--space-6);
    animation: fadeIn 0.6s ease 0.3s;
    animation-fill-mode: both;
}

.chart-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--text-primary);
}

.chart-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: var(--space-6);
}

.chart-card canvas {
    min-height: 250px !important;
    max-height: 300px;
}

/* Actions */
.actions {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    animation: fadeIn 0.6s ease 0.4s;
    animation-fill-mode: both;
}

.secondary-button {
    padding: 10px 20px;
    background: transparent;
    border: 1.5px solid rgba(0, 255, 157, 0.3);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    color: var(--green-primary);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    transition: all 0.2s ease;
}

.secondary-button:hover {
    background: rgba(0, 255, 157, 0.1);
    border-color: rgba(0, 255, 157, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.15);
}

/* Loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loading-card {
    background: var(--bg-secondary);
    padding: var(--space-10);
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 157, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 60px rgba(0, 255, 157, 0.1);
    text-align: center;
    animation: scaleIn 0.3s ease;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(0, 255, 157, 0.1);
    border-top-color: var(--green-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto var(--space-6);
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.2);
}

.loading-text {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--text-primary);
}

.loading-subtext {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Status bar */
.status-bar {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 32px;
    font-size: 11px;
    color: var(--text-muted);
    font-family: 'SF Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animations */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes gentlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .config-content {
        flex-direction: column;
        align-items: stretch;
    }

    .config-group {
        flex-direction: column;
        align-items: stretch;
    }

    .divider {
        display: none;
    }

    .primary-button {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .vs-divider {
        transform: rotate(90deg);
    }

    .hero-content {
        flex-direction: column;
    }

    .hero-number {
        font-size: 42px;
    }

    .result-time {
        font-size: 36px;
    }

    .stats-row {
        flex-direction: column;
    }

    .status-bar {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
}

/* Utility classes */
.hidden {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

/* ============================================ */
/* Custom Scrollbar - Terminal Theme           */
/* ============================================ */

/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(13, 17, 23, 0.8);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg,
        rgba(0, 255, 157, 0.3),
        rgba(0, 255, 157, 0.2)
    );
    border-radius: 10px;
    border: 2px solid rgba(13, 17, 23, 0.8);
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg,
        rgba(0, 255, 157, 0.5),
        rgba(0, 255, 157, 0.4)
    );
    box-shadow: 0 0 8px rgba(0, 255, 157, 0.3);
}

::-webkit-scrollbar-thumb:active {
    background: var(--green-primary);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 255, 157, 0.3) rgba(13, 17, 23, 0.8);
}

/* Modal scrollbar - slightly more visible */
.modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg,
        rgba(0, 255, 157, 0.4),
        rgba(0, 255, 157, 0.3)
    );
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg,
        rgba(0, 255, 157, 0.6),
        rgba(0, 255, 157, 0.5)
    );
    box-shadow: 0 0 12px rgba(0, 255, 157, 0.4);
}

/* ============================================ */
/* Interactive Status Bar - Demo Mode          */
/* ============================================ */

.mode-status.clickable {
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.mode-status.clickable:hover {
    color: var(--green-primary);
    text-shadow: 0 0 8px rgba(0, 255, 157, 0.3);
}

.mode-status.clickable::after {
    content: '🛈';
    margin-left: 6px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.mode-status.clickable:hover::after {
    opacity: 1;
}

/* ============================================ */
/* Demo Mode Info Modal                        */
/* ============================================ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 255, 157, 0.2);
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(0, 255, 157, 0.1);
    animation: slideInUp 0.4s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-icon {
    font-size: 28px;
}

.modal-title h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 32px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--green-primary);
}

.modal-body {
    padding: 28px;
}

.modal-section {
    margin-bottom: 32px;
}

.modal-section:last-child {
    margin-bottom: 0;
}

.modal-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--green-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.modal-section strong {
    color: var(--text-primary);
}

/* Info Box */
.info-box {
    background: rgba(0, 255, 157, 0.05);
    border: 1px solid rgba(0, 255, 157, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-top: 16px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--text-secondary);
    font-size: 13px;
}

.info-value {
    color: var(--green-primary);
    font-weight: 600;
    font-size: 13px;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-list li {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.feature-list li:hover {
    background: rgba(0, 255, 157, 0.05);
    border-color: rgba(0, 255, 157, 0.2);
}

.feature-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.feature-list strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 4px;
}

.feature-list div {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Hardware Specs - Compact Design */
.hw-compact {
    background: rgba(0, 255, 157, 0.04);
    border: 1px solid rgba(0, 255, 157, 0.15);
    border-radius: 10px;
    padding: 16px 20px;
    margin-top: 12px;
}

.hw-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.hw-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hw-row:hover {
    padding-left: 4px;
}

.hw-icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.hw-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 60px;
    flex-shrink: 0;
}

.hw-value {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
    font-family: 'SF Mono', monospace;
    flex: 1;
}

/* CTA Section */
.modal-cta {
    background: linear-gradient(135deg,
        rgba(0, 255, 157, 0.08),
        rgba(0, 255, 157, 0.03)
    );
    border: 1px solid rgba(0, 255, 157, 0.2);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.modal-cta h3 {
    justify-content: center;
    margin-bottom: 12px;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-button.primary {
    background: var(--green-primary);
    color: #0d1117;
    box-shadow: 0 4px 16px rgba(0, 255, 157, 0.3);
}

.cta-button.primary:hover {
    background: #00ffb3;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 255, 157, 0.4);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--green-primary);
    color: var(--green-primary);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Responsive */
@media (max-width: 768px) {
    .modal-content {
        max-width: 100%;
        margin: 20px;
    }

    .hardware-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }
}
