.nav-link {
    position: relative;
    cursor: pointer;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    right: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-brand-main);
    transition: width 0.3s ease;
    margin: 0 auto;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    color: var(--brand-dark);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus-visible {
    border-color: var(--brand-main);
    color: var(--brand-main);
    outline: none;
}

.mobile-menu {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-0.5rem);
    transition: max-height 0.3s ease, opacity 0.2s ease, transform 0.3s ease;
}

.mobile-menu.is-open {
    max-height: 30rem;
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-panel {
    border-top: 1px solid #f3f4f6;
    padding: 0.75rem 0 1rem;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0.25rem;
    color: var(--brand-dark);
    font-weight: 700;
    border-bottom: 1px solid #f3f4f6;
}

.mobile-menu-link:hover,
.mobile-menu-link:focus-visible,
.mobile-menu-link.active {
    color: var(--brand-main);
    outline: none;
}

.mobile-menu-link--primary {
    margin-top: 0.75rem;
    justify-content: center;
    background: var(--brand-main);
    color: #fff;
    border-radius: 0.5rem;
    border-bottom: 0;
}

.mobile-menu-link--primary:hover,
.mobile-menu-link--primary:focus-visible,
.mobile-menu-link--primary.active {
    background: var(--brand-dark);
    color: #fff;
}

.btn-primary {
    background-color: var(--color-brand-main);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-control);
    font-weight: 700;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background-color: var(--color-brand-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-brand);
}

.btn-outline {
    border: 2px solid var(--color-brand-main);
    color: var(--color-brand-main);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-control);
    font-weight: 700;
    transition: all 0.3s;
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--color-brand-main);
    color: #fff;
}

.btn-action {
    background-color: var(--color-brand-blue);
    color: #fff;
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-control);
    font-weight: 700;
    transition: all 0.3s;
    width: 100%;
    display: block;
    text-align: center;
}

.btn-action:hover {
    background-color: #1e3a8a;
    box-shadow: 0 10px 15px -3px rgba(30, 64, 175, 0.3);
}

.card {
    background: #fff;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.partner-logo {
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

.step-circle {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.step-line {
    position: absolute;
    top: 1.5rem;
    bottom: -1.5rem;
    left: 1.5rem;
    width: 2px;
    background-color: #e5e7eb;
    z-index: -1;
}

html[dir="rtl"] .step-line {
    left: auto;
    right: 1.5rem;
}
