@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseRing {
    0% { transform: scale(0.92); opacity: 0.9; }
    50% { transform: scale(1.15); opacity: 0.35; }
    100% { transform: scale(0.92); opacity: 0.9; }
}

.header-inner {
    max-width: 762px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 14px;
}

.header-inner header {
    margin: 0;
}

.top-nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-pill {
    text-decoration: none;
    color: #999999;
    font-size: 16px;
    padding: 9px 20px;
    border: 2px solid transparent;
    border-radius: 68px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-pill:hover, .nav-pill.active {
    color: #85cf0f;
    border-color: #85cf0f;
    background: #ffffff;
}

.flag-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 2px solid #eeeeee;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.35s ease;
}

.flag-btn:hover {
    border-color: #85cf0f;
    transform: scale(1.06);
}

.flag-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    overflow: hidden;
    display: block;
}

.lang-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
}

.lang-modal-backdrop.open {
    display: flex;
}

.lang-modal {
    background: #ffffff;
    border: 2px solid #eeeeee;
    border-radius: 28px;
    padding: 24px;
    width: 100%;
    max-width: 340px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.lang-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.lang-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #f0f0f0;
    background: #FAFAFA;
    color: #999999;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lang-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lang-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border: 2px solid #f0f0f0;
    border-radius: 68px;
    background: #FAFAFA;
    color: #222222;
    text-decoration: none;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-option:hover, .lang-option.active {
    border-color: #85cf0f;
    background: #f9fdf2;
}

.app-section {
    clear: both;
    padding-top: 8px;
    animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.app-title {
    font-size: 28px;
    font-weight: normal;
    color: #222222;
    letter-spacing: -0.4px;
    margin: 0 0 6px 0;
}

.app-subtitle {
    color: #999999;
    font-size: 15px;
    margin: 0 0 28px 0;
}

.app-card {
    background: #FAFAFA;
    border: 2px solid #f0f0f0;
    border-radius: 28px;
    padding: 28px;
    margin-bottom: 24px;
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-card-hover:hover {
    background: #ffffff;
    border-color: #85cf0f;
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(133, 207, 15, 0.08);
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.app-input {
    width: 100%;
    box-sizing: border-box;
    padding: 16px 24px;
    font-size: 16px;
    font-family: Arial, sans-serif;
    border: 2px solid #eaeaea;
    border-radius: 68px;
    background: #ffffff;
    color: #222222;
    outline: none;
}

.app-input:focus {
    border-color: #85cf0f;
    box-shadow: 0 0 0 5px rgba(133, 207, 15, 0.12);
}

.app-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 16px;
    font-family: Arial, sans-serif;
    color: #222222;
    background: #ffffff;
    border: 2px solid #85cf0f;
    border-radius: 68px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-btn:hover {
    background: #85cf0f;
    color: #ffffff;
    transform: translateY(-2px);
}

.app-btn-solid {
    background: #85cf0f;
    color: #ffffff;
}

.app-badge {
    display: inline-block;
    font-size: 12px;
    color: #85cf0f;
    background: #ffffff;
    border: 1.5px solid #85cf0f;
    border-radius: 68px;
    padding: 4px 13px;
}

.service-option {
    display: block;
    background: #ffffff;
    border: 2px solid #eeeeee;
    border-radius: 24px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.service-option:has(input:checked) {
    border-color: #85cf0f;
    background: #f9fdf2;
}

.loader-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #85cf0f;
    display: inline-block;
    animation: pulseRing 1.4s infinite ease-in-out;
}

.app-alert {
    padding: 15px 22px;
    border-radius: 20px;
    margin-bottom: 20px;
    font-size: 15px;
}

.app-alert-error {
    background: #fff5f5;
    border: 2px solid #fca5a5;
    color: #b91c1c;
}

.app-alert-success {
    background: #f4fce8;
    border: 2px solid #85cf0f;
    color: #3f6212;
}

.app-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.app-table th {
    text-align: left;
    color: #999999;
    font-weight: normal;
    padding: 12px 10px;
    border-bottom: 2px solid #eeeeee;
}

.app-table td {
    padding: 14px 10px;
    border-bottom: 1px solid #eeeeee;
    color: #333333;
}

@media screen and (max-width: 900px) {
    .header-inner {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    .app-section {
        margin: 0 18px;
    }
}