:root {
    --bg-color: #050505;
    --card-bg: rgba(18, 20, 26, 0.85);
    --card-border: rgba(255, 255, 255, 0.08);
    --primary: #4f46e5;
    --primary-light: #6366f1;
    --primary-glow: rgba(79, 70, 229, 0.3);
    --accent-blue: #3b82f6;
    --accent-blue-glow: rgba(59, 130, 246, 0.35);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-subtle: #6b7280;
    --success: #10b981;
    --dot-grid: rgba(255, 255, 255, 0.15);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Background Animations & Soft Wide Center Glow */
.bg-glow {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1100px;
    height: 750px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(99, 102, 241, 0.06) 45%, rgba(0, 0, 0, 0) 80%);
    filter: blur(140px);
    z-index: -2;
    animation: pulse 10s ease-in-out infinite alternate;
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--dot-grid) 1.2px, transparent 1.2px);
    background-size: 24px 24px;
    z-index: -1;
    mask-image: radial-gradient(circle at center, black 50%, transparent 90%);
}

@keyframes pulse {
    0% { transform: translateX(-50%) scale(1); opacity: 0.8; }
    100% { transform: translateX(-50%) scale(1.2); opacity: 1; }
}

/* Main Layout */
.container {
    max-width: 680px;
    width: 90%;
    margin: auto;
    padding: 60px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Status Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: #93c5fd;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.pulsing-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-blue);
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Titles */
.brand-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: #ffffff;
}

.version-tag {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Progress Card (Glassmorphism) */
.progress-card {
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    text-align: left;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.9rem;
    font-weight: 600;
}

.status-label {
    color: var(--text-muted);
}

.status-percent {
    color: var(--accent-blue);
    font-weight: 800;
}

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 24px;
}

.progress-bar-fill {
    width: 78%;
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #6366f1);
    border-radius: 999px;
    box-shadow: 0 0 12px var(--accent-blue-glow);
    animation: grow 1.5s ease-out;
}

@keyframes grow {
    from { width: 0%; }
    to { width: 78%; }
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.feature-item.done span {
    color: var(--text-main);
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--success);
    flex-shrink: 0;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-top-color: var(--accent-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    flex-shrink: 0;
}

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

/* Action Box */
.action-box {
    width: 100%;
}

.action-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.notify-form {
    display: flex;
    gap: 10px;
    width: 100%;
}

.notify-form input {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 14px 18px;
    color: var(--text-main);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.notify-form input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px var(--accent-blue-glow);
}

.notify-form button {
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 14px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.notify-form button:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.send-icon {
    width: 16px;
    height: 16px;
}

.toast {
    margin-top: 16px;
    padding: 12px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
    border-radius: 10px;
    font-size: 0.9rem;
    transition: all 0.4s ease;
}

.toast.hidden {
    display: none;
    opacity: 0;
}

/* Footer */
footer {
    padding: 24px;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    text-align: center;
}

/* Responsive */
@media (max-width: 480px) {
    .brand-title {
        font-size: 2.25rem;
    }
    
    .notify-form {
        flex-direction: column;
    }
    
    .notify-form button {
        justify-content: center;
    }
}
