:root {
    --bg: #030303;
    --card-bg: rgba(15, 15, 20, 0.7);
    --border: rgba(168, 85, 247, 0.2);
    --purple: #a855f7;
    --text-p: #ffffff;
    --text-s: #94a3b8;
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text-p);
    overflow-x: hidden;
    display: flex; justify-content: center;
}

.purple-orb {
    position: fixed; top: -10%; left: 50%; transform: translateX(-50%);
    width: 600px; height: 400px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
    z-index: -1;
}

.container {
    width: 100%; max-width: 1000px;
    padding: 60px 20px;
}

header { text-align: center; margin-bottom: 60px; }
.main-logo { font-size: 2.5rem; font-weight: 800; letter-spacing: -2px; }
.main-logo span { color: var(--purple); }
.tagline { font-size: 0.8rem; font-weight: 700; color: var(--text-s); letter-spacing: 5px; margin-top: 10px; }

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 35px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.card:hover {
    border-color: var(--purple);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px -15px rgba(168, 85, 247, 0.3);
}

.wide { grid-column: span 2; }

.icon { font-size: 2rem; color: var(--purple); margin-bottom: 20px; }
h2 { font-size: 1.5rem; margin-bottom: 10px; }
p { color: var(--text-s); font-size: 0.95rem; line-height: 1.6; }

.tags { display: flex; gap: 8px; margin-top: 25px; }
.tags span {
    font-size: 0.65rem; font-weight: 800; text-transform: uppercase;
    background: rgba(255,255,255,0.05); padding: 5px 12px; border-radius: 8px; color: #aaa;
}

.modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); backdrop-filter: blur(8px);
    display: none; justify-content: center; align-items: center; z-index: 1000;
}

.modal-content {
    background: #111; border: 1px solid var(--border);
    padding: 40px; border-radius: 32px; text-align: center;
    max-width: 400px; width: 90%;
    animation: modalIn 0.3s ease-out;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.modal-icon { font-size: 3rem; color: var(--purple); margin-bottom: 20px; }
.highlight { color: var(--purple); font-weight: 800; }

.modal-btns { display: flex; gap: 15px; margin-top: 30px; }
button {
    flex: 1; padding: 14px; border-radius: 16px; border: none;
    font-weight: 700; cursor: pointer; transition: 0.3s;
}

.btn-cancel { background: #222; color: white; }
.btn-confirm { background: var(--purple); color: white; }
.btn-confirm:hover { background: #9333ea; box-shadow: 0 0 20px var(--purple); }

footer { text-align: center; margin-top: 80px; color: var(--text-s); font-weight: 600; font-size: 0.9rem; }

@media (max-width: 850px) {
    .bento-grid { grid-template-columns: 1fr; }
    .wide { grid-column: span 1; }
    .main-logo { font-size: 2rem; }
    .card { padding: 25px; }
}
