/* index.html — home / hero section */

.index-hero {
    position: relative;
    isolation: isolate;
    background:
        linear-gradient(145deg, #0f2744 0%, #1e3a8a 22%, #1e40af 42%, #2563eb 58%, #1d4ed8 78%, #172554 100%);
}

.index-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 70% at 12% 8%, rgba(96, 165, 250, 0.35) 0%, transparent 55%),
        radial-gradient(ellipse 70% 55% at 88% 18%, rgba(129, 140, 248, 0.28) 0%, transparent 50%),
        radial-gradient(ellipse 60% 45% at 50% 100%, rgba(59, 130, 246, 0.2) 0%, transparent 48%);
    pointer-events: none;
    z-index: 0;
}

.index-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.06));
    pointer-events: none;
    z-index: 1;
}

html.dark .index-hero {
    background:
        linear-gradient(145deg, #020617 0%, #0f172a 25%, #1e3a8a 50%, #1e40af 72%, #0f172a 100%);
}

html.dark .index-hero::after {
    background: linear-gradient(to bottom, transparent, rgba(15, 23, 42, 0.4));
}

.index-hero-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
    opacity: 0.55;
}

.index-hero-glow--left {
    width: 320px;
    height: 320px;
    left: -80px;
    top: 18%;
    background: rgba(147, 197, 253, 0.45);
}

.index-hero-glow--right {
    width: 280px;
    height: 280px;
    right: -60px;
    top: 8%;
    background: rgba(165, 180, 252, 0.4);
}

.index-hero .container {
    position: relative;
    z-index: 2;
}

.index-hero-badge {
    display: inline-block;
    margin-bottom: 1.25rem;
    padding: 0.4rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 16px rgba(15, 23, 42, 0.15);
}

.index-hero .hero-content h1 {
    text-shadow: 0 2px 24px rgba(15, 23, 42, 0.25);
}

.index-hero .hero-content > p {
    color: rgba(255, 255, 255, 0.88) !important;
    text-shadow: 0 1px 8px rgba(15, 23, 42, 0.2);
}

.index-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.index-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.index-hero-btn:active {
    transform: scale(0.98);
}

.index-hero-btn--primary {
    color: #1e3a8a;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.22);
}

.index-hero-btn--primary:hover {
    background: #f8fafc;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.28);
    color: #1d4ed8;
}

.index-hero-btn--glass {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.index-hero-btn--glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

.index-hero-btn--glass svg {
    flex-shrink: 0;
}

.index-hero-btn--accent {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.index-hero-btn--accent:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.65);
}

.index-hero-btn-icon {
    width: 18px;
    height: 18px;
    opacity: 0.9;
}

.index-hero-visual {
    position: relative;
}

.index-hero-visual img {
    border-radius: 16px 16px 0 0;
    box-shadow:
        0 24px 48px rgba(15, 23, 42, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.12);
}

.index-hero-visual::before {
    content: '';
    position: absolute;
    inset: 12% 8% auto;
    height: 40%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 639px) {
    .index-hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .index-hero-btn {
        width: 100%;
    }
}
