:root {
    --bg-color: #f8fafc;
    --text-color: #1e293b;
    --accent-color: #3b82f6;
    --font-main: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Matrix Background */
#matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
}

.content-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.7;
}

.btn-nav {
    border: 1px solid var(--text-color);
    padding: 8px 16px;
    border-radius: 0;
}

.btn-nav:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

/* Sections */
section {
    padding: 80px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* Hero */
#hero {
    text-align: center;
    padding: 150px 0;
}

h1.glitch {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 10px;
    position: relative;
    display: inline-block;
}

/* Glitch Effect */
.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 #000;
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 #000;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(10px, 9999px, 30px, 0);
    }

    20% {
        clip: rect(80px, 9999px, 100px, 0);
    }

    40% {
        clip: rect(10px, 9999px, 50px, 0);
    }

    60% {
        clip: rect(60px, 9999px, 90px, 0);
    }

    80% {
        clip: rect(20px, 9999px, 60px, 0);
    }

    100% {
        clip: rect(90px, 9999px, 10px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(60px, 9999px, 90px, 0);
    }

    20% {
        clip: rect(10px, 9999px, 50px, 0);
    }

    40% {
        clip: rect(90px, 9999px, 10px, 0);
    }

    60% {
        clip: rect(30px, 9999px, 70px, 0);
    }

    80% {
        clip: rect(70px, 9999px, 20px, 0);
    }

    100% {
        clip: rect(20px, 9999px, 80px, 0);
    }
}

.subtitle {
    font-size: 1.5rem;
    margin-top: 20px;
    letter-spacing: 5px;
}

.description {
    margin-top: 10px;
    opacity: 0.8;
}

/* Cards */
.cards-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--text-color);
    padding: 30px;
    flex: 1;
    transition: transform 0.3s, background 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(0, 0, 0, 0.1);
}

.card h3 {
    margin-bottom: 15px;
    border-bottom: 1px solid black;
    display: inline-block;
}

/* Product */
.product-layout {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.product-info {
    flex: 1;
}

.product-info ul {
    list-style: none;
    margin: 20px 0;
}

.product-info li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.product-info li::before {
    content: "> ";
}

.product-info h3 {
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.product-info p strong {
    font-weight: 700;
}

.product-visual {
    flex: 1;
}

.placeholder-ui {
    border: 2px solid black;
    padding: 20px;
    font-family: monospace;
    background: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.ui-header {
    border-bottom: 1px solid black;
    padding-bottom: 10px;
    margin-bottom: 10px;
    font-weight: bold;
}

.drive-row {
    padding: 5px 0;
}

.status-bar {
    margin-top: 20px;
    background: black;
    color: white;
    padding: 5px;
    text-align: center;
    font-weight: bold;
}

/* Download */
#download {
    text-align: center;
}

.btn-primary {
    margin-top: 30px;
    background: transparent;
    color: black;
    border: 2px solid black;
    padding: 15px 40px;
    font-family: var(--font-main);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-primary:hover {
    background: black;
    color: white;
    box-shadow: 0 0 20px black;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Modal - Single Card Design (Soft Light Aesthetic) */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Soft light pastel gradient overlay */
    background: linear-gradient(135deg, rgba(240, 244, 255, 0.8), rgba(255, 240, 245, 0.8));
    backdrop-filter: blur(12px);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
}

.hidden {
    display: none;
}

.login-card {
    background: #ffffff;
    width: 100%;
    max-width: 400px;
    padding: 48px 40px;
    border-radius: 24px;
    /* Subtle elevation/shadow */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05), 0 10px 20px rgba(0, 0, 0, 0.02);
    text-align: center;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.modal:not(.hidden) .login-card {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: #a1a1aa;
    cursor: pointer;
    transition: color 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-modal:hover {
    background: #f4f4f5;
    color: #18181b;
}

.auth-header {
    margin-bottom: 32px;
}

.logo-small {
    font-size: 0.75rem;
    font-weight: 800;
    color: #818cf8;
    /* Soft indigo */
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.auth-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #27272a;
    letter-spacing: -0.5px;
    margin: 0;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 0.875rem;
    color: #52525b;
    margin-bottom: 8px;
    font-weight: 400;
    /* Regular weight */
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e4e4e7;
    /* Soft border */
    border-radius: 12px;
    font-size: 0.95rem;
    color: #18181b;
    background: #fafafa;
    /* Light background */
    transition: all 0.2s;
    outline: none;
    font-family: var(--font-main);
}

.input-group input:focus {
    background: #ffffff;
    border-color: #818cf8;
    box-shadow: 0 0 0 4px rgba(129, 140, 248, 0.15);
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: #27272a;
    /* Primary dark/soft black */
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    margin-top: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-login:hover {
    background: #18181b;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.forgot-container {
    margin-top: 16px;
    margin-bottom: 24px;
}

.forgot-link {
    font-size: 0.875rem;
    color: #71717a;
    text-decoration: none;
    transition: color 0.2s;
}

.forgot-link:hover {
    color: #18181b;
}

.toggle-container {
    font-size: 0.875rem;
    color: #71717a;
}

.toggle-link {
    color: #27272a;
    font-weight: 600;
    cursor: pointer;
    margin-left: 4px;
    transition: color 0.2s;
}

.toggle-link:hover {
    color: #000;
    text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .login-card {
        padding: 32px 24px;
        width: 90%;
        max-width: 100%;
    }

    .auth-header h2 {
        font-size: 1.5rem;
    }
}

/* Custom Notifications */
#notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification-toast {
    background: white;
    min-width: 300px;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 4px solid #333;
    font-size: 0.9rem;
    color: #333;
}

.notification-toast.show {
    transform: translateX(0);
}

.notification-toast.success {
    border-left-color: #10b981;
}

.notification-toast.error {
    border-left-color: #ef4444;
}

.notification-icon {
    font-size: 1.2rem;
}