:root {
    --bg-color: #0b0f19;
    --card-bg: #151f32;
    --card-hover-bg: #1e293b;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --accent-color: #38bdf8;
    --hover-color: #0ea5e9;
    --border-color: rgba(51, 65, 85, 0.5);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 0;
    box-sizing: border-box;
}

header {
    text-align: center;
    margin-bottom: 3rem;
}

header h1 {
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    margin: 0 0 0.5rem 0;
    color: var(--text-color);
    background: linear-gradient(to right, #ffffff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

header p {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin: 0;
    font-weight: 400;
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
    width: 100%;
    max-width: 1200px;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.75rem;
    text-align: left;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.3);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    transform: translateY(-4px);
    background-color: var(--card-hover-bg);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.5), 0 0 15px -3px rgba(56, 189, 248, 0.1);
}

.card h2 {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-top: 0;
    margin-bottom: 2rem;
    color: #ffffff;
}

.cta-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cta-btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: #0b0f19;
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    transition: background-color 0.2s, transform 0.1s;
    cursor: pointer;
}

.cta-btn:hover {
    background-color: var(--hover-color);
}

.cta-btn:active {
    transform: scale(0.98);
}

.cta-btn.secondary {
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.cta-btn.secondary:hover {
    background-color: rgba(56, 189, 248, 0.08);
    border-color: var(--accent-color);
    color: #ffffff;
}

.info-btn {
    display: inline-block;
    background-color: transparent;
    color: var(--text-muted);
    border: none;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
    margin-top: 0.25rem;
}

.info-btn:hover {
    color: var(--text-color);
    background-color: rgba(148, 163, 184, 0.08);
}

/* --- LIGHTBOX MODAL STYLES --- */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 10, 19, 0.8);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.lightbox-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    background-color: #111827;
    border: 1px solid rgba(71, 85, 105, 0.4);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 540px;
    width: 90%;
    position: relative;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox-overlay.active .lightbox-content {
    transform: scale(1);
}

.close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-size: 1.75rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    background: none;
    border: none;
    line-height: 1;
}

.close-btn:hover {
    color: var(--text-color);
    transform: rotate(90deg);
}

.lightbox-body h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.lightbox-body h3 {
    color: #cbd5e1;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.lightbox-body p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.lightbox-body ol {
    color: #cbd5e1;
    padding-left: 1.25rem;
    margin: 0 0 1.5rem 0;
}

.lightbox-body ol li {
    margin-bottom: 0.6rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.lightbox-body details {
    background-color: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(53, 67, 88, 0.5);
    border-radius: 10px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all 0.2s;
}

.lightbox-body details[open] {
    border-color: rgba(56, 189, 248, 0.3);
    background-color: rgba(15, 23, 42, 0.6);
}

.lightbox-body summary {
    padding: 0.85rem 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #f1f5f9;
    cursor: pointer;
    outline: none;
    user-select: none;
    transition: color 0.2s;
}

.lightbox-body summary:hover {
    color: var(--accent-color);
}

.lightbox-body .details-content {
    padding: 0 1.25rem 1.25rem 1.25rem;
    border-top: 1px solid rgba(53, 67, 88, 0.3);
    padding-top: 1rem;
}

.lightbox-body .device-tag {
    font-size: 0.85rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
} 

#info-data {
    display: none;
}