:root {
    --bg-color: #0d1117;
    --card-bg: rgba(30, 41, 59, 0.5);
    --accent-color: #7c3aed;
    --accent-glow: rgba(124, 58, 237, 0.4);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Visuals */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-color);
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: #0ea5e9;
    bottom: -50px;
    left: -50px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

/* Hero Section */
.hero {
    text-align: center;
}

h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* Splash Area */
.splash-area {
    width: 100%;
    perspective: 1000px;
}

.splash-placeholder {
    width: 100%;
    height: 400px;
    background: var(--card-bg);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease;
}

.splash-placeholder:hover {
    transform: rotateX(5deg) scale(1.02);
}

.visual-accent {
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
}

#splash-graphic img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 24px;
}

/* Products Section */
.products {
    width: 100%;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(8px);
}

.product-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.product-icon {
    font-size: 2rem;
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.product-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.card-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.product-card:hover .card-link {
    transform: translateX(5px);
}

/* Footer */
.footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.2s;
    font-family: inherit;
}

.nav-link:hover {
    color: var(--accent-color);
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.5;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #161b22;
    margin: 5% auto;
    padding: 2.5rem;
    border: 1px solid var(--glass-border);
    width: 95%;
    max-width: 700px;
    border-radius: 24px;
    position: relative;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    animation: modalIn 0.3s ease-out;
}

@keyframes modalIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-btn {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.modal-body {
    margin-top: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-y: auto;
    padding-right: 1rem;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

.modal-body h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin: 1.5rem 0 0.5rem;
    font-weight: 600;
}

.modal-body p {
    margin-bottom: 1rem;
}

.modal-body ul {
    margin-bottom: 1.5rem;
    padding-left: 1.25rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
}

.modal-body .last-updated {
    font-size: 0.8rem;
    opacity: 0.6;
    margin-bottom: 2rem;
    display: block;
}

/* Responsive */
@media (max-width: 600px) {
    h1 {
        font-size: 2.5rem;
    }

    .container {
        padding: 2rem 1rem;
    }

    .footer-links {
        gap: 1rem;
    }
}