html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    background-color: #05060a;
    color: #f1f5f9;
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: rgba(59, 130, 246, 0.4);
    color: #ffffff;
}

.gradient-text {
    background: linear-gradient(90deg, #60a5fa 0%, #22d3ee 50%, #60a5fa 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient 6s linear infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.grid-bg {
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.07) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 70%);
}

.glow {
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.15);
}

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color .3s ease, transform .3s ease, background .3s ease;
}

.card:hover {
    border-color: rgba(59, 130, 246, 0.35);
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.05) 0%, rgba(34, 211, 238, 0.03) 100%);
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(90deg, #2563eb 0%, #06b6d4 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.6rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform .2s ease, box-shadow .2s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.35);
}

.btn-secondary {
    background: transparent;
    color: #e2e8f0;
    padding: 0.75rem 1.5rem;
    border-radius: 0.6rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: border-color .2s ease, background .2s ease;
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.03);
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #93c5fd;
}

.section-heading {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.h1:focus,
h1:focus {
    outline: none;
}

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}
