:root {
    --primary: #243b88;
    --primary-dark: #1d2f6f;
    --accent: #3b55ff;
    --soft: #f5f7fb;
    --text: #1f2937;
    --muted: #6b7280;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: #ffffff;
}

.frontend-navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.06);
}

.nav-link-modern {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-link-modern:hover {
    color: #354beb;
    background: rgba(53, 75, 235, 0.08);
}

.nav-link-modern.active {
    background: var(--primary);
    color: #ffffff;
}

.hero-modern {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        var(--primary-dark),
        var(--primary),
        var(--accent)
    );
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(29, 47, 111, 0.96),
        rgba(36, 59, 136, 0.82),
        rgba(59, 85, 255, 0.45)
    );
}

.section-modern {
    padding: 90px 0;
}

.section-soft {
    background: var(--soft);
}

.section-title {
    font-size: 40px;
    font-weight: 900;
    line-height: 1.2;
    color: #0f172a;
}

.section-subtitle {
    color: var(--muted);
    line-height: 1.8;
}

.card-modern {
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    transition: all 0.3s ease;
}

.card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.14);
}

.btn-primary-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #ffffff;
    padding: 14px 24px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 800;
    transition: all 0.25s ease;
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(59, 85, 255, 0.35);
}

.btn-white-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: var(--primary);
    padding: 14px 24px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 800;
    transition: all 0.25s ease;
}

.btn-white-modern:hover {
    background: #eef2ff;
}

.badge-modern {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.footer-modern {
    background: var(--primary);
    color: #ffffff;
}

.footer-link {
    display: block;
    color: #dbeafe;
    font-size: 14px;
    transition: 0.2s ease;
}

.footer-link:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.input-modern,
.select-modern,
.textarea-modern {
    width: 100%;
    border-radius: 18px;
    border: 1px solid #cbd5e1;
    padding: 12px 16px;
    font-size: 14px;
    outline: none;
    transition: 0.2s ease;
}

.input-modern:focus,
.select-modern:focus,
.textarea-modern:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(36, 59, 136, 0.12);
}

@media (max-width: 768px) {
    .section-modern {
        padding: 60px 0;
    }

    .section-title {
        font-size: 30px;
    }

    .nav-link-modern {
        padding: 10px 12px;
        font-size: 13px;
    }
}
