:root {
    font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    min-height: 100vh;
    background: radial-gradient(circle at top, rgba(16, 185, 129, 0.18), transparent 55%),
                radial-gradient(circle at 20% 20%, rgba(14, 165, 233, 0.15), transparent 40%),
                #020617;
}

#orbital-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.08), transparent 45%);
    transition: background 0.2s ease;
}

.nav-link {
    position: relative;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    inset-inline: 0;
    bottom: -0.2rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.9), transparent);
    opacity: 0;
    transform: translateY(0.2rem);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-link:hover::after {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 640px) {
    .nav-link {
        font-size: 0.78rem;
    }
}

.btn-primary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    padding: 0.85rem 1.6rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.btn-primary {
    background: linear-gradient(120deg, #10b981, #0ea5e9);
    color: #020617;
    box-shadow: 0 15px 35px rgba(45, 212, 191, 0.2);
}

.btn-ghost {
    border: 1px solid rgba(148, 163, 184, 0.4);
    color: #e2e8f0;
    background: transparent;
}

.btn-ghost:hover {
    border-color: rgba(56, 189, 248, 0.8);
}

.glass-panel {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2rem;
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.8), rgba(2, 6, 23, 0.95));
    box-shadow: 0 40px 120px rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(20px);
}

.portal-card {
    background: rgba(2, 6, 23, 0.6);
    border-radius: 1.5rem;
}

.portal-card .status-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    box-shadow: 0 0 18px currentColor;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #e0f2fe;
}

.card-link span {
    transition: transform 0.2s ease;
}

.portal-card:hover .card-link span {
    transform: translateX(4px);
}

.section-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.5em;
    color: #67e8f9;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 600;
    color: #f8fafc;
}

.section-text {
    color: #cbd5f5;
    font-size: 1rem;
    line-height: 1.6;
}

.feature-card,
.timeline-card,
.stat-card,
.process-card {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 1.5rem;
    padding: 1.5rem;
    background: rgba(2, 6, 23, 0.55);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover,
.timeline-card:hover,
.stat-card:hover,
.process-card:hover {
    border-color: rgba(34, 197, 94, 0.7);
    transform: translateY(-4px);
}

.feature-label,
.timeline-label {
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: rgba(94, 234, 212, 0.9);
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.18);
    color: #34d399;
    font-size: 0.8rem;
}

.stat-card {
    text-align: left;
}

.tutorial-list {
    list-style: decimal;
    padding-left: 1.5rem;
    color: #cbd5f5;
    line-height: 1.6;
}

.tutorial-list li {
    margin-bottom: 0.75rem;
}

.tutorial-list strong {
    color: #f8fafc;
}

.template-table th,
.template-table td {
    vertical-align: top;
}

.template-tips {
    list-style: disc;
    padding-left: 1.25rem;
    color: #cbd5f5;
    line-height: 1.6;
}

.template-tips li {
    margin-bottom: 0.5rem;
}

.process-card {
    text-align: left;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 600;
    color: #f8fafc;
}

.stat-label {
    font-size: 0.85rem;
    color: #94a3b8;
}

@media (max-width: 640px) {
    .glass-panel {
        border-radius: 1.2rem;
    }
}

.security-warning {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    z-index: 50;
    transition: opacity 0.3s ease;
}

.security-warning.hidden {
    opacity: 0;
    pointer-events: none;
}

.security-warning__card {
    max-width: 320px;
    padding: 1.75rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(248, 250, 252, 0.15);
    background: rgba(15, 23, 42, 0.95);
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.security-warning__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 0.6rem;
}

.security-warning__text {
    font-size: 0.9rem;
    color: #cbd5f5;
    line-height: 1.5;
}

#custom-cursor {
    position: fixed;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(226, 232, 240, 0.75);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    transition: opacity 0.25s ease, transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
    z-index: 60;
    opacity: 0;
}

#custom-cursor.cursor-visible {
    opacity: 1;
}

#custom-cursor.cursor-active {
    transform: translate(-50%, -50%) scale(0.6);
    border-color: rgba(16, 185, 129, 0.9);
    background: rgba(16, 185, 129, 0.15);
}

@media (pointer: fine) {
    body, a, button {
        cursor: none;
    }
}

@media (pointer: coarse) {
    #custom-cursor {
        display: none;
    }
}

