html {
    scroll-behavior: smooth;
}

body {
    background-image: radial-gradient(circle at top, rgba(79, 70, 229, 0.25), transparent 45%),
        radial-gradient(circle at bottom, rgba(14, 116, 144, 0.2), transparent 45%),
        linear-gradient(160deg, rgba(15, 23, 42, 1) 0%, rgba(15, 23, 42, 0.85) 100%);
    background-attachment: fixed;
}

.hero-gradient {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(236, 72, 153, 0.3));
}

.glass-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.15);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(16px);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.45);
    border-color: rgba(129, 140, 248, 0.35);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(100, 116, 139, 0.3);
    font-size: 0.82rem;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.filter-chip.active,
.filter-chip:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.45);
    color: #c7d2fe;
}

.form-input,
.form-select {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(71, 85, 105, 0.6);
    border-radius: 0.75rem;
    padding: 0.8rem 1rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    color: #e2e8f0;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: rgba(129, 140, 248, 0.8);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.9rem;
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    padding: 0.75rem 1.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.95), rgba(59, 130, 246, 0.9));
    color: #fff;
    box-shadow: 0 18px 35px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 40px rgba(59, 130, 246, 0.35);
}

.btn-secondary {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: #e2e8f0;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: rgba(129, 140, 248, 0.6);
    color: #c7d2fe;
}

.stat-card {
    border-radius: 1.25rem;
    border: 1px solid rgba(71, 85, 105, 0.5);
    background: rgba(15, 23, 42, 0.6);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(59, 130, 246, 0.45);
}

.timeline {
    position: relative;
    padding-right: 1.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0.5rem;
    right: 0.45rem;
    width: 2px;
    height: calc(100% - 1rem);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.5), rgba(6, 182, 212, 0.4));
}

.timeline-step {
    position: relative;
    padding-right: 1.75rem;
    margin-bottom: 1.2rem;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-step::before {
    content: attr(data-step);
    position: absolute;
    right: -0.25rem;
    top: 0;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(129, 140, 248, 0.85));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.status-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 999px;
    background: #34d399;
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(52, 211, 153, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
    }
}

#mobile-menu {
    transition: max-height 0.35s ease, opacity 0.3s ease;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
}

#mobile-menu.open {
    max-height: 20rem;
    opacity: 1;
}

.callout {
    border-radius: 1.25rem;
    border: 1px solid rgba(99, 102, 241, 0.35);
    background: rgba(30, 41, 59, 0.6);
    padding: 1.25rem;
}

.callout.warning {
    border-color: rgba(251, 191, 36, 0.45);
    background: rgba(120, 53, 15, 0.35);
}

.callout.success {
    border-color: rgba(52, 211, 153, 0.45);
    background: rgba(6, 95, 70, 0.3);
}

.gradient-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0), rgba(99, 102, 241, 0.4), rgba(15, 23, 42, 0));
    margin: 2rem 0;
}

a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible {
    outline: 2px solid rgba(129, 140, 248, 0.9);
    outline-offset: 2px;
}
